diff --git a/firmware/Makefile b/firmware/Makefile index b41369b..3fc7cb6 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -31,7 +31,7 @@ endif # Linker extra options here. ifeq ($(USE_LDOPT),) - USE_LDOPT = + USE_LDOPT = endif # Enable this if you want link time optimizations (LTO). @@ -95,9 +95,6 @@ endif # Define project name here PROJECT = wideband -# Target settings. -MCU = cortex-m0 - # Imported source files and paths. CHIBIOS := ChibiOS CONFDIR := $(BOARDDIR) diff --git a/firmware/boards/f0_module/board.mk b/firmware/boards/f0_module/board.mk index f320e1c..aa66371 100644 --- a/firmware/boards/f0_module/board.mk +++ b/firmware/boards/f0_module/board.mk @@ -1,5 +1,7 @@ USE_BOOTLOADER = yes +MCU = cortex-m0 + include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f0xx.mk include $(CHIBIOS)/os/hal/ports/STM32/STM32F0xx/platform.mk include $(CHIBIOS)/os/common/ports/ARMv6-M/compilers/GCC/mk/port.mk