File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ set (CORE_SRCS
2
+ cores/esp32/main.cpp
3
+ cores/esp32/Print.cpp
4
+ cores/esp32/stdlib_noniso.c
5
+ cores/esp32/Stream.cpp
6
+ cores/esp32/StreamString.cpp
7
+ cores/esp32/WString.cpp
8
+ )
9
+
10
+ set (LIBRARY_SRCS
11
+ )
12
+
13
+ set (BLE_SRCS
14
+ )
15
+
16
+ set (includedirs
17
+ variants/${CONFIG_ARDUINO_VARIANT} /
18
+ cores/esp32/
19
+ )
20
+
21
+ set (srcs ${CORE_SRCS} ${LIBRARY_SRCS} ${BLE_SRCS} )
22
+ //--//set(priv_includes cores/esp32/libb64)
23
+ //--//set(requires spi_flash mbedtls mdns esp_adc_cal wifi_provisioning nghttp wpa_supplicant)
24
+ //--//set(priv_requires fatfs nvs_flash app_update spiffs bootloader_support openssl bt esp_ipc esp_hid)
25
+
26
+ idf_component_register(INCLUDE_DIRS ${includedirs} PRIV_INCLUDE_DIRS ${priv_includes} SRCS ${srcs} REQUIRES ${requires} PRIV_REQUIRES ${priv_requires} )
27
+
28
+ if (NOT CONFIG_FREERTOS_HZ EQUAL 1000 AND NOT "$ENV{ARDUINO_SKIP_TICK_CHECK} " )
29
+ # See delay() in cores/esp32/esp32-hal-misc.c.
30
+ message (FATAL_ERROR "esp32-arduino requires CONFIG_FREERTOS_HZ=1000 "
31
+ "(currently ${CONFIG_FREERTOS_HZ} )" )
32
+ endif ()
You can’t perform that action at this time.
0 commit comments