aboutsummaryrefslogtreecommitdiff
path: root/src/stm32.mk
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-03-08 10:41:26 +0100
committerlonkaars <loek@pipeframe.xyz>2023-03-08 10:41:26 +0100
commitcf1effe02d99d74db684ff324a46fa32cf186417 (patch)
treee2da0df9d817042353b53504d501176169a5c79c /src/stm32.mk
parentd5a24b3708bf71504630baf2c88a1660e4732c3c (diff)
fix windows build system and add vscode configuration files
Diffstat (limited to 'src/stm32.mk')
-rw-r--r--src/stm32.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stm32.mk b/src/stm32.mk
index e41bcf9..6926dea 100644
--- a/src/stm32.mk
+++ b/src/stm32.mk
@@ -17,6 +17,9 @@ SHARED_FLAGS += -I./stm32
ifeq ($(HOST),GNU/Linux)
SHARED_FLAGS += -I/usr/arm-none-eabi/include/
endif
+ifeq ($(HOST),Msys)
+SHARED_FLAGS += -I/mingw64/arm-none-eabi/include/
+endif
SHARED_FLAGS += -ffunction-sections
SHARED_FLAGS += -fdata-sections
SHARED_FLAGS += -Wl,--gc-sections