Glenn Ruben Bakke
0d7976deb2
nrf/boards/microbit: Update docs on top level tick low pri callback.
2018-07-18 17:12:25 +10:00
Glenn Ruben Bakke
1128aacb69
nrf/boards/microbit: Add temperature back to microbit module.
...
Increases size by 68 bytes. Should be considered to be removed as temp
module is already providing this functionality.
2018-07-18 17:12:25 +10:00
Glenn Ruben Bakke
b6d01a7dd1
nrf/boards/microbit/modules: Fix tabbing in modmicrobit.c.
2018-07-18 17:12:25 +10:00
Glenn Ruben Bakke
789f8f1c4b
nrf/boards/microbit: Update to work with new ticker code.
...
- Rename microbit_module_init to board_module_init0 which is the generic
board module init function.
- Add low priority callback registration of display tick handler in the
module init function.
2018-07-18 17:12:25 +10:00
Glenn Ruben Bakke
d76982e382
nrf/boards/microbit: Include modmicrobit.h in board_modules.h.
...
So that users of the board module can find the init function of the module
implicitly.
2018-07-18 17:12:25 +10:00
Glenn Ruben Bakke
0b504575e2
nrf/boards/microbit: Add modmicrobit.h to expose module init function.
2018-07-18 17:12:25 +10:00
Glenn Ruben Bakke
1b241be310
nrf/boards/microbit: Attempt to get working display/images without FP.
...
And update the API to align with new unary/binary function callback
structures.
2018-07-18 17:12:25 +10:00
Glenn Ruben Bakke
9e090a8783
nrf/boards/microbit: Add framework updates to build micro:bit modules.
...
Makefile and mpconfigport.h update is generic, and could be used by other
boards to give extra modules which are only for a selected board.
2018-07-18 17:12:25 +10:00
Glenn Ruben Bakke
fbc45bd3f3
nrf/boards/microbit: Update board modules from C++ to C-code.
...
This aligns implementation with new style structures.
2018-07-18 17:12:25 +10:00
Glenn Ruben Bakke
f3386cfc50
nrf/boards/microbit: Rename display/image files from .cpp to .c ext.
...
Also rename modmicrobit.h to microbitconstimage.h.
2018-07-18 17:12:25 +10:00
Glenn Ruben Bakke
98ad4107ef
nrf/boards/microbit: Add copy of microbit font type from microbit-dal.
...
Source: https://github.com/lancaster-university/microbit-dal.git
2018-07-18 17:12:25 +10:00
Glenn Ruben Bakke
7a2e136049
nrf/boards/microbit: Add copy of microbit display and image files.
...
From micro:bit port repository, https://github.com/bbcmicrobit/micropython
2018-07-18 17:12:25 +10:00