File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-char-subscripts -Wno-maybe-uninitialized" )
2+
3+ file (GLOB_RECURSE SOURCES *.c )
4+ idf_component_register (
5+ SRCS ${SOURCES}
6+ INCLUDE_DIRS
7+ "pikascript-api"
8+ "pikascript-core"
9+ "pikascript-lib/PikaStdLib"
10+ "pikascript-lib/PikaStdDevice"
11+ "pikascript-lib/ESP32"
12+ "pikascript-lib/pika_libc"
13+ "../../main"
14+ WHOLE_ARCHIVE
15+ REQUIRES
16+ driver
17+ fatfs
18+ esp_wifi
19+ nvs_flash
20+ app_update
21+ esp_http_client
22+ esp_https_ota
23+ )
Original file line number Diff line number Diff line change 1+ # Embed the server root certificate into the final binary
2+ idf_build_get_property (project_dir PROJECT_DIR )
3+ idf_component_register (SRCS "main.c"
4+ INCLUDE_DIRS "." )
5+ # add macro
6+ idf_build_set_property (
7+ COMPILE_DEFINITIONS "-DPIKA_CONFIG_ENABLE" APPEND )
You can’t perform that action at this time.
0 commit comments