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:
@@ -1,5 +1,5 @@
|
||||
idf_component_register(
|
||||
SRCS "main.c"
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES display settings
|
||||
REQUIRES console_wrapper display settings
|
||||
)
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user