Crate nrf52840_dongle[][src]

Expand description

Tock kernel for the Nordic Semiconductor nRF52840 dongle.

It is based on nRF52840 SoC (Cortex M4 core with a BLE transceiver) with many exported I/O and peripherals.

Modules

io

UART Writer

Structs

Platform

Supported drivers by the platform

Constants

BUTTON_PIN
BUTTON_RST_PIN
FAULT_RESPONSE
LED1_PIN
LED2_B_PIN
LED2_G_PIN
LED2_R_PIN
NUM_PROCS
NUM_UPCALLS_IPC
PAN_ID
SRC_MAC
UART_CTS
UART_RTS
UART_RXD
UART_TXD
_SPI_CLK
_SPI_MISO
_SPI_MOSI

Statics

CHIP
PROCESSES
STACK_MEMORY

Dummy buffer that causes the linker to reserve enough space for the stack.

Functions

get_peripherals

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.

main

Main function called after RAM initialized.