From 4292136b16e2dcc60dca4cefda3a90065dcd0eca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Falk=20H=C3=B6ppner?= Date: Sat, 24 Jun 2023 11:34:06 +0200 Subject: [PATCH] hc32f460: Add app address 0x10000 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Required for the Anycubic Kobra 2. Signed-off-by: Falk Höppner --- src/hc32f460/Kconfig | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/hc32f460/Kconfig b/src/hc32f460/Kconfig index 9de4a7fc..5dee95f9 100644 --- a/src/hc32f460/Kconfig +++ b/src/hc32f460/Kconfig @@ -51,16 +51,19 @@ config FLASH_SIZE choice "Application Address" prompt "Application Address" - config HC32F460_FLASH_APPLICATION_ADDRESS_0x8000 - bool "0x8000" - config HC32F460_FLASH_APPLICATION_ADDRESS_0xC000 - bool "0xC000" + config HC32F460_FLASH_APPLICATION_ADDRESS_0x008000 + bool "0x008000" + config HC32F460_FLASH_APPLICATION_ADDRESS_0x00C000 + bool "0x00C000" + config HC32F460_FLASH_APPLICATION_ADDRESS_0x010000 + bool "0x010000" endchoice config FLASH_APPLICATION_ADDRESS hex - default 0x8000 if HC32F460_FLASH_APPLICATION_ADDRESS_0x8000 - default 0xC000 if HC32F460_FLASH_APPLICATION_ADDRESS_0xC000 + default 0x008000 if HC32F460_FLASH_APPLICATION_ADDRESS_0x008000 + default 0x00C000 if HC32F460_FLASH_APPLICATION_ADDRESS_0x00C000 + default 0x010000 if HC32F460_FLASH_APPLICATION_ADDRESS_0x010000 config FLASH_BOOT_ADDRESS hex