Expand description
Tock kernel for the Micro:bit v2.
It is based on nRF52833 SoC (Cortex M4 core with a BLE).
Modules§
- io
- UART Writer for panic!()s.
Structs§
- Micro
Bit - Supported drivers by the platform
Constants§
- BUTTON_
A 🔒 - BUTTON_
B 🔒 - FAULT_
RESPONSE 🔒 - GPIO_P8 🔒
- GPIO_P9 🔒
- GPIO_
P16 🔒 - I2C_
SCL_ 🔒PIN - I2C_
SDA_ 🔒PIN - I2C pins for all of the sensors.
- LED_
KERNEL_ 🔒PIN - LED_
MATRIX_ 🔒COLS - LED matrix
- LED_
MATRIX_ 🔒ROWS - LED_
MICROPHONE_ 🔒PIN - NUM_
PROCS 🔒 - SPEAKER_
PIN 🔒 - TOUCH_
LOGO 🔒 - UART_
RX_ 🔒PIN - UART_
TX_ 🔒PIN - _GPIO_
P0 🔒 - _GPIO_
P1 🔒 - _GPIO_
P2 🔒
Statics§
- CHIP 🔒
- PROCESSES 🔒
- PROCESS_
PRINTER 🔒 - STACK_
MEMORY - Dummy buffer that causes the linker to reserve enough space for the stack.
Functions§
- main⚠
- Main function called after RAM initialized.
- start 🔒 ⚠
- This is in a separate, inline(never) function so that its stack frame is removed when this function returns. Otherwise, the stack space used for these static_inits is wasted.