Expand description
Tock kernel for the SMA Q3 smartwatch.
It is based on nRF52840 SoC (Cortex M4 core with a BLE transceiver) with SWD as I/O and many peripherals.
Reverse-engineered documentation available at: https://hackaday.io/project/175577-hackable-nrf52840-smart-watch
Modules§
- io
- UART Writer
Structs§
- Platform
- Supported drivers by the platform
Constants§
- BUTTON_
PIN 🔒 - DEFAULT_
EXT_ 🔒SRC_ MAC - FAULT_
RESPONSE 🔒 - I2C_
TEMP_ 🔒SCL_ PIN - I2C_
TEMP_ 🔒SDA_ PIN - I2C pins for the temp/pressure sensor
- LED1_
PIN 🔒 - NUM_
PROCS 🔒 - PAN_ID 🔒
- SRC_MAC 🔒
- VIBR
A1_ 🔒PIN
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.