get_current_core_id

Function get_current_core_id 

Source
pub fn get_current_core_id() -> u8
Expand description

Returns the core ID of the currently executing core based on the target architecture. Supports various architectures including ESP32 (Xtensa and RISC-V), RP2040, and STM32 (single or H7 dual-core).