stdatomic: support gcc built-in functions for esp32s2beta

This commit is contained in:
Michael (XIAO Xufeng)
2019-08-18 14:37:35 +08:00
committed by Angus Gratton
parent 55859f59cb
commit 053f419ced

View File

@@ -6,9 +6,12 @@ else()
set(srcs "debug_helpers.c" set(srcs "debug_helpers.c"
"debug_helpers_asm.S" "debug_helpers_asm.S"
"eri.c" "eri.c"
"stdatomic.c") )
if(CONFIG_IDF_TARGET_ESP32) if(IDF_TARGET STREQUAL "esp32s2beta")
list(APPEND srcs "stdatomic.c")
endif()
if(IDF_TARGET STREQUAL "esp32")
list(APPEND srcs "trax.c") list(APPEND srcs "trax.c")
endif() endif()
endif() endif()