examples, components: remove C/C++ standard overrides

...where they are not necessary after switching to C17 and C++20.
This commit is contained in:
Ivan Grokhotkov
2022-06-03 12:50:15 +02:00
parent 0a1e83c599
commit a2ca5d03c5
6 changed files with 0 additions and 16 deletions
-3
View File
@@ -127,6 +127,3 @@ else()
REQUIRES esp_pm esp_ringbuf freertos soc hal esp_hw_support
LDFRAGMENTS linker.lf)
endif()
# uses C11 atomic feature
set_source_files_properties(spi_master.c PROPERTIES COMPILE_FLAGS -std=gnu11)
-3
View File
@@ -53,6 +53,3 @@ idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS ${include}
REQUIRES "esp_event" # For using "ESP_EVENT_DECLARE_BASE" in header file
PRIV_REQUIRES ${priv_requires})
# uses C11 atomic feature
set_source_files_properties(src/esp_eth.c PROPERTIES COMPILE_FLAGS -std=gnu11)
-5
View File
@@ -25,8 +25,3 @@ idf_component_register(SRCS ${srcs}
REQUIRES ${requires}
PRIV_REQUIRES ${priv_requires}
LDFRAGMENTS linker.lf)
if(CONFIG_ESP_EVENT_LOOP_PROFILING)
# uses C11 atomic feature
set_source_files_properties(esp_event.c PROPERTIES COMPILE_FLAGS -std=gnu11)
endif()