starting MCU development
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
14
main/main.cpp
Normal file
14
main/main.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "app_task.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
void app_main(void)
|
||||
{
|
||||
xTaskCreatePinnedToCore(app_task, "main_loop", 4096, NULL, 5, NULL, tskIDLE_PRIORITY + 1);
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user