Skip to content

Instantly share code, notes, and snippets.

@projectgus
Created July 2, 2015 01:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save projectgus/f898d5798e3e44240796 to your computer and use it in GitHub Desktop.
Save projectgus/f898d5798e3e44240796 to your computer and use it in GitHub Desktop.
Sample simple esp8266.def file for use with scratchabit
cpu xtensa
# Show up to this many raw bytes of code/data
show bytes 4
# Load an arbitrary esp8266 ELF file
# See example.def if you want to load raw binaries instead
load /home/gus/dev/esp/rtos/open-rtos/examples/http_get/build/http_get.out elf
# First attempt at loading BootROM binary image and symbols
# These files came from https://github.com/jcmvbkbc/esp-elf-rom
0x40000000(0x10000) rx
load /home/gus/dev/esp/esp-elf-rom/bootrom.bin 0x40000000
[entrypoints]
load "/home/gus/dev/esp/esp-elf-rom/eagle.rom.addr.v6.ld"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment