From 82fb4afde3c9433384a8828ddf7374dc5d3a596c Mon Sep 17 00:00:00 2001 From: Peter Harper Date: Tue, 24 Oct 2023 13:49:53 +0100 Subject: [PATCH] Compilation issues with latest version of Freertos Fixes #428 --- pico_w/bt/config/FreeRTOSConfig.h | 2 ++ pico_w/wifi/freertos/iperf/FreeRTOSConfig.h | 2 ++ pico_w/wifi/freertos/ping/FreeRTOSConfig.h | 2 ++ 3 files changed, 6 insertions(+) diff --git a/pico_w/bt/config/FreeRTOSConfig.h b/pico_w/bt/config/FreeRTOSConfig.h index f39428d23..fe60cafff 100644 --- a/pico_w/bt/config/FreeRTOSConfig.h +++ b/pico_w/bt/config/FreeRTOSConfig.h @@ -105,9 +105,11 @@ #if FREE_RTOS_KERNEL_SMP // set by the RP2040 SMP port of FreeRTOS /* SMP port only */ #define configNUM_CORES 2 +#define configNUMBER_OF_CORES configNUM_CORES #define configTICK_CORE 0 #define configRUN_MULTIPLE_PRIORITIES 1 #define configUSE_CORE_AFFINITY 1 +#define configUSE_PASSIVE_IDLE_HOOK 0 #endif /* RP2040 specific */ diff --git a/pico_w/wifi/freertos/iperf/FreeRTOSConfig.h b/pico_w/wifi/freertos/iperf/FreeRTOSConfig.h index f9f075d84..3807d1788 100644 --- a/pico_w/wifi/freertos/iperf/FreeRTOSConfig.h +++ b/pico_w/wifi/freertos/iperf/FreeRTOSConfig.h @@ -105,9 +105,11 @@ #if FREE_RTOS_KERNEL_SMP // set by the RP2040 SMP port of FreeRTOS /* SMP port only */ #define configNUM_CORES 2 +#define configNUMBER_OF_CORES configNUM_CORES #define configTICK_CORE 0 #define configRUN_MULTIPLE_PRIORITIES 1 #define configUSE_CORE_AFFINITY 1 +#define configUSE_PASSIVE_IDLE_HOOK 0 #endif /* RP2040 specific */ diff --git a/pico_w/wifi/freertos/ping/FreeRTOSConfig.h b/pico_w/wifi/freertos/ping/FreeRTOSConfig.h index f9f075d84..3807d1788 100644 --- a/pico_w/wifi/freertos/ping/FreeRTOSConfig.h +++ b/pico_w/wifi/freertos/ping/FreeRTOSConfig.h @@ -105,9 +105,11 @@ #if FREE_RTOS_KERNEL_SMP // set by the RP2040 SMP port of FreeRTOS /* SMP port only */ #define configNUM_CORES 2 +#define configNUMBER_OF_CORES configNUM_CORES #define configTICK_CORE 0 #define configRUN_MULTIPLE_PRIORITIES 1 #define configUSE_CORE_AFFINITY 1 +#define configUSE_PASSIVE_IDLE_HOOK 0 #endif /* RP2040 specific */