diff --git a/Makefile.conf b/Makefile.conf index c660ca6..afc7de7 100644 --- a/Makefile.conf +++ b/Makefile.conf @@ -15,7 +15,8 @@ CFLAGS+=\ -DARM_MATH_ROUNDING \ -DDEBUG \ -DSTM32F407xx \ --DUSE_HAL_DRIVER \ +# DONT define DUSE_HAL_DRIVER - all it does is to create a build dependency from cmsis to the hal crap +#-DUSE_HAL_DRIVER \ # Options CFLAGS+= -fdiagnostics-color=always diff --git a/libs/cmsis/Makefile b/libs/cmsis/Makefile index 68da9e7..77ec7a2 100644 --- a/libs/cmsis/Makefile +++ b/libs/cmsis/Makefile @@ -4,7 +4,6 @@ TARGET=libcmsis.a # Includes CFLAGS+= -I. -CFLAGS+= -I../hal C_SRC=$(wildcard *.c) C_OBJ=$(subst .c,.o,$(C_SRC))