build: golden 保底固件布局——LD ORIGIN 0x0800B000 (B 槽 19K-8B) + VECT_TAB_OFFSET 0xB000

This commit is contained in:
2026-10-23 10:11:14 +08:00
parent b6da450f8a
commit 4af24a4dfb
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -10,9 +10,11 @@ _Min_Heap_Size = 0x200; /* required amount of heap */
_Min_Stack_Size = 0x400; /* required amount of stack */
/* Memories definition */
/* FW_B 保底槽布局:0x0800B000~0x0800FC00 共 19K,末 8B(0x0800FBF8 起)为 B 记录
* {magic16,pages16,crc16,2B 保留},由打包工具写入,链接区上限 = 槽 - 8B = 0x4BF8 */
MEMORY
{
FLASH (rx) : ORIGIN = 0x08002000, LENGTH = 54K
FLASH (rx) : ORIGIN = 0x0800B000, LENGTH = 0x4BF8
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 8K
}