starting MCU development
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -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
7
main/app_task.cpp
Normal 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
3
main/app_task.h
Normal file
@@ -0,0 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
void app_task(void *args);
|
@@ -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"
|
Reference in New Issue
Block a user