Add a console with a reboot command

Couldn't just call the component "console" as that conflicted with the
ESP-IDF component, so opted for "console-wrapper".
This commit is contained in:
2023-05-15 18:32:34 +01:00
parent e4fa25a61e
commit 0634787df3
5 changed files with 96 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
idf_component_register(
SRCS "main.c"
INCLUDE_DIRS "."
REQUIRES display settings
REQUIRES console_wrapper display settings
)

View File

@@ -3,11 +3,13 @@
* Copyright (c) Camden Dixie O'Brien
*/
#include "console.h"
#include "display.h"
#include "settings.h"
void app_main(void)
{
console_init();
settings_init();
display_init();
}