From f8183482b6d3c359c715151ad09d3b3429ee3fe0 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 9 Aug 2015 12:24:12 +0300 Subject: [PATCH] examples: Add older Makefile for "blinky". --- examples/Makefile.blinky | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 examples/Makefile.blinky diff --git a/examples/Makefile.blinky b/examples/Makefile.blinky new file mode 100644 index 0000000..1357b73 --- /dev/null +++ b/examples/Makefile.blinky @@ -0,0 +1,14 @@ +CC = xtensa-lx106-elf-gcc +CFLAGS = -I. -mlongcalls +LDLIBS = -nostdlib -Wl,--start-group -lmain -lnet80211 -lwpa -llwip -lpp -lphy -Wl,--end-group -lgcc +LDFLAGS = -Teagle.app.v6.ld + +blinky-0x00000.bin: blinky + esptool.py elf2image $^ + +blinky: blinky.o blinky_main.o + +blinky.o: blinky.c + +flash: blinky-0x00000.bin + esptool.py write_flash 0 blinky-0x00000.bin 0x40000 blinky-0x40000.bin