File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
portable/ThirdParty/GCC/RP2040/include Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 86
86
#define configUSE_MPU_WRAPPERS_V1 0
87
87
#endif
88
88
89
+ /* Set default value of configNUMBER_OF_CORES to 1 to use single core FreeRTOS. */
90
+ #ifndef configNUMBER_OF_CORES
91
+ #define configNUMBER_OF_CORES 1
92
+ #endif
93
+
89
94
/* Basic FreeRTOS definitions. */
90
95
#include "projdefs.h"
91
96
363
368
#define portSOFTWARE_BARRIER ()
364
369
#endif
365
370
366
- #ifndef configNUMBER_OF_CORES
367
- #define configNUMBER_OF_CORES 1
368
- #endif
369
-
370
371
#ifndef configRUN_MULTIPLE_PRIORITIES
371
372
#define configRUN_MULTIPLE_PRIORITIES 0
372
373
#endif
Original file line number Diff line number Diff line change 114
114
115
115
/* Multi-core */
116
116
#define portMAX_CORE_COUNT 2
117
- #ifndef configNUMBER_OF_CORES
118
- #define configNUMBER_OF_CORES 2
119
- #endif
120
117
121
118
/* Check validity of number of cores specified in config */
122
119
#if ( configNUMBER_OF_CORES < 1 || portMAX_CORE_COUNT < configNUMBER_OF_CORES )
You can’t perform that action at this time.
0 commit comments