mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
support for esp32s2beta
This commit is contained in:
committed by
Angus Gratton
parent
43135dc348
commit
55859f59cb
@@ -10,7 +10,7 @@ set(srcs
|
|||||||
"src/bootloader_flash_config_${IDF_TARGET}.c"
|
"src/bootloader_flash_config_${IDF_TARGET}.c"
|
||||||
)
|
)
|
||||||
|
|
||||||
if(CONFIG_IDF_TARGET_ESP32)
|
if(IDF_TARGET STREQUAL "esp32")
|
||||||
# Not supported on ESP32S2Beta yet
|
# Not supported on ESP32S2Beta yet
|
||||||
list(APPEND srcs "src/flash_encrypt.c")
|
list(APPEND srcs "src/flash_encrypt.c")
|
||||||
endif()
|
endif()
|
||||||
|
@@ -20,7 +20,7 @@ list(APPEND srcs
|
|||||||
)
|
)
|
||||||
|
|
||||||
# TODO: SPI Flash HAL for ESP32S2Beta also
|
# TODO: SPI Flash HAL for ESP32S2Beta also
|
||||||
if(CONFIG_IDF_TARGET_ESP32)
|
if(IDF_TARGET STREQUAL "esp32")
|
||||||
list(APPEND srcs "src/hal/spi_flash_hal.c"
|
list(APPEND srcs "src/hal/spi_flash_hal.c"
|
||||||
"src/hal/spi_flash_hal_iram.c"
|
"src/hal/spi_flash_hal_iram.c"
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user