From 765dc27b15ffc4aa788cd7cb7faf6e55e0fe5b91 Mon Sep 17 00:00:00 2001 From: Chris Cinelli Date: Wed, 23 Oct 2019 18:46:55 -0700 Subject: [PATCH] Fix docker build --- targets/stm32l432/Makefile | 2 +- targets/stm32l432/build/bootloader.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/targets/stm32l432/Makefile b/targets/stm32l432/Makefile index 8473b7d..667256b 100644 --- a/targets/stm32l432/Makefile +++ b/targets/stm32l432/Makefile @@ -95,7 +95,7 @@ flashboot: bootloader.hex STM32_Programmer_CLI -c port=SWD -halt -d bootloader.hex -rst flash-firmware: - arm-none-eabi-size -A solo.elf + $(SZ) -A solo.elf solo program aux enter-bootloader solo program bootloader solo.hex diff --git a/targets/stm32l432/build/bootloader.mk b/targets/stm32l432/build/bootloader.mk index cc61913..7ac79a8 100644 --- a/targets/stm32l432/build/bootloader.mk +++ b/targets/stm32l432/build/bootloader.mk @@ -66,7 +66,7 @@ all: $(TARGET).elf %.elf: $(OBJ) $(CC) $^ $(HW) $(LDFLAGS) -o $@ - arm-none-eabi-size $@ + $(SZ) $@ %.hex: %.elf $(CP) -O ihex $^ $(TARGET).hex