Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC = xtensa-lx106-elf-gcc
- CFLAGS = -I. DICACHE_FLASH -mlongcalls
- LDLIBS = -nostdlib -Wl,--start-group -lmain -lnet80211 -lwpa -llwip -lpp -lphy -lc -Wl,--end-group -lgcc
- LDFLAGS = -Teagle.app.v6.ld
- sensor-0x00000.bin: sensor
- esptool.py elf2image $^
- sensor: sensor.o
- sensor.o: sensor.c
- flash: esptool.py --port /dev/ttyUSB0 write_flash 0x00000 sensor-0x00000.bin 0x10000 sensor-0x10000.bin
- clean:
- rm -f sensor sensor.o sensor-0x00000.bin sensor-0x10000.bin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement