From 57963d179ab406279d3287ab93014e1d14488508 Mon Sep 17 00:00:00 2001 From: hulk Date: Fri, 2 Oct 2026 23:09:19 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E8=B0=83=E8=AF=95=E9=98=B6=E6=AE=B5?= =?UTF-8?q?=20APP=20=E4=B8=B4=E6=97=B6=E9=93=BE=E6=8E=A5=200x08000000?= =?UTF-8?q?=EF=BC=88VECT=5FTAB=5FOFFSET=3D0=EF=BC=8C=E8=84=B1=E7=A6=BB=20b?= =?UTF-8?q?ootloader=20=E7=9B=B4=E6=8E=A5=E8=BF=90=E8=A1=8C=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 正式发布仍用 V1.0.2 tag 处的 0x08002000/54K Bootloader 布局打包(见 Release V1.0.2) --- LD/gd32e23x_flash.ld | 2 +- Src/system_gd32e23x.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LD/gd32e23x_flash.ld b/LD/gd32e23x_flash.ld index e122724..6d606aa 100644 --- a/LD/gd32e23x_flash.ld +++ b/LD/gd32e23x_flash.ld @@ -12,7 +12,7 @@ _Min_Stack_Size = 0x400; /* required amount of stack */ /* Memories definition */ MEMORY { - FLASH (rx) : ORIGIN = 0x08002000, LENGTH = 54K + FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 54K RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 8K } diff --git a/Src/system_gd32e23x.c b/Src/system_gd32e23x.c index 55726bf..480e817 100644 --- a/Src/system_gd32e23x.c +++ b/Src/system_gd32e23x.c @@ -41,7 +41,7 @@ #define __HXTAL (HXTAL_VALUE) /* high speed crystal oscillator frequency */ #define __SYS_OSC_CLK (__IRC8M) /* main oscillator frequency */ -#define VECT_TAB_OFFSET (uint32_t)0x2000 /* vector table base offset */ +#define VECT_TAB_OFFSET (uint32_t)0x00 /* vector table base offset */ /* select a system clock by uncommenting the following line */ //#define __SYSTEM_CLOCK_8M_HXTAL (__HXTAL)