mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-30 01:45:34 -05:00
fix(core): support magic bootloader values for nRF52833 (#3163)
Enable ZMK_BOOTMODE_MAGIC_VALUE_BOOTLOADER_TYPE_ADAFRUIT_NRF52 for nRF52833, add nrf52833_uf2_boot_mode.dtsi as a copy of the nRF52840 file for easy inclusion. Enable retention for all nrfmicro subvariants (as this is the only in-tree board that uses the nRF52833). This fixes &bootloader for nRF52833 boards post-4.1 upgrade.
This commit is contained in:
@@ -16,7 +16,7 @@ endif
|
||||
if ZMK_BOOTMODE_TO_MAGIC_VALUE_MAPPER
|
||||
|
||||
choice ZMK_BOOTMODE_MAGIC_VALUE_BOOTLOADER_TYPE
|
||||
default ZMK_BOOTMODE_MAGIC_VALUE_BOOTLOADER_TYPE_ADAFRUIT_NRF52 if SOC_NRF52840
|
||||
default ZMK_BOOTMODE_MAGIC_VALUE_BOOTLOADER_TYPE_ADAFRUIT_NRF52 if SOC_NRF52833 || SOC_NRF52840
|
||||
|
||||
endchoice
|
||||
|
||||
|
||||
Reference in New Issue
Block a user