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 cleanandyotta 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.
Using local version of DAL in Touch Develop
make sure Touch Develop is in TouchDevelop directory parallel to
microbit-touchdevelop (for example, checkouts in /c/microbit-touchdevelop
and /c/TouchDevelop
in TouchDevelop build as usual and run jake local; then head to
http://localhost:4242/editor/local/mbit.html?lite=www.microbit.co.uk
in microbit-touchdevelop do the yotta dance with GCC as described above
in microbit-touchdevelop run either make run or ./run.sh
head to
http://localhost:4242/editor/local/mbit.html?lite=www.microbit.co.ukµbit=local
Instructions.
Building with ARMCC
Install KEIL v4, do the license dance, figure things out, add to your path, etc.
Building with GCC
Patch
module.jsonso thatmicrobit-dalpoints to#experimentalinstead of#master.Notes
Yotta doesn’t clean up properly when: switching targets, switching branches in module.json. Always do
yotta cleanjust to make sure. If you modifiedmodule.json, doyotta cleanandyotta update. Also, blast awayyotta_modulesandyotta_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.
Using local version of DAL in Touch Develop
TouchDevelopdirectory parallel tomicrobit-touchdevelop(for example, checkouts in/c/microbit-touchdevelopand/c/TouchDevelopTouchDevelopbuild as usual and runjake local; then head tohttp://localhost:4242/editor/local/mbit.html?lite=www.microbit.co.ukmicrobit-touchdevelopdo the yotta dance with GCC as described abovemicrobit-touchdeveloprun eithermake runor./run.shhttp://localhost:4242/editor/local/mbit.html?lite=www.microbit.co.ukµbit=local