Merge branch 'feature/add_esp32s3_rom_symbol' into 'master'

add esp32s3 preview target and rom symbol & header

Closes IDFGH-3474

See merge request espressif/esp-idf!9127
This commit is contained in:
Ivan Grokhotkov
2020-06-16 06:38:43 +08:00
38 changed files with 7896 additions and 775 deletions

View File

@@ -7,6 +7,8 @@ function(__add_dfu_targets)
return()
elseif("${target}" STREQUAL "esp32s2")
set(dfu_pid "2")
elseif("${target}" STREQUAL "esp32s3")
set(dfu_pid "4")
else()
message(FATAL_ERROR "DFU PID unknown for ${target}")
endif()

View File

@@ -0,0 +1,8 @@
set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_C_COMPILER xtensa-esp32s3-elf-gcc)
set(CMAKE_CXX_COMPILER xtensa-esp32s3-elf-g++)
set(CMAKE_ASM_COMPILER xtensa-esp32s3-elf-gcc)
set(CMAKE_C_FLAGS "-mlongcalls" CACHE STRING "C Compiler Base Flags")
set(CMAKE_CXX_FLAGS "-mlongcalls" CACHE STRING "C++ Compiler Base Flags")