Add sysparam_editor example

This commit is contained in:
Alex Stewart 2016-03-07 09:47:27 -08:00
parent ae16299f4a
commit 40266a1e63
2 changed files with 172 additions and 0 deletions

View file

@ -0,0 +1,14 @@
PROGRAM=sysparam_editor
# Setting this to 1..3 will add extra debugging output to stdout
EXTRA_CFLAGS=-DSYSPARAM_DEBUG=0
include ../../common.mk
# `make dump-flash` can be used to view the current contents of the sysparam
# regions in flash.
dump-flash:
esptool.py read_flash 0x1fa000 4096 r1.bin
hexdump -C r1.bin
esptool.py read_flash 0x1fb000 4096 r2.bin
hexdump -C r2.bin