update to gcc 8.3.1
This commit is contained in:
parent
b137bbe80c
commit
4affef7e5a
|
@ -14,9 +14,9 @@
|
|||
##############################
|
||||
|
||||
# Set up ARM (STM32) SDK
|
||||
ARM_SDK_DIR ?= $(TOOLS_DIR)/gcc-arm-none-eabi-7-2018-q2-update
|
||||
ARM_SDK_DIR ?= $(TOOLS_DIR)/gcc-arm-none-eabi-8-2019-q3-update
|
||||
# Checked below, Should match the output of $(shell arm-none-eabi-gcc -dumpversion)
|
||||
GCC_REQUIRED_VERSION ?= 7.3.1
|
||||
GCC_REQUIRED_VERSION ?= 8.3.1
|
||||
|
||||
.PHONY: arm_sdk_version
|
||||
|
||||
|
@ -26,7 +26,7 @@ arm_sdk_version:
|
|||
## arm_sdk_install : Install Arm SDK
|
||||
.PHONY: arm_sdk_install
|
||||
|
||||
ARM_SDK_URL_BASE := https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update
|
||||
ARM_SDK_URL_BASE := https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2019q3/RC1.1/gcc-arm-none-eabi-8-2019-q3-update
|
||||
|
||||
# source: https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads
|
||||
ifdef LINUX
|
||||
|
|
|
@ -137,7 +137,7 @@ static inline uint8_t __basepriSetRetVal(uint8_t prio)
|
|||
// On gcc 5 and higher, this protects only memory passed as parameter (any type can be used)
|
||||
// this macro can be used only ONCE PER LINE, but multiple uses per block are fine
|
||||
|
||||
#if (__GNUC__ > 7)
|
||||
#if (__GNUC__ > 8)
|
||||
# warning "Please verify that ATOMIC_BARRIER works as intended"
|
||||
// increment version number if BARRIER works
|
||||
// TODO - use flag to disable ATOMIC_BARRIER and use full barrier instead
|
||||
|
|
Loading…
Reference in New Issue