mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
feat(soc): esp32s31 enable zc* extension
This commit is contained in:
@@ -567,6 +567,10 @@ config SOC_SIMD_PREFERRED_DATA_ALIGNMENT
|
||||
int
|
||||
default 16
|
||||
|
||||
config SOC_CPU_HAS_ZC_EXTENSIONS
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_DMA_CAN_ACCESS_FLASH
|
||||
bool
|
||||
default y
|
||||
|
||||
@@ -193,6 +193,8 @@
|
||||
|
||||
#define SOC_SIMD_PREFERRED_DATA_ALIGNMENT 16 // The preferred data alignment accepted by the SIMD instructions, in bytes
|
||||
|
||||
#define SOC_CPU_HAS_ZC_EXTENSIONS 1
|
||||
|
||||
/*-------------------------- DMA Common CAPS ----------------------------------------*/
|
||||
#define SOC_DMA_CAN_ACCESS_FLASH 1 /*!< DMA can access Flash memory */
|
||||
|
||||
|
||||
@@ -55,9 +55,11 @@ if(CONFIG_IDF_TOOLCHAIN_GCC)
|
||||
if(CONFIG_SOC_CPU_ZCMP_PUSH_REVERSED)
|
||||
idf_toolchain_add_flags(COMPILE_OPTIONS "-mno-cm-push-reverse")
|
||||
endif()
|
||||
if(CONFIG_SOC_CPU_ZCMP_POPRET_ISSUE)
|
||||
# TODO GCC-493: uncomment when the issue is resolved
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126454
|
||||
# if(CONFIG_SOC_CPU_ZCMP_POPRET_ISSUE)
|
||||
idf_toolchain_add_flags(COMPILE_OPTIONS "-mno-cm-popret")
|
||||
endif()
|
||||
# endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user