hc32f460: Add app address 0x10000

Required for the Anycubic Kobra 2.

Signed-off-by: Falk Höppner <falk@hoppner.se>
This commit is contained in:
Falk Höppner 2023-06-24 11:34:06 +02:00 committed by KevinOConnor
parent 15c3824e9b
commit 4292136b16
1 changed files with 9 additions and 6 deletions

View File

@ -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