newlib: Override __assert and __assert_func

Default assert implementation calls fiprintf, which tries to acquire a
lock and fails if it is executing in critical section or ISR
This commit is contained in:
Sachin Parekh
2021-05-26 18:48:57 +05:30
committed by bot
parent 15439631a4
commit 659cfcb1f6
6 changed files with 134 additions and 21 deletions

View File

@@ -10,8 +10,8 @@
abs = 0x40000618;
__ascii_mbtowc = 0x40007a04;
__ascii_wctomb = 0x400018d0;
__assert = 0x4001a430;
__assert_func = 0x4001a408;
PROVIDE ( __assert = 0x4001a430 );
PROVIDE ( __assert_func = 0x4001a408 );
bzero = 0x400078c8;
_cleanup_r = 0x4001a480;
creat = 0x4000788c;