We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ab3aa1 commit c12a57eCopy full SHA for c12a57e
src/platform/STM32/mk/STM32H5.mk
@@ -112,22 +112,18 @@ DEFAULT_LD_SCRIPT = $(LINKER_DIR)/stm32_flash_h563_2m.ld
112
STARTUP_SRC = STM32/startup/startup_stm32h563xx.s
113
MCU_FLASH_SIZE := 2048
114
DEVICE_FLAGS += -DMAX_MPU_REGIONS=16
115
-
116
# end H563xx
117
+else
+$(error Unknown MCU for STM32H5 target)
118
+endif
119
120
ifneq ($(DEBUG),GDB)
121
OPTIMISE_DEFAULT := -Os
122
OPTIMISE_SPEED := -Os
123
OPTIMISE_SIZE := -Os
124
LTO_FLAGS := $(OPTIMISATION_BASE) $(OPTIMISE_DEFAULT)
125
endif
126
127
-else
128
-$(error Unknown MCU for STM32H5 target)
129
-endif
130
131
ifeq ($(LD_SCRIPT),)
132
LD_SCRIPT = $(DEFAULT_LD_SCRIPT)
133
0 commit comments