diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-03-08 10:41:26 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-03-08 10:41:26 +0100 |
commit | cf1effe02d99d74db684ff324a46fa32cf186417 (patch) | |
tree | e2da0df9d817042353b53504d501176169a5c79c /src/stm32.mk | |
parent | d5a24b3708bf71504630baf2c88a1660e4732c3c (diff) |
fix windows build system and add vscode configuration files
Diffstat (limited to 'src/stm32.mk')
-rw-r--r-- | src/stm32.mk | 3 |
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 |