Skip to content

Commit

Permalink
upgrade toolchain to '2020-q2-update' (#282)
Browse files Browse the repository at this point in the history
* upgrade toolchain to '2020-q2-update'
* remove `-update`, fiam/arm-none-eabi-gcc#2 (comment) ; v1.0.2
Co-authored-by: nerdCopter <[email protected]>
  • Loading branch information
gretel authored Jun 14, 2020
1 parent 2b28adc commit fd4184c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
uses: actions/setup-python@v1

- name: Setup Toolchain
uses: fiam/arm-none-eabi-gcc@v1
uses: fiam/arm-none-eabi-gcc@v1.0.2
with:
release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
release: '9-2020-q2' # The arm-none-eabi-gcc release to use.

- name: Get code version
id: get_version
Expand Down
11 changes: 6 additions & 5 deletions make/tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ arm_sdk_version:
## arm_sdk_install : Install Arm SDK
.NOTPARALLEL .PHONY: arm_sdk_install

ARM_SDK_URL_BASE := https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major
# source: https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads
ARM_SDK_URL_BASE := https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update

# Set up ARM (STM32) SDK
ARM_SDK_DIR ?= $(TOOLS_DIR)/gcc-arm-none-eabi-9-2020-q2-update

# source: https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads
ifdef LINUX
Expand All @@ -33,14 +37,11 @@ endif

ARM_SDK_FILE := $(notdir $(ARM_SDK_URL))

# Set up ARM (STM32) SDK
ARM_SDK_DIR ?= $(TOOLS_DIR)/gcc-arm-none-eabi-9-2019-q4-major

# add toolchain binaries to PATH
export PATH := $(ARM_SDK_DIR)/bin:$(PATH)

# Checked below, Should match the output of $(shell arm-none-eabi-gcc -dumpversion)
GCC_REQUIRED_VERSION ?= 9.2.1
GCC_REQUIRED_VERSION ?= 9.3.1

SDK_INSTALL_MARKER := $(ARM_SDK_DIR)/bin/arm-none-eabi-gcc-$(GCC_REQUIRED_VERSION)

Expand Down

0 comments on commit fd4184c

Please sign in to comment.