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:
Xavier Chapron 2020-09-22 14:42:43 +02:00 committed by Carles Cufí
commit 824f423e54
35 changed files with 83 additions and 93 deletions

View file

@ -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>