Add a linker script comment for all the patched newlib _lock_xxx symbols
This commit is contained in:
parent
b7b16de429
commit
a3c4469b1f
1 changed files with 7 additions and 0 deletions
|
@ -11,6 +11,13 @@
|
||||||
pvPortMalloc = malloc;
|
pvPortMalloc = malloc;
|
||||||
vPortFree = free;
|
vPortFree = free;
|
||||||
|
|
||||||
|
/* FreeRTOS lock functions.
|
||||||
|
|
||||||
|
Rely on a patch to libc that produces weak linked versions of the
|
||||||
|
below symbols. Currently treating locking primitives like universal
|
||||||
|
global critical section rather than individual locks, but this seems
|
||||||
|
OK from the use cases in newlib.
|
||||||
|
*/
|
||||||
_lock_acquire = vPortEnterCritical;
|
_lock_acquire = vPortEnterCritical;
|
||||||
_lock_acquire_recursive = vPortEnterCritical;
|
_lock_acquire_recursive = vPortEnterCritical;
|
||||||
_lock_try_acquire = vPortEnterCritical;
|
_lock_try_acquire = vPortEnterCritical;
|
||||||
|
|
Loading…
Reference in a new issue