From 80fde5eedf39a73c0926fab26695ab6d59f2102d Mon Sep 17 00:00:00 2001 From: XiNGRZ Date: Fri, 27 Jan 2023 18:57:34 +0800 Subject: [PATCH] dynamic: Build UF2 --- config/boards/arm/hw75_dynamic/Kconfig.defconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/config/boards/arm/hw75_dynamic/Kconfig.defconfig b/config/boards/arm/hw75_dynamic/Kconfig.defconfig index e1710c29..05d45a05 100644 --- a/config/boards/arm/hw75_dynamic/Kconfig.defconfig +++ b/config/boards/arm/hw75_dynamic/Kconfig.defconfig @@ -31,6 +31,9 @@ config ZMK_DISPLAY select SSD1306 select I2C +config BUILD_OUTPUT_UF2 + default y + if ZMK_DISPLAY choice ZMK_DISPLAY_WORK_QUEUE @@ -69,6 +72,19 @@ config SSD1306_REVERSE_MODE endif # SSD1306 +if BUILD_OUTPUT_UF2 + +config BUILD_OUTPUT_UF2_FAMILY_ID + default "0x57755a57" + +config BUILD_OUTPUT_UF2_USE_FLASH_BASE + default y + +config BUILD_OUTPUT_UF2_USE_FLASH_OFFSET + default y + +endif # BUILD_OUTPUT_UF2 + rsource "app/Kconfig" endif # BOARD_HW75_DYNAMIC