Create system_utils component
Somewhat of a 'misc' component; handles early initialization, checking for first boot and rebooting.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
idf_component_register(
|
||||
SRCS "main.c"
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES buttons console_wrapper display settings sound time wifi
|
||||
REQUIRES
|
||||
buttons console_wrapper display settings sound system_utils time wifi
|
||||
)
|
||||
|
||||
@@ -9,11 +9,14 @@
|
||||
#include "display.h"
|
||||
#include "settings.h"
|
||||
#include "sound.h"
|
||||
#include "system_utils.h"
|
||||
#include "time_manager.h"
|
||||
#include "wifi.h"
|
||||
|
||||
void app_main(void)
|
||||
{
|
||||
early_init();
|
||||
|
||||
console_init();
|
||||
settings_init();
|
||||
wifi_init();
|
||||
|
||||
Reference in New Issue
Block a user