Sysparam implementation

sysparam improvements

Mostly done, a few minor cleanups left.

Add sysparam_editor example

Sysparam code cleanup

Add documentation to sysparam.h

Fix up sysparam.h docs

Added a couple more debug statements

Fix potential memory leak if realloc() fails

Major sysparam overhaul

Add sysparam_get_info function

Add sysparam initialization to app_main.c
This commit is contained in:
Alex Stewart 2016-03-02 10:48:28 -08:00 committed by Johan Kanflo
parent 964a2f850a
commit 833fb19ef2
6 changed files with 1728 additions and 1 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 0x1f8000 8192 r1.bin
hexdump -C r1.bin
esptool.py read_flash 0x1fa000 8192 r2.bin
hexdump -C r2.bin