Skip to content

Commit cac4498

Browse files
Compilation issues with latest version of Freertos (#429)
Fixes #428
1 parent 7115bdd commit cac4498

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

pico_w/bt/config/FreeRTOSConfig.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,11 @@
105105
#if FREE_RTOS_KERNEL_SMP // set by the RP2040 SMP port of FreeRTOS
106106
/* SMP port only */
107107
#define configNUM_CORES 2
108+
#define configNUMBER_OF_CORES configNUM_CORES
108109
#define configTICK_CORE 0
109110
#define configRUN_MULTIPLE_PRIORITIES 1
110111
#define configUSE_CORE_AFFINITY 1
112+
#define configUSE_PASSIVE_IDLE_HOOK 0
111113
#endif
112114

113115
/* RP2040 specific */

pico_w/wifi/freertos/iperf/FreeRTOSConfig.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,11 @@
105105
#if FREE_RTOS_KERNEL_SMP // set by the RP2040 SMP port of FreeRTOS
106106
/* SMP port only */
107107
#define configNUM_CORES 2
108+
#define configNUMBER_OF_CORES configNUM_CORES
108109
#define configTICK_CORE 0
109110
#define configRUN_MULTIPLE_PRIORITIES 1
110111
#define configUSE_CORE_AFFINITY 1
112+
#define configUSE_PASSIVE_IDLE_HOOK 0
111113
#endif
112114

113115
/* RP2040 specific */

pico_w/wifi/freertos/ping/FreeRTOSConfig.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,11 @@
105105
#if FREE_RTOS_KERNEL_SMP // set by the RP2040 SMP port of FreeRTOS
106106
/* SMP port only */
107107
#define configNUM_CORES 2
108+
#define configNUMBER_OF_CORES configNUM_CORES
108109
#define configTICK_CORE 0
109110
#define configRUN_MULTIPLE_PRIORITIES 1
110111
#define configUSE_CORE_AFFINITY 1
112+
#define configUSE_PASSIVE_IDLE_HOOK 0
111113
#endif
112114

113115
/* RP2040 specific */

0 commit comments

Comments
 (0)