PebbleOS
Loading...
Searching...
No Matches
Macros
Processor IDs

IDs of the processors of a multi-processor device. More...

Macros

#define CORE_ID_MAIN_MCU   0
 Main MCU, running PebbleOS.
 
#define CORE_ID_BLE   1
 Bluetooth controller.
 

Detailed Description

IDs of the processors of a multi-processor device.

They tell apart the source of hashed log messages (the 2-bit core field of a packed log hash) and of core dumps (the core number of the core dump image header). IDs must be unique within a platform and fit in 2 bits, which limits a device to four log or core dump producing processors.

Macro Definition Documentation

◆ CORE_ID_BLE

#define CORE_ID_BLE   1

Bluetooth controller.

◆ CORE_ID_MAIN_MCU

#define CORE_ID_MAIN_MCU   0

Main MCU, running PebbleOS.