From cf08c6eab8c62fcc8595af0067e838b12e32f3cc Mon Sep 17 00:00:00 2001 From: andy <1414772332@qq.com> Date: Sun, 12 Oct 2025 17:11:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E4=B8=BA2M=20flash?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/launch.json | 4 ++-- .vscode/tasks.json | 8 ++++---- Project/stm32f429ighx_flash.ld | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index e421dd2..88dbc56 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,5 +1,5 @@ { - // 使用 IntelliSense 了解相关属性。 + // 使用 IntelliSense 了解相关属性。 // 悬停以查看现有属性的描述。 // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", @@ -31,7 +31,7 @@ "showDevDebugOutput": "raw", "servertype": "jlink", "serverpath": "tools/v7.50a/JLinkGDBServerCL.exe", - "device": "stm32f429ig", + "device": "stm32f429bi", "interface": "swd", "loadFiles": [], "svdFile": "Project/STM32F429.svd", diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 179ffb4..525f088 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -37,10 +37,10 @@ "type": "shell", "command": "tools/v7.50a/JLink.exe", "args": [ - "-autoconnect", "1", - "-device", "stm32f429ig", - "-if", "swd", - "-speed", "4000", + "-autoconnect", "1", + "-device", "stm32f429bi", + "-if", "swd", + "-speed", "4000", "-commandfile", "download.jlink" ], "group": "build", diff --git a/Project/stm32f429ighx_flash.ld b/Project/stm32f429ighx_flash.ld index 641113b..925aee2 100644 --- a/Project/stm32f429ighx_flash.ld +++ b/Project/stm32f429ighx_flash.ld @@ -63,7 +63,7 @@ MEMORY { RAM (xrw) : ORIGIN = 0x2000000C, LENGTH = 0x0002FFF4 CCMRAM (xrw) : ORIGIN = 0x10000000, LENGTH = 64K -FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 1024K +FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 2048K } /* Define output sections */