Support for UF2 bootloader

Give it a try, it costs you nothing !
Post Reply
User avatar
karlkloss
Posts: 325
Joined: Fri Aug 18, 2023 12:21 pm
Location: Local group
Has thanked: 54 times
Been thanked: 78 times

Support for UF2 bootloader

Post by karlkloss »

Hi cicciocb,
Adafruit provides UF2 bootloaders for many ESP32-S2/3 boards.
(https://github.com/adafruit/tinyuf2)

Do you think you could compile Annex to support UF2 bootloaders?

cheers
karlkloss
User avatar
cicciocb
Site Admin
Posts: 3130
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 635 times
Been thanked: 2233 times
Contact:

Re: Support for UF2 bootloader

Post by cicciocb »

Hi, what is the goal of this request?
I cannot see any advantage into implementing this feature.

In al the cases, the device will always require to be flashed once in a traditional way.
Using the UF2 will not give any particular advantage as you'll be obliged to update the device connecting physically on the PC.

Actually you just need to flash once and then update using the OTA.

Additionally this is applicable only for the devices with full USB support.
User avatar
karlkloss
Posts: 325
Joined: Fri Aug 18, 2023 12:21 pm
Location: Local group
Has thanked: 54 times
Been thanked: 78 times

Re: Support for UF2 bootloader

Post by karlkloss »

Fair points. It's just that some manufacturers (like Adafruit) send their boards out already having a UF2 bootloader, so it's easier for the customers to change the firmware.

As someone who switches their boards between different firmwares frequently, it would be nice to just keep the UF2 bootloader for everything.

But yeah, nice to have, but not necessary.
Post Reply