adafruit / Adafruit_nRF52_Bootloader

USB-enabled bootloaders for the nRF52 BLE SoC chips
MIT License
447 stars 404 forks source link

CF2 support #92

Closed mmoskal closed 4 years ago

mmoskal commented 4 years ago

Describe the solution you'd like

UF2 defines a format to store configuration data about the board in the bootloader area, see https://github.com/microsoft/uf2/blob/master/cf2.md

This is currently used primarily by MakeCode Arcade to define where the button/screen pins are, but is extensible. This is supported in SAMD51 and STM32F4 bootloaders.

Could we have maybe 1k of bootloader area reserved for this?

mmoskal commented 4 years ago

CC @ladyada @dhalbert

hathach commented 4 years ago

This is a great idea, 1KB is not a problem or whatsover, we does reserve several of KBs for future extensions as this