Commit graph

9 commits

Author SHA1 Message Date
Joe Finney
c5889e4c72 microbit: BUGFIX Wake accelerometer on listen for GESTURE events
Previously, the accelerometer was only lazily initialised when it was
acccessed directly or an event handler was registered for
MICROBIT_ID_ACCELEROMETER. This patch also wakes the accelerometer on event
handlers registering for MICROBIT_ID_GESTURE.
2016-04-08 16:10:46 +01:00
James Devine
0dcd81b24b microbit: added MIT license information. 2016-04-06 16:47:41 +01:00
James Devine
213961fd43 microbit-samples: updates to doxygen style comments for MicroBit[.h,.cpp] 2016-04-05 17:59:57 +01:00
Joe Finney
81a3f9c984 microbit: Automatic defining of SERIAL_DEBUG symbol
Added support for automatic creation and assignment of the SERIAL_DEBUG symbol
when MICORBIT_DBG is enabled in MicroBitConfig.h

Also reordered the MicroBit constructor to bring up the serial object before
all other objects, to enable debugging of all code.
2016-03-26 17:11:35 +00:00
Joe Finney
7a0c5bfdd3 microbit: Updated parameter type in scheduler_init() to match API. 2016-03-24 23:32:04 +00:00
Joe Finney
b12ff223d1 microbit: Refactored MicroBit C/C++ personality into this repo 2016-03-24 14:38:04 +00:00
Joe Finney
51729e3bc9 microbit: Update to lancaster-university repo.
- Updates to modules.json to point to new lancaster-university repo
- Cleanup of .gitignore
- Modified main.cpp to latest DAL API.
2015-08-12 15:59:18 +01:00
James Devine
57c3ccc8ab microbit: Hello Yotta!
This is a version of the SB2 repo, entirely comprised
of yotta modules.

This repo also includes a microbit-compatible microbit
target (see yotta_targets).
2015-07-31 18:18:49 +01:00
James Devine
c5c2cfb221 microbit: A sample program using yotta
This commit adds the bbc-microbit-armcc target, and
also includes the microbit dal, showing how the microbit
can be compiled using yotta.
2015-07-31 17:57:43 +01:00