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:
Angus Gratton
2019-11-21 09:08:41 +08:00
149 changed files with 94 additions and 16603 deletions
+1 -3
View File
@@ -541,9 +541,7 @@ idf_component_register(SRCS "${srcs}"
REQUIRES nvs_flash soc)
if(CONFIG_BT_ENABLED)
if(GCC_NOT_5_2_0)
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-implicit-fallthrough -Wno-unused-const-variable)
endif()
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-implicit-fallthrough -Wno-unused-const-variable)
target_link_libraries(${COMPONENT_LIB} INTERFACE "-L${CMAKE_CURRENT_LIST_DIR}/controller/lib")
target_link_libraries(${COMPONENT_LIB} PUBLIC btdm_app)
-4
View File
@@ -17,10 +17,8 @@ COMPONENT_ADD_LINKER_DEPS := $(patsubst %,$(COMPONENT_PATH)/controller/lib/lib%.
COMPONENT_SUBMODULES += controller/lib
ifeq ($(GCC_NOT_5_2_0), 1)
# TODO: annotate fallthroughs in Bluedroid code with comments
CFLAGS += -Wno-implicit-fallthrough
endif
ifdef CONFIG_BT_BLUEDROID_ENABLED
@@ -119,12 +117,10 @@ COMPONENT_SRCDIRS += host/bluedroid/bta/dm \
host/bluedroid
ifeq ($(GCC_NOT_5_2_0), 1)
host/bluedroid/bta/sdp/bta_sdp_act.o: CFLAGS += -Wno-unused-const-variable
host/bluedroid/btc/core/btc_config.o: CFLAGS += -Wno-unused-const-variable
host/bluedroid/stack/btm/btm_sec.o: CFLAGS += -Wno-unused-const-variable
host/bluedroid/stack/smp/smp_keys.o: CFLAGS += -Wno-unused-const-variable
endif
COMPONENT_PRIV_INCLUDEDIRS += common/btc/include \
common/include