Skip to content

Commit 4879bac

Browse files
Lapshinespressif-bot
authored andcommitted
feat(ulp): use --mcpu=esp32s3 for esp32s3
1 parent 68464aa commit 4879bac

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/ulp/cmake/toolchain-esp32s3-ulp.cmake

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ set(CMAKE_CXX_COMPILER "xtensa-esp32s3-elf-g++")
88
set(CMAKE_ASM_COMPILER "esp32ulp-elf-as")
99
set(CMAKE_LINKER "esp32ulp-elf-ld")
1010

11-
# Use ESP32-S2 ULP tools here, because ESP32-S3 uses the same ULP coprocessor type
1211
set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "${CMAKE_ASM${ASM_DIALECT}_COMPILER} \
13-
--mcpu=esp32s2 <DEFINES> <INCLUDES> -o <OBJECT> -c <SOURCE>")
14-
set(CMAKE_EXE_LINKER_FLAGS "-A elf32-esp32s2ulp -nostdlib" CACHE STRING "ULP Linker Base Flags")
12+
--mcpu=esp32s3 <DEFINES> <INCLUDES> -o <OBJECT> -c <SOURCE>")
13+
set(CMAKE_EXE_LINKER_FLAGS "-A elf32-esp32s3ulp -nostdlib" CACHE STRING "ULP Linker Base Flags")
1514
set(CMAKE_ASM_LINK_EXECUTABLE "${CMAKE_LINKER} <FLAGS> <CMAKE_ASM_LINK_FLAGS> \
1615
<LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>")

0 commit comments

Comments
 (0)