summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c27f09e..49efb5e 100644
--- a/Makefile
+++ b/Makefile
@@ -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