Crate particle_boron

Source
Expand description

Tock kernel for the Particle Boron.

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 ๐Ÿ”’
DEFAULT_EXT_SRC_MAC ๐Ÿ”’
FAULT_RESPONSE ๐Ÿ”’
I2C_SCL_PIN ๐Ÿ”’
I2C_SDA_PIN ๐Ÿ”’
LED2_B_PIN ๐Ÿ”’
LED2_G_PIN ๐Ÿ”’
LED2_R_PIN ๐Ÿ”’
LED_USR_PIN ๐Ÿ”’
NUM_PROCS ๐Ÿ”’
PAN_ID ๐Ÿ”’
SRC_MAC ๐Ÿ”’
UART_RXD ๐Ÿ”’
UART_TXD ๐Ÿ”’
_SPI_CLK ๐Ÿ”’
_SPI_MISO ๐Ÿ”’
_SPI_MOSI ๐Ÿ”’
_UART_CTS ๐Ÿ”’
_UART_RTS ๐Ÿ”’

Staticsยง

CHIP ๐Ÿ”’
NRF52_POWER ๐Ÿ”’
PROCESSES ๐Ÿ”’
PROCESS_PRINTER ๐Ÿ”’
STACK_MEMORY
Dummy buffer that causes the linker to reserve enough space for the stack.

Functionsยง

create_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.
start_particle_boronโš 
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.

Type Aliasesยง

Ieee802154Driver ๐Ÿ”’
RngDriver ๐Ÿ”’
TemperatureDriver ๐Ÿ”’