diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -22,7 +22,7 @@ TARGET = microphone # debug build?
DEBUG = 1
# optimization
-OPT = -Og
+OPT = -O2
#######################################
@@ -61,7 +61,8 @@ Core/Src/syscalls.c # ASM sources
ASM_SOURCES = \
-startup_stm32u083xx.s
+startup_stm32u083xx.s \
+Drivers/qfplib-m0-full-20240105/qfplib-m0-full.s
# ASM sources
ASMM_SOURCES =
@@ -121,7 +122,8 @@ C_INCLUDES = \ -IDrivers/STM32U0xx_HAL_Driver/Inc \
-IDrivers/STM32U0xx_HAL_Driver/Inc/Legacy \
-IDrivers/CMSIS/Device/ST/STM32U0xx/Include \
--IDrivers/CMSIS/Include
+-IDrivers/CMSIS/Include \
+-IDrivers/qfplib-m0-full-20240105
# compile gcc flags
|