mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 20:24:32 +02:00
stdatomic: support gcc built-in functions for esp32s2beta
This commit is contained in:
committed by
Angus Gratton
parent
55859f59cb
commit
053f419ced
@@ -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()
|
||||||
|
Reference in New Issue
Block a user