mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 05:34:59 -05:00
Define configNUMBER_OF_CORES to configNUM_CORES for when defined
Improves backwards compatibility with 3rd party SMP ports.
This commit is contained in:
parent
1c35cb3bc9
commit
9f580c12c9
1 changed files with 5 additions and 1 deletions
|
|
@ -93,7 +93,11 @@
|
|||
|
||||
/* Set default value of configNUMBER_OF_CORES to 1 to use single core FreeRTOS. */
|
||||
#ifndef configNUMBER_OF_CORES
|
||||
#define configNUMBER_OF_CORES 1
|
||||
#ifdef configNUM_CORES
|
||||
#define configNUMBER_OF_CORES configNUM_CORES
|
||||
#else
|
||||
#define configNUMBER_OF_CORES 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Basic FreeRTOS definitions. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue