setup hello world from component
This commit is contained in:
+6
-3
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user