Skip to content

Commit 9a0844a

Browse files
Yossi LevyYossi Levy
authored andcommitted
Add 'components/storage/blockdevice/COMPONENT_DATAFLASH/' from commit 'baabb520973d3e8aa8c4c1dc0af12ed1585200cd'
git-subtree-dir: components/storage/blockdevice/COMPONENT_DATAFLASH git-subtree-mainline: 5294ef7 git-subtree-split: baabb52
2 parents 5294ef7 + baabb52 commit 9a0844a

File tree

7 files changed

+1375
-0
lines changed

7 files changed

+1375
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
script:
2+
# Check that examples compile
3+
- sed -n '/``` cpp/,${/```$/q;/```/d;p}' README.md > main.cpp &&
4+
PYTHONPATH=mbed-os python mbed-os/tools/make.py -t GCC_ARM -m K82F
5+
--source=. --build=BUILD/K82F/GCC_ARM -j0 &&
6+
rm main.cpp
7+
- sed -n '/@code/,${/@endcode/q;/@/d;s/^ \*//;p}' DataFlashBlockDevice.h > main.cpp &&
8+
PYTHONPATH=mbed-os python mbed-os/tools/make.py -t GCC_ARM -m K82F
9+
--source=. --build=BUILD/K82F/GCC_ARM -j0 &&
10+
rm main.cpp
11+
12+
# Check that tests compile
13+
- rm -r BUILD && PYTHONPATH=mbed-os python mbed-os/tools/test.py
14+
-t GCC_ARM -m K82F --source=. --build=BUILD/TESTS/K82F/GCC_ARM -j0
15+
-n tests*
16+
17+
python:
18+
- "2.7"
19+
20+
install:
21+
# Get arm-none-eabi-gcc
22+
- sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
23+
- sudo apt-get update -qq
24+
- sudo apt-get install -qq gcc-arm-none-eabi --force-yes
25+
# Get dependencies
26+
- git clone https://github.com/armmbed/mbed-os.git
27+
# Install python dependencies
28+
- sudo pip install -r mbed-os/requirements.txt

0 commit comments

Comments
 (0)