aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPeter Johanson <[email protected]>2023-12-04 14:39:41 -0800
committerPete Johanson <[email protected]>2024-02-09 14:32:46 -0800
commit8e9b4fa57c69f2ec88883f1dddd0529bed1fa2e8 (patch)
tree6e5de96cd7421bf2f2165370bdd18e3fdf0d4aa1
parent3968d9febd434123d7ac3296a934e5913141277d (diff)
downloadzmk-8e9b4fa57c69f2ec88883f1dddd0529bed1fa2e8.tar.gz
zmk-8e9b4fa57c69f2ec88883f1dddd0529bed1fa2e8.zip
fix(boards): Make `&bootloader` work on nrf52 for now.
* Use `NRF_STORE_REBOOT_TYPE_GPREGRET` to get bootloader behavior to work for now until retained bootmode is implemented.
-rw-r--r--app/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Kconfig b/app/Kconfig
index 3a70f294aa..4d6d840150 100644
--- a/app/Kconfig
+++ b/app/Kconfig
@@ -37,6 +37,17 @@ config BT_DIS_MODEL
config BT_DIS_MANUF
default "ZMK Project"
+# Hardware specific overrides
+
+if SOC_SERIES_NRF52X
+
+# Default on for our usage until boards implement retained bootmode.
+config NRF_STORE_REBOOT_TYPE_GPREGRET
+ bool
+ default y
+
+endif
+
menu "HID"
choice ZMK_HID_REPORT_TYPE