改为2M flash

This commit is contained in:
2025-10-12 17:11:51 +08:00
parent 653d3cfcc9
commit cf08c6eab8
3 changed files with 7 additions and 7 deletions

4
.vscode/launch.json vendored
View File

@@ -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",

8
.vscode/tasks.json vendored
View File

@@ -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",

View File

@@ -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 */