setup hello world from component

This commit is contained in:
2026-03-21 20:38:15 -05:00
parent 12f3fc9f05
commit 4bf5fef40b
5 changed files with 13 additions and 8 deletions
+6 -3
View File
@@ -1,3 +1,6 @@
idf_component_register(SRCS "main.cpp"
PRIV_REQUIRES spi_flash
INCLUDE_DIRS "")
idf_component_register(
SRCS "main.cpp"
PRIV_REQUIRES
spi_flash
blk_box_lib
INCLUDE_DIRS "")
+2 -1
View File
@@ -12,10 +12,11 @@
#include "esp_chip_info.h"
#include "esp_flash.h"
#include "esp_system.h"
#include "blk_box.h"
extern "C" void app_main(void)
{
printf("Hello world!\n");
printf(get_hello_world());
/* Print chip information */
esp_chip_info_t chip_info;