starting with led-manager as esp32 and native component

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-06-21 23:55:58 +02:00
parent 5805d9ea14
commit 0b65ac198f
11 changed files with 190 additions and 9 deletions

View File

@@ -1,5 +1,7 @@
#include "app_task.h"
#include "esp_event.h"
#include "freertos/FreeRTOS.h"
#include "led_manager.h"
#include "sdkconfig.h"
#ifdef __cplusplus
@@ -9,6 +11,9 @@ extern "C"
void app_main(void)
{
xTaskCreatePinnedToCore(app_task, "main_loop", 4096, NULL, tskIDLE_PRIORITY + 1, NULL, portNUM_PROCESSORS - 1);
wled_init();
register_handler();
}
#ifdef __cplusplus
}