mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-16 02:57:49 -04:00
Rp2040 fixes smp (#425)
* RP2040: malloc needs to be thread safe for FreeRTOS whether both cores are used or not * RP2040: CMake file had broken left over test code
This commit is contained in:
parent
2b0fdf2a71
commit
7d11089624
2 changed files with 5 additions and 3 deletions
|
@ -32,7 +32,10 @@
|
|||
#ifndef __ASSEMBLER__
|
||||
#include "FreeRTOSConfig.h"
|
||||
#include "rp2040_config.h"
|
||||
|
||||
#ifndef PICO_USE_MALLOC_MUTEX
|
||||
// malloc needs to be made thread safe
|
||||
#define PICO_USE_MALLOC_MUTEX 1
|
||||
#endif /* PICO_USE_MALLOC_MUTEX */
|
||||
#if ( configSUPPORT_PICO_SYNC_INTEROP == 1 )
|
||||
// increase the amount of time it may reasonably take to wake us up
|
||||
#ifndef PICO_TIME_SLEEP_OVERHEAD_ADJUST_US
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue