aboutsummaryrefslogtreecommitdiff
path: root/src/stm32.mk
diff options
context:
space:
mode:
authorFlenk008 <frenk_0_0@hotmail.com>2023-03-09 18:59:53 +0100
committerGitHub <noreply@github.com>2023-03-09 18:59:53 +0100
commit569558ea9502b5e07ac4825ca94cadef0e65f0cf (patch)
tree0172ff30e85f4ba69c7516805c167cf4e011624b /src/stm32.mk
parentb82afe9a241fc61c9b4cd64676c3ed804e240ae1 (diff)
parentcf1effe02d99d74db684ff324a46fa32cf186417 (diff)
Merge branch 'lonkaars:dev' into GameLogic
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