Create fatal component to handle fatal errors

This commit is contained in:
2023-05-14 21:13:35 +01:00
parent cc020d12bf
commit ae1d470b4b
5 changed files with 51 additions and 1 deletions

View File

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

View File

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