Page 1 of 1

NVS access in custom bootloader

Posted: Tue Jul 02, 2019 11:56 am
by bewatermyfriendxd
Hello guys,

Im currently creating a custom bootloader for my project.
Everything is working so far, but I need access to the nvs_flash component.

Currently I havent found a way to include this component into my custom bootloader.
Which steps do I have to take?

I'll appreciate any help,
Thanks for the support

Re: NVS access in custom bootloader

Posted: Tue Jul 02, 2019 5:56 pm
by WiFive
Won't work, nvs uses lots of features not supported in bootloader environment. If you want to read a nvs key just mmap the nvs partition and binary parse it one page at a time.