From f1e97c0adc21f2850e81c8b69c4f0b9007401cde Mon Sep 17 00:00:00 2001 From: classicrocker883 Date: Thu, 28 Nov 2024 05:50:46 -0500 Subject: [PATCH 1/3] update hc32.ini --- ini/hc32.ini | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/ini/hc32.ini b/ini/hc32.ini index 71a1e35c3730..c1ffdf93321c 100644 --- a/ini/hc32.ini +++ b/ini/hc32.ini @@ -35,12 +35,12 @@ build_src_filter = ${common.default_src_filter} + + Date: Fri, 29 Nov 2024 05:45:37 -0500 Subject: [PATCH 2/3] remove ld_args --- ini/hc32.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ini/hc32.ini b/ini/hc32.ini index c1ffdf93321c..a99614beeca6 100644 --- a/ini/hc32.ini +++ b/ini/hc32.ini @@ -65,14 +65,14 @@ board_build.flags.cpp = -fno-threadsafe-statics # Disable thread-safe statics ( # [HC32F460C_base] extends = HC32F460_base -board_upload.ld_args.maximum_size = 256K +board_upload.maximum_size = 262144 # # Base HC32F460xExx (512K Flash) # [HC32F460E_base] extends = HC32F460_base -board_upload.ld_args.maximum_size = 512K +board_upload.maximum_size = 524288 # # Voxelab Aquila V1.0.0/V1.0.1/V1.0.2/V1.0.3 as found in the Voxelab Aquila X2 & C2 From 8b5fe0d7200635c4f66f26c9504d731e7fd48d20 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 3 Dec 2024 17:57:44 -0600 Subject: [PATCH 3/3] update readme --- Marlin/src/HAL/HC32/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/HAL/HC32/README.md b/Marlin/src/HAL/HC32/README.md index c9ae8a9a20ef..ed11c4003514 100644 --- a/Marlin/src/HAL/HC32/README.md +++ b/Marlin/src/HAL/HC32/README.md @@ -11,7 +11,7 @@ The HC32F460 HAL is designed to be generic enough for any HC32F460-based board. - Examine the board's main processor. (Refer the naming key in `hc32.ini`.) - Extend the `HC32F460C_common` base env for 256K, or `HC32F460E_common` for 512K. 3. Determine your board's application start address (see [below](#finding-the-application-start-address)) -4. Set `board_build.ld_args.flash_start` to the app start address once you've found it. If your board doesn't use a bootloader, you may be able to use the "ICSP" header or DFU. This document will be updated once we have more information about flashing without a bootloader. +4. Set `board_upload.offset_address` to the app start address once you've found it. If your board doesn't use a bootloader, you may be able to use the "ICSP" header or DFU. This document will be updated once we have more information about flashing without a bootloader. ### Finding the application start address