Add sysparam_editor example
This commit is contained in:
parent
ae16299f4a
commit
40266a1e63
2 changed files with 172 additions and 0 deletions
14
examples/sysparam_editor/Makefile
Normal file
14
examples/sysparam_editor/Makefile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue