summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2025-01-30 08:14:20 -0500
committerClyne Sullivan <clyne@bitgloo.com>2025-01-30 08:14:20 -0500
commitc723f59ecc27505566d54d9edde0bdb98a5623b1 (patch)
treebac173609e5816fe2e17613c88946fd5c4dc5ee8 /Makefile
parent914a918465d099dca3f709ea2a20673aaa93560c (diff)
decibel measuring?
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