diff options
-rw-r--r-- | ports/stm32/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile index d0b90c761..40560b842 100644 --- a/ports/stm32/Makefile +++ b/ports/stm32/Makefile @@ -42,7 +42,8 @@ OPENOCD ?= openocd OPENOCD_CONFIG ?= boards/openocd_stm32f4.cfg STARTUP_FILE ?= boards/startup_stm32$(MCU_SERIES).o -CROSS_COMPILE = arm-none-eabi- +# Select the cross compile prefix +CROSS_COMPILE ?= arm-none-eabi- INC += -I. INC += -I$(TOP) |