Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

SDK • Re: FreeRTOS SMP - Share tick with other core

$
0
0
Can you show the FreeRTOSConfig.h contents?
I have several projects running on FreeRTOS SMP on a Pico, with the 2 cores running as expected. My typical setup;

Code:

   /* SMP port only */ #define configNUMBER_OF_CORES                   2 #define configTICK_CORE                         0 #define configRUN_MULTIPLE_PRIORITIES           0 #define configUSE_CORE_AFFINITY                 1  /* RP2040 specific */ #define configSUPPORT_PICO_SYNC_INTEROP         1 #define configSUPPORT_PICO_TIME_INTEROP         1   /* SMP Related config. */ #define configUSE_PASSIVE_IDLE_HOOK             0 #define portSUPPORT_SMP                         1  /* pico2 specific *//* The following standard FreeRTOS ARM options are required for RP2350 *//* see portable/ThirdParty/Community-Supported-Ports/GCC/RP2350_ARM_NTZ/README.md */#define configENABLE_MPU                        0#define configENABLE_TRUSTZONE                  0#define configRUN_FREERTOS_SECURE_ONLY          1#define configENABLE_FPU                        1#define configMAX_SYSCALL_INTERRUPT_PRIORITY    16

Statistics: Posted by jancumps — Wed May 21, 2025 5:24 pm



Viewing all articles
Browse latest Browse all 8609

Trending Articles