Add config component with hostname setting

This commit is contained in:
2023-05-14 21:33:03 +01:00
parent ae1d470b4b
commit 10c77203ab
5 changed files with 221 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
idf_component_register(
SRCS "main.c"
INCLUDE_DIRS "."
REQUIRES fatal
REQUIRES config
)

View File

@@ -3,9 +3,9 @@
* Copyright (c) Camden Dixie O'Brien
*/
#include "fatal.h"
#include "config.h"
void app_main(void)
{
FATAL();
config_init();
}