From: Jonathan McDowell Date: Sat, 26 Jan 2019 17:05:14 +0000 (+0000) Subject: Use system esptool to build ROM bin file X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=8ecc02cb462cfd4fd0b7510922e7063b65c5795b;p=esp8266-clock.git Use system esptool to build ROM bin file --- 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 $@