-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: update esp32ulp-elf to v2.35_20220830
Closes #6432 Closes espressif/binutils-esp32ulp#23
- Loading branch information
Showing
11 changed files
with
62 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
# CMake toolchain file for ULP | ||
|
||
set(CMAKE_SYSTEM_NAME Generic) | ||
|
||
# Compiler is only used for preprocessing | ||
set(CMAKE_C_COMPILER "xtensa-esp32-elf-gcc") | ||
set(CMAKE_CXX_COMPILER "xtensa-esp32-elf-g++") | ||
|
||
set(CMAKE_ASM_COMPILER "esp32ulp-elf-as") | ||
set(CMAKE_LINKER "esp32ulp-elf-ld") | ||
|
||
if(NOT ASM_DIALECT) | ||
set(ASM_DIALECT "") | ||
endif() | ||
|
||
set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "${CMAKE_ASM${ASM_DIALECT}_COMPILER} \ | ||
<DEFINES> <INCLUDES> -o <OBJECT> -c <SOURCE>") | ||
--mcpu=esp32 <DEFINES> <INCLUDES> -o <OBJECT> -c <SOURCE>") | ||
set(CMAKE_EXE_LINKER_FLAGS "-A elf32-esp32ulp -nostdlib" CACHE STRING "ULP Linker Base Flags") | ||
set(CMAKE_ASM_LINK_EXECUTABLE "${CMAKE_LINKER} <FLAGS> <CMAKE_ASM_LINK_FLAGS> \ | ||
<LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# CMake toolchain file for ULP | ||
|
||
set(CMAKE_SYSTEM_NAME Generic) | ||
|
||
# Compiler is only used for preprocessing | ||
set(CMAKE_C_COMPILER "xtensa-esp32s2-elf-gcc") | ||
set(CMAKE_CXX_COMPILER "xtensa-esp32s2-elf-g++") | ||
|
||
set(CMAKE_ASM_COMPILER "esp32s2ulp-elf-as") | ||
set(CMAKE_LINKER "esp32s2ulp-elf-ld") | ||
set(CMAKE_ASM_COMPILER "esp32ulp-elf-as") | ||
set(CMAKE_LINKER "esp32ulp-elf-ld") | ||
|
||
set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "${CMAKE_ASM${ASM_DIALECT}_COMPILER} \ | ||
<DEFINES> <INCLUDES> -o <OBJECT> -c <SOURCE>") | ||
--mcpu=esp32s2 <DEFINES> <INCLUDES> -o <OBJECT> -c <SOURCE>") | ||
set(CMAKE_EXE_LINKER_FLAGS "-A elf32-esp32s2ulp -nostdlib" CACHE STRING "ULP Linker Base Flags") | ||
set(CMAKE_ASM_LINK_EXECUTABLE "${CMAKE_LINKER} <FLAGS> <CMAKE_ASM_LINK_FLAGS> \ | ||
<LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# CMake toolchain file for ULP | ||
|
||
set(CMAKE_SYSTEM_NAME Generic) | ||
|
||
# Compiler is only used for preprocessing | ||
#TODO: Update toolchain to be used once esp32s3 support is added to binutils | ||
set(CMAKE_C_COMPILER "xtensa-esp32s2-elf-gcc") | ||
set(CMAKE_C_COMPILER "xtensa-esp32s3-elf-gcc") | ||
set(CMAKE_CXX_COMPILER "xtensa-esp32s3-elf-g++") | ||
|
||
set(CMAKE_ASM_COMPILER "esp32s2ulp-elf-as") | ||
set(CMAKE_LINKER "esp32s2ulp-elf-ld") | ||
set(CMAKE_ASM_COMPILER "esp32ulp-elf-as") | ||
set(CMAKE_LINKER "esp32ulp-elf-ld") | ||
|
||
# Use ESP32-S2 ULP tools here, because ESP32-S3 uses the same ULP coprocessor type | ||
set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "${CMAKE_ASM${ASM_DIALECT}_COMPILER} \ | ||
<DEFINES> <INCLUDES> -o <OBJECT> -c <SOURCE>") | ||
--mcpu=esp32s2 <DEFINES> <INCLUDES> -o <OBJECT> -c <SOURCE>") | ||
set(CMAKE_EXE_LINKER_FLAGS "-A elf32-esp32s2ulp -nostdlib" CACHE STRING "ULP Linker Base Flags") | ||
set(CMAKE_ASM_LINK_EXECUTABLE "${CMAKE_LINKER} <FLAGS> <CMAKE_ASM_LINK_FLAGS> \ | ||
<LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>") |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,11 +35,6 @@ | |
.. tool-esp32ulp-elf-notes | ||
|
||
|
||
--- | ||
|
||
.. tool-esp32s2ulp-elf-notes | ||
|
||
|
||
--- | ||
|
||
.. tool-openocd-esp32-notes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,11 +37,6 @@ | |
.. tool-esp32ulp-elf-notes | ||
|
||
|
||
--- | ||
|
||
.. tool-esp32s2ulp-elf-notes | ||
|
||
|
||
--- | ||
|
||
.. tool-openocd-esp32-notes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.