Skip to content

Commit 8da5d14

Browse files
author
Qinghao Shi
committed
update test with new configurations
1 parent 5758d9f commit 8da5d14

File tree

3 files changed

+25
-10
lines changed

3 files changed

+25
-10
lines changed

.circleci/config.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,20 @@ jobs:
77
build:
88
docker:
99
- image: circleci/python:3.6.1
10-
working_directory: ~/work
10+
working_directory: ~/repo
1111
steps:
1212
- checkout:
13-
path: sinppet/TESTS
14-
- run: mv sinppet/TESTS/mbed-os.lib .
13+
path: work/sinppet/TESTS
14+
- run: mv work/sinppet/TESTS/mbed-os.lib work/
1515
- run: wget -q https://developer.arm.com/-/media/Files/downloads/gnu-rm/6_1-2017q1/gcc-arm-none-eabi-6-2017-q1-update-linux.tar.bz2
1616
- run: tar -xjf gcc-arm-none-eabi-6-2017-q1-update-linux.tar.bz2
17-
- run: echo 'export PATH=~/work/gcc-arm-none-eabi-6-2017-q1-update/bin:$PATH' >> $BASH_ENV
17+
- run: echo 'export PATH=~/repo/gcc-arm-none-eabi-6-2017-q1-update/bin:$PATH' >> $BASH_ENV
1818
- run: sudo pip install mbed-cli
19-
- run: git clone https://github.com/ARMmbed/mbed-os.git
20-
- run: sudo pip install -r mbed-os/requirements.txt
21-
- run: ls -al
22-
- run: mbed config root .
23-
- run: mbed update
24-
- run: mbed test --compile-list -m K64F -t GCC_ARM
19+
- run: git clone https://github.com/ARMmbed/mbed-os.git work/mbed-os
20+
- run: sudo pip install -r work/mbed-os/requirements.txt
21+
- run: |
22+
cd work
23+
mbed config root .
24+
mbed update
25+
mbed test --compile -m K64F -t GCC_ARM -n sinppet-* --app-config=sinppet/TESTS/test.json -v
2526

.mbedignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.circleci
2+
.git

test.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"target_overrides": {
3+
"K64F":{
4+
"target.components_add" : ["SPIF"],
5+
"spif-driver.SPI_MOSI" : "D11",
6+
"spif-driver.SPI_MISO" : "D12",
7+
"spif-driver.SPI_CLK" : "D13",
8+
"spif-driver.SPI_CS" : "D10"
9+
10+
}
11+
}
12+
}

0 commit comments

Comments
 (0)