From 6f48cb79d17eee3319c0e1f71e20c6ca66f5e574 Mon Sep 17 00:00:00 2001
From: yby <115077689+yby-oy@users.noreply.github.com>
Date: Mon, 30 Oct 2023 01:15:05 +0800
Subject: [PATCH] [bsp] Fixed bug of msp432e401y bsp chip model error after
mdk5 open. (#8193)
---
bsp/msp432e401y-LaunchPad/project.uvprojx | 57 ++++++++++------------
bsp/msp432e401y-LaunchPad/template.uvprojx | 55 ++++++++++-----------
2 files changed, 53 insertions(+), 59 deletions(-)
diff --git a/bsp/msp432e401y-LaunchPad/project.uvprojx b/bsp/msp432e401y-LaunchPad/project.uvprojx
index bfb8f7220b..e148bac8cf 100644
--- a/bsp/msp432e401y-LaunchPad/project.uvprojx
+++ b/bsp/msp432e401y-LaunchPad/project.uvprojx
@@ -11,26 +11,26 @@
0
- TM4C123GH6PM
+ MSP432P401Y
Texas Instruments
- Keil.TM4C_DFP.1.1.0
- http://www.keil.com/pack/
- IROM(0x00000000,0x040000) IRAM(0x20000000,0x008000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
+ TexasInstruments.MSP432P4xx_DFP.3.2.6
+ http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/msp432cmsis/latest/exports/
+ IRAM(0x20000000,0x00040000) IRAM2(0x01000000,0x00040000) IROM(0x00000000,0x00100000) IROM2(0x00200000,0x00008000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
- UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0TM4C123_256 -FS00 -FL040000 -FP0($$Device:TM4C123GH6PM$Flash\TM4C123_256.FLM))
- 6015
- $$Device:TM4C123GH6PM$Device\Include\TM4C123\TM4C123.h
+ UL2CM3(-S0 -C0 -P0 -FD01000000 -FC3E000 -FN2 -FF0MSP432P4xx_MainFlash1024kB -FS00 -FL0100000 -FF1MSP432P4xx_InfoFlash -FS1200000 -FL18000 -FP0($$Device:MSP432P401Y$FlashARM\MSP432P4xx_MainFlash1024kB.FLM) -FP1($$Device:MSP432P401Y$FlashARM\MSP432P4xx_InfoFlash.FLM))
+ 0
+ $$Device:MSP432P401Y$Device\Include\msp.h
- -DTM4C123GH6PM
+
- $$Device:TM4C123GH6PM$SVD\TM4C123\TM4C123GH6PM.svd
+ $$Device:MSP432P401Y$SVD\MSP432P401Y.svd
0
0
@@ -107,11 +107,11 @@
SARMCM3.DLL
- -MPU
+ -MPU
DCM.DLL
-pCM4
SARMCM3.DLL
- -MPU
+ -MPU
TCM.DLL
-pCM4
@@ -135,7 +135,7 @@
1
BIN\UL2CM3.DLL
- "" ()
+
@@ -181,18 +181,15 @@
0
0
2
- 0
- 0
- 0
- 0
- 0
+ 1
+ 1
8
0
0
0
0
- 3
- 3
+ 4
+ 4
0
0
0
@@ -204,7 +201,7 @@
0
0
1
- 0
+ 1
0
0
0
@@ -244,12 +241,12 @@
0
0x20000000
- 0x8000
+ 0x40000
1
0x0
- 0x40000
+ 0x100000
0
@@ -274,12 +271,12 @@
1
0x0
- 0x40000
+ 0x100000
1
- 0x0
- 0x0
+ 0x200000
+ 0x8000
0
@@ -299,12 +296,12 @@
0
0x20000000
- 0x8000
+ 0x40000
0
- 0x0
- 0x0
+ 0x1000000
+ 0x40000
@@ -337,7 +334,7 @@
__MSP432E401Y__, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, rvmdk, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
- ..\..\components\libc\posix\io\poll;..\..\components\libc\compilers\common\include;libraries\Drivers\config;libraries\msp432e4\driverlib;..\..\components\libc\compilers\common\extension;.;..\..\libcpu\arm\cortex-m4;..\..\include;applications;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\libc\posix\ipc;..\..\components\libc\posix\io\eventfd;libraries\msp432e4\driverlib\inc;..\..\components\drivers\include;libraries\Drivers\CMSIS\Include;libraries\Drivers;..\..\libcpu\arm\common;..\..\components\libc\compilers\common\extension\fcntl\octal;board;libraries\msp432e4\inc;..\..\components\libc\posix\io\epoll;..\..\components\finsh
+ libraries\msp432e4\driverlib;..\..\libcpu\arm\cortex-m4;..\..\components\drivers\include;..\..\components\libc\compilers\common\include;..\..\components\drivers\include;..\..\libcpu\arm\common;board;libraries\msp432e4\inc;..\..\components\libc\posix\io\epoll;libraries\msp432e4\driverlib\inc;..\..\components\drivers\include;..\..\components\libc\compilers\common\extension;libraries\Drivers;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\io\eventfd;..\..\components\libc\posix\ipc;..\..\components\drivers\include;..\..\components\finsh;.;applications;..\..\include;..\..\components\libc\compilers\common\extension\fcntl\octal;libraries\Drivers\config;libraries\Drivers\CMSIS\Include
@@ -350,7 +347,7 @@
0
0
0
- 1
+ 0
diff --git a/bsp/msp432e401y-LaunchPad/template.uvprojx b/bsp/msp432e401y-LaunchPad/template.uvprojx
index 7c72407a76..60555b2239 100644
--- a/bsp/msp432e401y-LaunchPad/template.uvprojx
+++ b/bsp/msp432e401y-LaunchPad/template.uvprojx
@@ -14,26 +14,26 @@
0
- TM4C123GH6PM
+ MSP432P401Y
Texas Instruments
- Keil.TM4C_DFP.1.1.0
- http://www.keil.com/pack/
- IROM(0x00000000,0x040000) IRAM(0x20000000,0x008000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
+ TexasInstruments.MSP432P4xx_DFP.3.2.6
+ http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/msp432cmsis/latest/exports/
+ IRAM(0x20000000,0x00040000) IRAM2(0x01000000,0x00040000) IROM(0x00000000,0x00100000) IROM2(0x00200000,0x00008000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
- UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0TM4C123_256 -FS00 -FL040000 -FP0($$Device:TM4C123GH6PM$Flash\TM4C123_256.FLM))
- 6015
- $$Device:TM4C123GH6PM$Device\Include\TM4C123\TM4C123.h
+ UL2CM3(-S0 -C0 -P0 -FD01000000 -FC3E000 -FN2 -FF0MSP432P4xx_MainFlash1024kB -FS00 -FL0100000 -FF1MSP432P4xx_InfoFlash -FS1200000 -FL18000 -FP0($$Device:MSP432P401Y$FlashARM\MSP432P4xx_MainFlash1024kB.FLM) -FP1($$Device:MSP432P401Y$FlashARM\MSP432P4xx_InfoFlash.FLM))
+ 0
+ $$Device:MSP432P401Y$Device\Include\msp.h
- -DTM4C123GH6PM
+
- $$Device:TM4C123GH6PM$SVD\TM4C123\TM4C123GH6PM.svd
+ $$Device:MSP432P401Y$SVD\MSP432P401Y.svd
0
0
@@ -110,11 +110,11 @@
SARMCM3.DLL
- -MPU
+ -MPU
DCM.DLL
-pCM4
SARMCM3.DLL
- -MPU
+ -MPU
TCM.DLL
-pCM4
@@ -138,7 +138,7 @@
1
BIN\UL2CM3.DLL
- "" ()
+
@@ -184,18 +184,15 @@
0
0
2
- 0
- 0
- 0
- 0
- 0
+ 1
+ 1
8
0
0
0
0
- 3
- 3
+ 4
+ 4
0
0
0
@@ -207,7 +204,7 @@
0
0
1
- 0
+ 1
0
0
0
@@ -247,12 +244,12 @@
0
0x20000000
- 0x8000
+ 0x40000
1
0x0
- 0x40000
+ 0x100000
0
@@ -277,12 +274,12 @@
1
0x0
- 0x40000
+ 0x100000
1
- 0x0
- 0x0
+ 0x200000
+ 0x8000
0
@@ -302,12 +299,12 @@
0
0x20000000
- 0x8000
+ 0x40000
0
- 0x0
- 0x0
+ 0x1000000
+ 0x40000
@@ -353,7 +350,7 @@
0
0
0
- 1
+ 0