toolchain: Add ESP32S2 config and overlay
Add all necessary changes to allow ESP32S2 toolchain integration. Overlay URL: https://github.com/espressif/xtensa-overlays/tree/master/xtensa_esp32s2 commit: ac00ec5abf21102578d9afde22ffffd46929feaf Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
parent
c01cd4c3bd
commit
62be23e006
|
@ -13,7 +13,7 @@ The toolchains for the following target architectures are supported:
|
|||
- RISC-V (32-bit and 64-bit; RV32I, RV32E, RV64I)
|
||||
- x86 (32-bit and 64-bit)
|
||||
- Xtensa (sample_controller, intel_apl_adsp, intel_bdw_adsp, intel_byt_adsp,
|
||||
intel_s1000, nxp_imx_adsp, nxp_imx8m_adsp, espressif_esp32)
|
||||
intel_s1000, nxp_imx_adsp, nxp_imx8m_adsp, espressif_esp32, espressif_esp32s2)
|
||||
|
||||
The following host tools are available as part of the Zephyr SDK:
|
||||
|
||||
|
|
|
@ -0,0 +1,63 @@
|
|||
CT_CONFIG_VERSION="3"
|
||||
CT_EXPERIMENTAL=y
|
||||
# CT_PREFIX_DIR_RO is not set
|
||||
# CT_LOG_PROGRESS_BAR is not set
|
||||
CT_TARGET_CFLAGS="-mlongcalls"
|
||||
CT_ARCH_XTENSA=y
|
||||
CT_XTENSA_CUSTOM=y
|
||||
CT_OVERLAY_NAME="espressif_esp32s2"
|
||||
CT_OVERLAY_LOCATION="./overlays"
|
||||
CT_TARGET_VENDOR="espressif_esp32s2_zephyr"
|
||||
CT_BINUTILS_SRC_CUSTOM=y
|
||||
CT_BINUTILS_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/binutils"
|
||||
CT_NEWLIB_SRC_CUSTOM=y
|
||||
CT_NEWLIB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib"
|
||||
CT_LIBC_NEWLIB_TARGET_CFLAGS="-O2"
|
||||
# CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE is not set
|
||||
CT_LIBC_NEWLIB_IO_C99FMT=y
|
||||
CT_LIBC_NEWLIB_IO_LL=y
|
||||
CT_LIBC_NEWLIB_IO_FLOAT=y
|
||||
# CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION is not set
|
||||
CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
|
||||
CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y
|
||||
CT_LIBC_NEWLIB_LITE_EXIT=y
|
||||
CT_LIBC_NEWLIB_MULTITHREAD=y
|
||||
CT_LIBC_NEWLIB_RETARGETABLE_LOCKING=y
|
||||
# CT_LIBC_NEWLIB_WIDE_ORIENT is not set
|
||||
# CT_LIBC_NEWLIB_NANO_MALLOC is not set
|
||||
# CT_LIBC_NEWLIB_NANO_FORMATTED_IO is not set
|
||||
CT_LIBC_NEWLIB_EXTRA_SECTIONS=y
|
||||
CT_GCC_SRC_CUSTOM=y
|
||||
CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc"
|
||||
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array"
|
||||
CT_CC_LANG_CXX=y
|
||||
CT_DEBUG_GDB=y
|
||||
CT_GDB_SRC_CUSTOM=y
|
||||
CT_GDB_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gdb"
|
||||
CT_COMP_LIBS_NEWLIB_NANO=y
|
||||
CT_NEWLIB_NANO_SRC_CUSTOM=y
|
||||
CT_NEWLIB_NANO_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/newlib"
|
||||
CT_NEWLIB_NANO_GCC_LIBSTDCXX=y
|
||||
CT_NEWLIB_NANO_INSTALL_IN_TARGET=y
|
||||
# CT_LIBC_NEWLIB_NANO_IO_C99FMT is not set
|
||||
# CT_LIBC_NEWLIB_NANO_IO_LL is not set
|
||||
CT_LIBC_NEWLIB_NANO_IO_FLOAT=y
|
||||
# CT_LIBC_NEWLIB_NANO_IO_LDBL is not set
|
||||
# CT_LIBC_NEWLIB_NANO_IO_POS_ARGS is not set
|
||||
CT_LIBC_NEWLIB_NANO_FVWRITE_IN_STREAMIO=y
|
||||
# CT_LIBC_NEWLIB_NANO_UNBUF_STREAM_OPT is not set
|
||||
# CT_LIBC_NEWLIB_NANO_FSEEK_OPTIMIZATION is not set
|
||||
CT_LIBC_NEWLIB_NANO_DISABLE_SUPPLIED_SYSCALLS=y
|
||||
# CT_LIBC_NEWLIB_NANO_REGISTER_FINI is not set
|
||||
CT_LIBC_NEWLIB_NANO_ATEXIT_DYNAMIC_ALLOC=y
|
||||
CT_LIBC_NEWLIB_NANO_GLOBAL_ATEXIT=y
|
||||
CT_LIBC_NEWLIB_NANO_LITE_EXIT=y
|
||||
CT_LIBC_NEWLIB_NANO_REENT_SMALL=y
|
||||
CT_LIBC_NEWLIB_NANO_MULTITHREAD=y
|
||||
CT_LIBC_NEWLIB_NANO_RETARGETABLE_LOCKING=y
|
||||
CT_LIBC_NEWLIB_NANO_EXTRA_SECTIONS=y
|
||||
# CT_LIBC_NEWLIB_NANO_WIDE_ORIENT is not set
|
||||
CT_LIBC_NEWLIB_NANO_ENABLE_TARGET_OPTSPACE=y
|
||||
# CT_LIBC_NEWLIB_NANO_LTO is not set
|
||||
CT_LIBC_NEWLIB_NANO_NANO_MALLOC=y
|
||||
CT_LIBC_NEWLIB_NANO_NANO_FORMATTED_IO=y
|
Binary file not shown.
Loading…
Reference in New Issue