Glenn Ruben Bakke
62931398d7
nrf/boards/microbit/modules: Initialize variable in microbit_sleep.
...
When compiling for microbit with LTO=0, a compiler error occurs due to
'ms' variable in the microbit_sleep function has not been initialized.
This patch initialize the variable to 0.
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
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
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