Fail examples target if any example fails

This commit is contained in:
Sergey Lyubka committed 2021-07-24 08:45:51 +01:00
1 parent 2a2c17a232
commit 7e1d4325ec
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ SOURCES += $(FREERTOS_PLUS_TCP_PATH)/portable/NetworkInterface/STM32Fxx/stm32fxx
OBJECTS = obj/boot.o $(SOURCES:%.c=obj/%.o)
all: $(PROG).hex
example: $(PROG).hex
$(PROG).bin: $(PROG).elf
$(DOCKER) arm-none-eabi-objcopy -O binary $< $@