Mbed Cloud example program for workshop in W27 2018.

Dependencies:   MMA7660 LM75B

Committer:
MACRUM
Date:
Sat Jun 30 01:40:30 2018 +0000
Revision:
0:119624335925
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MACRUM 0:119624335925 1 script:
MACRUM 0:119624335925 2 # Check that examples compile
MACRUM 0:119624335925 3 - sed -n '/``` cpp/,${/```$/q;/```/d;p}' README.md > main.cpp &&
MACRUM 0:119624335925 4 PYTHONPATH=mbed-os python mbed-os/tools/make.py -t GCC_ARM -m K64F
MACRUM 0:119624335925 5 --source=. --build=BUILD/K64F/GCC_ARM -j0 &&
MACRUM 0:119624335925 6 rm main.cpp
MACRUM 0:119624335925 7
MACRUM 0:119624335925 8 # Check that tests compile
MACRUM 0:119624335925 9 - rm -rf BUILD && PYTHONPATH=mbed-os python mbed-os/tools/test.py
MACRUM 0:119624335925 10 -t GCC_ARM -m K64F --source=. --build=BUILD/TESTS/K64F/GCC_ARM -j0
MACRUM 0:119624335925 11 -n tests*
MACRUM 0:119624335925 12
MACRUM 0:119624335925 13 python:
MACRUM 0:119624335925 14 - "2.7"
MACRUM 0:119624335925 15
MACRUM 0:119624335925 16 install:
MACRUM 0:119624335925 17 # Get arm-none-eabi-gcc
MACRUM 0:119624335925 18 - sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
MACRUM 0:119624335925 19 - sudo apt-get update -qq
MACRUM 0:119624335925 20 - sudo apt-get install -qq gcc-arm-none-eabi --force-yes
MACRUM 0:119624335925 21 # Get dependencies
MACRUM 0:119624335925 22 - git clone https://github.com/armmbed/mbed-os.git
MACRUM 0:119624335925 23 # Install python dependencies
MACRUM 0:119624335925 24 - pip install --user -r mbed-os/requirements.txt