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:
@@ -29,8 +29,8 @@ CFLAGS = -Os -g -Wall -Wextra -I../../../include -fno-common \
|
||||
# ARFLAGS = rcsv
|
||||
ARFLAGS = rcs
|
||||
OBJS = vector.o rcc.o gpio.o usart.o spi.o flash.o nvic.o \
|
||||
i2c.o systick.o exti.o scb.o timer.o \
|
||||
i2c.o systick.o exti.o scb.o timer.o assert.o
|
||||
|
||||
VPATH += ../../usb:../
|
||||
VPATH += ../../usb:../:../../cm3
|
||||
|
||||
include ../../Makefile.include
|
||||
|
||||
Reference in New Issue
Block a user