NVS access in custom bootloader

bewatermyfriendxd
Posts: 21
Joined: Wed Apr 03, 2019 1:29 pm

NVS access in custom bootloader

Postby bewatermyfriendxd » Tue Jul 02, 2019 11:56 am

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

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: NVS access in custom bootloader

Postby WiFive » Tue Jul 02, 2019 5:56 pm

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.

Who is online

Users browsing this forum: Bing [Bot], REEASD and 154 guests