Expand description
Tock kernel for the MakePython nRF52840.
It is based on nRF52840 SoC.
Modules§
- io
- UART Writer for panic!()s.
Structs§
- Platform
- Supported drivers by the platform
Constants§
- BUTTON_
PIN 🔒 - BUTTON_
RST_ 🔒PIN - DEFAULT_
CTX_ 🔒PREFIX - DEFAULT_
CTX_ 🔒PREFIX_ LEN - DST_
MAC_ 🔒ADDR - Gateway (or next hop) MAC Address
- FAULT_
RESPONSE 🔒 - GPIO_D0 🔒
- GPIO_D1 🔒
- GPIO_D2 🔒
- GPIO_D3 🔒
- I2C_
SCL_ 🔒PIN - I2C_
SDA_ 🔒PIN - I2C pins for all of the sensors.
- LED_PIN 🔒
- NUM_
PROCS 🔒 - PAN_ID 🔒
- Personal Area Network ID for the IEEE 802.15.4 radio
- _UART_
RX_ 🔒PIN - _UART_
TX_ 🔒PIN
Statics§
- CDC_
REF_ 🔒FOR_ PANIC - CHIP 🔒
- NRF52_
POWER 🔒 - PROCESSES 🔒
- PROCESS_
PRINTER 🔒 - STACK_
MEMORY - Dummy buffer that causes the linker to reserve enough space for the stack.
Functions§
- baud_
rate_ 🔒reset_ bootloader_ enter - crc 🔒
- 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.