starting MCU development

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-06-15 17:25:53 +02:00
parent 9806d4c9ae
commit 1c7942384b
7 changed files with 21 additions and 23 deletions

View File

@@ -1,7 +1,6 @@
idf_component_register(SRCS
"main.c"
"setup.c"
"button_handling.c"
"main.cpp"
"app_task.cpp"
INCLUDE_DIRS "."
REQUIRES
insa

7
main/app_task.cpp Normal file
View File

@@ -0,0 +1,7 @@
#include "app_task.h"
#include "ui/SplashScreen.h"
void app_task(void *args)
{
///
}

3
main/app_task.h Normal file
View File

@@ -0,0 +1,3 @@
#pragma once
void app_task(void *args);

View File

@@ -1,14 +1,5 @@
#include "freertos/idf_additions.h"
#include "setup.h"
void app_task(void *param)
{
setup();
while (1)
{
loop();
}
}
#include "app_task.h"
#include "freertos/FreeRTOS.h"
#ifdef __cplusplus
extern "C"