- Install Yotta http://docs.yottabuild.org/#installing
- Install srecord; add it to your path
Install KEIL v4, do the license dance, figure things out, add to your path, etc.
yotta target bbc-microbit-classic-armcc
yotta login
yotta update
yotta build
Patch module.json so that microbit-dal points to #experimental instead of
#master.
yotta target bbc-microbit-classic-gcc
yotta login
yotta update
yotta build
Yotta doesn't clean up properly when: switching targets, switching branches in
module.json. Always do yotta clean just to make sure. If you modified
module.json, do yotta clean and yotta update. Also, blast away
yotta_modules and yotta_target. Just to make sure.
The cloud compile service seems unhappy if the project doesn't compile (even though main.cpp is meant to be always replaced). So make sure that the projects compiles from a fresh checkout before pushing.
- make sure Touch Develop is in
TouchDevelopdirectory parallel tomicrobit-touchdevelop(for example, checkouts in/c/microbit-touchdevelopand/c/TouchDevelop - in
TouchDevelopbuild as usual and runjake local; then head tohttp://localhost:4242/editor/local/mbit.html?lite=www.microbit.co.uk - in
microbit-touchdevelopdo the yotta dance with GCC as described above - in
microbit-touchdeveloprun eithermake runor./run.sh - head to
http://localhost:4242/editor/local/mbit.html?lite=www.microbit.co.ukµbit=local