Let's say if I have two partition with two programs,
I want to choose which partition to boot based on a GPIO status during power up, can I do that?
Select which partition to boot
-
- Posts: 64
- Joined: Tue Jan 10, 2017 1:09 pm
Re: Select which partition to boot
Hi
The default bootloader has its own "logic":
http://esp-idf.readthedocs.io/en/latest ... ables.html
but you can develop a custom bootloader, give a look to the source code for the default one:
https://github.com/espressif/esp-idf/bl ... er_start.c
The default bootloader has its own "logic":
http://esp-idf.readthedocs.io/en/latest ... ables.html
but you can develop a custom bootloader, give a look to the source code for the default one:
https://github.com/espressif/esp-idf/bl ... er_start.c
Re: Select which partition to boot
It seems it's a little complicate for me, I used the NVS and GPIO to set the boot routine finally.kurtzweber wrote:Hi
The default bootloader has its own "logic":
http://esp-idf.readthedocs.io/en/latest ... ables.html
but you can develop a custom bootloader, give a look to the source code for the default one:
https://github.com/espressif/esp-idf/bl ... er_start.c
Who is online
Users browsing this forum: No registered users and 118 guests