From 8ecc02cb462cfd4fd0b7510922e7063b65c5795b Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Sat, 26 Jan 2019 17:05:14 +0000 Subject: [PATCH] Use system esptool to build ROM bin file --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 29c1392..347b904 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ OBJS = user_main.o clock.o max7219.o ota.o spi.o all: rom0.bin rom1.bin %.bin: %.elf - PATH=$$PATH:$(SDKDIR)/bin esptool.py elf2image $^ --version 2 -o $@ + esptool elf2image $^ --version 2 -o $@ %.elf: $(APP)_app.a $(LD) -T$(basename $@).ld $(LDFLAGS) -Wl,--start-group $(LIBS) $^ -Wl,--end-group -lgcc -o $@ -- 2.39.2