]> the.earth.li Git - esp8266-clock.git/commitdiff
Use system esptool to build ROM bin file
authorJonathan McDowell <noodles@earth.li>
Sat, 26 Jan 2019 17:05:14 +0000 (17:05 +0000)
committerJonathan McDowell <noodles@earth.li>
Sat, 26 Jan 2019 17:05:14 +0000 (17:05 +0000)
Makefile

index 29c1392a7e35d4abc710ee613572aaa7d7cbd572..347b9046bff4c7b34bf7987736eed01192ed235a 100644 (file)
--- 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 $@