@@ -9,8 +9,8 @@ FetchContent_GetProperties(esp32_idf)
9
9
include (binutils.ESP32 )
10
10
11
11
list (APPEND ESP32_IDF_INCLUDE_DIRS ${CMAKE_BINARY_DIR} /config )
12
- list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/${TARGET_SERIES_SHORT} )
13
- list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/${TARGET_SERIES_SHORT}/include )
12
+ # list(APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR}/components/${TARGET_SERIES_SHORT})
13
+ # list(APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR}/components/${TARGET_SERIES_SHORT}/include)
14
14
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/${TARGET_SERIES_SHORT}/esp_rom/include )
15
15
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/${ESP32_CPU_TYPE}/include )
16
16
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/${ESP32_CPU_TYPE}/${TARGET_SERIES_SHORT}/include )
@@ -21,21 +21,25 @@ list(APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR}/components/hal/includ
21
21
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/hal/${TARGET_SERIES_SHORT}/include )
22
22
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/soc/${TARGET_SERIES_SHORT}/include )
23
23
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/soc/${TARGET_SERIES_SHORT}/include/soc )
24
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/soc/${TARGET_SERIES_SHORT}/register )
24
25
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_hw_support/include )
26
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_hw_support/dma/include )
25
27
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_hw_support/include/soc )
26
28
27
- list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/driver/include )
28
- list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/driver/gptimer/include )
29
- list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/driver/uart/include )
30
- list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/driver/gpio/include )
31
- list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/driver/spi/include )
29
+ #list(APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR}/components/driver/include)
30
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_driver_gptimer/include )
31
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_driver_uart/include )
32
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_driver_gpio/include )
33
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_driver_spi/include )
34
+ #list(APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR}/components/esp_driver_i2c/include)
32
35
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/driver/i2c/include )
33
- list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/driver/i2s/include )
34
- list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/driver/dac/include )
35
- list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/driver/ledc/include )
36
- list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/driver/pcnt/include )
37
- #list(APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR}/components/driver/rmt/include)
38
- list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/driver/sdmmc/include )
36
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_driver_i2s/include )
37
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_driver_dac/include )
38
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_driver_ledc/include )
39
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_driver_pcnt/include )
40
+ #list(APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR}/components/esp_driver_rmt/include)
41
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_driver_sdmmc/include )
42
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_driver_sdspi/include )
39
43
40
44
# Use depecated drivers for RMT, I2S etc
41
45
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/driver/deprecated )
@@ -58,6 +62,7 @@ list(APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR}/components/esp_ringbu
58
62
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_timer/include )
59
63
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_system/include )
60
64
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_wifi/include )
65
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_wifi/include/local )
61
66
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_partition/include )
62
67
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_pm/include )
63
68
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/fatfs/diskio )
@@ -86,11 +91,12 @@ list(APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR}/components/sdmmc/incl
86
91
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/soc/include )
87
92
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/vfs/include )
88
93
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/wear_levelling/include )
89
- list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/driver/usb_serial_jtag /include )
94
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_driver_usb_serial_jtag /include )
90
95
91
- list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_rom/include/${TARGET_SERIES_SHORT}/rom )
92
96
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_rom/include )
93
97
list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_rom/${TARGET_SERIES_SHORT} )
98
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_rom/${TARGET_SERIES_SHORT}/include )
99
+ list (APPEND ESP32_IDF_INCLUDE_DIRS ${esp32_idf_SOURCE_DIR} /components/esp_rom/${TARGET_SERIES_SHORT}/include/${TARGET_SERIES_SHORT}/rom )
94
100
95
101
# includes specific to ESP32S2 and ESP32S3
96
102
if (${TARGET_SERIES_SHORT} STREQUAL "esp32s2" OR ${TARGET_SERIES_SHORT} STREQUAL "esp32s3" )
0 commit comments