examples: Add older Makefile for "blinky".
This commit is contained in:
parent
ccf1cfd2b8
commit
f8183482b6
14
examples/Makefile.blinky
Normal file
14
examples/Makefile.blinky
Normal file
@ -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
|
||||
Loading…
Reference in New Issue
Block a user