misc: Replace assert include and calls by sys/__assert.h equivalent
Replace all calls to the assert macro that comes from libc by calls to __ASSERT_NO_MSG(). This is usefull as the former might be different depending on the libc used and the later can be customized to reduce flash footprint. Signed-off-by: Xavier Chapron <xavier.chapron@stimio.fr>
This commit is contained in:
parent
25e19f89f1
commit
824f423e54
35 changed files with 83 additions and 93 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
#define DT_DRV_COMPAT nuvoton_npcx_uart
|
||||
|
||||
#include <assert.h>
|
||||
#include <sys/__assert.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <drivers/uart.h>
|
||||
#include <drivers/clock_control.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue