Add assert macros to aid in debugging.
Adds libopencm3/cm3/assert.h header that provides assertion check macros similar to those provided by the standard C library. Thanks to Nicolas Schodet for help.
This commit is contained in:
@@ -28,8 +28,8 @@ CFLAGS = -Os -g -Wall -Wextra -I../../include -fno-common \
|
||||
-ffunction-sections -fdata-sections -MD
|
||||
# ARFLAGS = rcsv
|
||||
ARFLAGS = rcs
|
||||
OBJS = gpio.o vector.o
|
||||
OBJS = gpio.o vector.o assert.o
|
||||
|
||||
# VPATH += ../usb
|
||||
VPATH += ../cm3
|
||||
|
||||
include ../Makefile.include
|
||||
|
||||
Reference in New Issue
Block a user