diff --git a/os/common/ports/ARMv6-M-RP2/chcore.h b/os/common/ports/ARMv6-M-RP2/chcore.h index 54e76bfd5..4e98e638e 100644 --- a/os/common/ports/ARMv6-M-RP2/chcore.h +++ b/os/common/ports/ARMv6-M-RP2/chcore.h @@ -262,9 +262,14 @@ /** * @brief Port-specific information string. */ -#if (CORTEX_ALTERNATE_SWITCH == FALSE) || defined(__DOXYGEN__) - #define PORT_INFO "Preemption through NMI" +#if (CH_CFG_SMP_MODE != FALSE) || defined(__DOXYGEN__) + #if (CORTEX_ALTERNATE_SWITCH == FALSE) || defined(__DOXYGEN__) + #define PORT_INFO "Preemption through NMI (SMP)" + #else + #define PORT_INFO "Preemption through PendSV (SMP)" + #endif #else + #define PORT_INFO "Preemption through NMI" #define PORT_INFO "Preemption through PendSV" #endif /** @} */