Skip to content

Commit

Permalink
hc32f460: Add app address 0x10000
Browse files Browse the repository at this point in the history
Required for the Anycubic Kobra 2.

Signed-off-by: Falk Höppner <[email protected]>
  • Loading branch information
falk-h authored and KevinOConnor committed Aug 13, 2023
1 parent 15c3824 commit 4292136
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/hc32f460/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4292136

Please sign in to comment.