mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-19 23:45:28 +02:00
Merge branch 'feature/remove_gcc5_support' into 'master'
global: remove gcc 5.2 support Closes IDF-1131 See merge request espressif/esp-idf!6608
This commit is contained in:
@@ -40,7 +40,5 @@ idf_component_register(SRCS "${srcs}"
|
||||
PRIV_INCLUDE_DIRS "include/driver"
|
||||
REQUIRES esp_ringbuf soc) #cannot totally hide soc headers, since there are a lot arguments in the driver are chip-dependent
|
||||
|
||||
if(GCC_NOT_5_2_0)
|
||||
# uses C11 atomic feature
|
||||
set_source_files_properties(spi_master.c PROPERTIES COMPILE_FLAGS -std=gnu11)
|
||||
endif()
|
||||
# uses C11 atomic feature
|
||||
set_source_files_properties(spi_master.c PROPERTIES COMPILE_FLAGS -std=gnu11)
|
||||
|
||||
@@ -7,7 +7,5 @@ COMPONENT_ADD_INCLUDEDIRS := include $(IDF_TARGET)/include
|
||||
|
||||
COMPONENT_PRIV_INCLUDEDIRS := include/driver
|
||||
|
||||
ifeq ($(GCC_NOT_5_2_0), 1)
|
||||
# uses C11 atomic feature
|
||||
spi_master.o: CFLAGS += -std=gnu11
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user