Skip to content

Commit db8bee3

Browse files
committed
Updating ARM compiler to oldest available version 5.3
1 parent d4afde9 commit db8bee3

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.circleci/config.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ commands:
2424
run_tests:
2525
steps:
2626
- run:
27-
name: Install GCC ARM compiler
27+
name: Install GCC ARM Embedded
28+
working_directory: /opt
2829
command: |
29-
add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
30-
apt-get -y update
31-
apt-get -y install gcc-arm-none-eabi=4.9.3.2015q3-1trusty1
30+
wget -O gcc_arm_embedded.tar.bz2 "https://developer.arm.com/-/media/Files/downloads/gnu-rm/5_3-2016q1/gccarmnoneeabi532016q120160330linuxtar.bz2?revision=417e2623-c259-4a12-aacc-c87200b569c7?product=GNU%20Arm%20Embedded%20Toolchain,32-bit,,Linux,5-2016-q1-update"
31+
tar -jxf gcc_arm_embedded.tar.bz2
32+
echo 'export PATH="/opt/gcc-arm-none-eabi-5_3-2016q1/bin:$PATH"' >> $BASH_ENV
3233
- run:
3334
name: Configure Git and Mercurial
3435
command: |
@@ -55,7 +56,7 @@ commands:
5556
- run:
5657
name: Create a new project
5758
working_directory: integration_tests
58-
command: mbed new-test
59+
command: mbed new new-test
5960
- run:
6061
name: Test project inspection
6162
working_directory: integration_tests/new-test
@@ -66,6 +67,8 @@ commands:
6667
name: Build through "compile" and "test"
6768
working_directory: integration_tests/new-test
6869
command: |
70+
echo $PATH
71+
ls -l /opt/gcc-arm-none-eabi-5_3-2016q1/bin
6972
mbed compile --source=. --source=mbed-os/TESTS/integration/basic -j 0
7073
mbed test --compile -n mbed-os-tests-integration-basic -j 0
7174
- run:

0 commit comments

Comments
 (0)