mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
support for esp32s2beta
This commit is contained in:
committed by
Angus Gratton
parent
43135dc348
commit
55859f59cb
@@ -1,4 +1,4 @@
|
||||
set(srcs
|
||||
set(srcs
|
||||
"src/bootloader_clock.c"
|
||||
"src/bootloader_common.c"
|
||||
"src/bootloader_flash.c"
|
||||
@@ -10,7 +10,7 @@ set(srcs
|
||||
"src/bootloader_flash_config_${IDF_TARGET}.c"
|
||||
)
|
||||
|
||||
if(CONFIG_IDF_TARGET_ESP32)
|
||||
if(IDF_TARGET STREQUAL "esp32")
|
||||
# Not supported on ESP32S2Beta yet
|
||||
list(APPEND srcs "src/flash_encrypt.c")
|
||||
endif()
|
||||
|
@@ -20,7 +20,7 @@ list(APPEND srcs
|
||||
)
|
||||
|
||||
# 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"
|
||||
"src/hal/spi_flash_hal_iram.c"
|
||||
)
|
||||
|
Reference in New Issue
Block a user