From ead037b77db7259df4f5aab72fb21d51f7ed4134 Mon Sep 17 00:00:00 2001
From: qianjiuyuan <149981328+heyQianJiu@users.noreply.github.com>
Date: Sun, 11 May 2025 00:37:37 +0800
Subject: [PATCH] =?UTF-8?q?[bsp]=E5=8B=98=E8=AF=AF=EF=BC=9Abluepill(f103c8?=
=?UTF-8?q?t6)=E7=9A=84flash=E6=98=AF64kb?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
原bsp设置的flash是128kb,可能会出问题,详见README_zh:在出厂时,STM32F103C8T6仅对前64KB进行了测试和认证,因此官方文档中仅标注为64KB。
---
bsp/stm32/stm32f103-blue-pill/README_zh.md | 6 +
bsp/stm32/stm32f103-blue-pill/board/board.h | 2 +-
.../board/linker_scripts/link.icf | 4 +-
.../board/linker_scripts/link.lds | 2 +-
.../board/linker_scripts/link.sct | 4 +-
bsp/stm32/stm32f103-blue-pill/project.uvoptx | 16 +-
bsp/stm32/stm32f103-blue-pill/project.uvprojx | 235 ++++++++++++------
bsp/stm32/stm32f103-blue-pill/template.uvoptx | 16 +-
.../stm32f103-blue-pill/template.uvprojx | 32 +--
9 files changed, 201 insertions(+), 116 deletions(-)
diff --git a/bsp/stm32/stm32f103-blue-pill/README_zh.md b/bsp/stm32/stm32f103-blue-pill/README_zh.md
index fa65db2438e..23da3b7ef51 100644
--- a/bsp/stm32/stm32f103-blue-pill/README_zh.md
+++ b/bsp/stm32/stm32f103-blue-pill/README_zh.md
@@ -61,6 +61,8 @@ STM32F103C8T6最小系统,采用SWD调试接口,可以用3个接口就能完
本章节是为需要在 RT-Thread 操作系统上使用更多开发板资源的开发者准备的。通过使用 ENV 工具对 BSP 进行配置,可以开启更多板载资源,实现更多高级功能。
+- 关于flash
+ 本章节是对Flash设置的一些简单介绍
### 快速上手
@@ -111,6 +113,10 @@ msh >
本章节更多详细的介绍请参考 [STM32 系列 BSP 外设驱动使用教程](../docs/STM32系列BSP外设驱动使用教程.md)。
+### 关于Flash
+STM32F103C8T6的Flash容量在官方文档中标注为64KB,但实际上,该芯片的Flash容量为128KB。这是因为STM32F103C8T6和STM32F103CBT6(128KB Flash)是基于同一芯片制造的,但在出厂时,STM32F103C8T6仅对前64KB进行了测试和认证,因此官方文档中仅标注为64KB。
+
+所以,超出64KB范围的程序可能会出问题,不建议使用。
## 注意事项
diff --git a/bsp/stm32/stm32f103-blue-pill/board/board.h b/bsp/stm32/stm32f103-blue-pill/board/board.h
index 35fb86ea509..259a1cdbaee 100644
--- a/bsp/stm32/stm32f103-blue-pill/board/board.h
+++ b/bsp/stm32/stm32f103-blue-pill/board/board.h
@@ -18,7 +18,7 @@ extern "C" {
#endif
#define STM32_FLASH_START_ADRESS ((uint32_t)0x08000000)
-#define STM32_FLASH_SIZE (128 * 1024)
+#define STM32_FLASH_SIZE (64 * 1024)
#define STM32_FLASH_END_ADDRESS ((uint32_t)(STM32_FLASH_START_ADRESS + STM32_FLASH_SIZE))
/* Internal SRAM memory size[Kbytes] <8-64>, Default: 64*/
diff --git a/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.icf b/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.icf
index 758734c181f..6cd6ff4febd 100644
--- a/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.icf
+++ b/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.icf
@@ -5,9 +5,9 @@
define symbol __ICFEDIT_intvec_start__ = 0x08000000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
-define symbol __ICFEDIT_region_ROM_end__ = 0x0801FFFF;
+define symbol __ICFEDIT_region_ROM_end__ = 0x08010000;
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
-define symbol __ICFEDIT_region_RAM_end__ = 0x20004FFF;
+define symbol __ICFEDIT_region_RAM_end__ = 0x20005000;
/*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x0400;
define symbol __ICFEDIT_size_heap__ = 0x000;
diff --git a/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.lds b/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.lds
index 5a45f64a27f..b6491391c51 100644
--- a/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.lds
+++ b/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.lds
@@ -5,7 +5,7 @@
/* Program Entry, set to mark it as "used" and avoid gc */
MEMORY
{
- ROM (rx) : ORIGIN = 0x08000000, LENGTH = 128k /* 128KB flash */
+ ROM (rx) : ORIGIN = 0x08000000, LENGTH = 64k /* 64K flash */
RAM (rw) : ORIGIN = 0x20000000, LENGTH = 20k /* 20K sram */
}
ENTRY(Reset_Handler)
diff --git a/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.sct b/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.sct
index f67cd68761e..6930ff4b508 100644
--- a/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.sct
+++ b/bsp/stm32/stm32f103-blue-pill/board/linker_scripts/link.sct
@@ -2,8 +2,8 @@
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************
-LR_IROM1 0x08000000 0x00020000 { ; load region size_region
- ER_IROM1 0x08000000 0x00020000 { ; load address = execution address
+LR_IROM1 0x08000000 0x00010000 { ; load region size_region
+ ER_IROM1 0x08000000 0x00010000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
diff --git a/bsp/stm32/stm32f103-blue-pill/project.uvoptx b/bsp/stm32/stm32f103-blue-pill/project.uvoptx
index 6b86012fd76..92e5e29a5ab 100644
--- a/bsp/stm32/stm32f103-blue-pill/project.uvoptx
+++ b/bsp/stm32/stm32f103-blue-pill/project.uvoptx
@@ -10,7 +10,7 @@
*.s*; *.src; *.a*
*.obj; *.o
*.lib
- *.txt; *.h; *.inc
+ *.txt; *.h; *.inc; *.md
*.plm
*.cpp
0
@@ -26,7 +26,7 @@
0x4
ARM-ADS
- 8000000
+ 12000000
1
1
@@ -103,7 +103,7 @@
1
0
0
- 6
+ 0
@@ -114,18 +114,13 @@
- STLink\ST-LINKIII-KEIL_SWO.dll
+ BIN\UL2CM3.DLL
0
UL2CM3
- UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0STM32F10x_128 -FL020000 -FS08000000 -FP0($$Device:STM32F103CB$Flash\STM32F10x_128.FLM)
-
-
- 0
- ST-LINKIII-KEIL_SWO
- -U -O206 -SF4000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P2 -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128.FLM -FS08000000 -FL020000 -FP0($$Device:STM32F103CB$Flash\STM32F10x_128.FLM)
+ UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0STM32F10x_128 -FL020000 -FS08000000 -FP0($$Device:STM32F103C8$Flash\STM32F10x_128.FLM)
@@ -173,6 +168,7 @@
1
+ 0
0
2
10000000
diff --git a/bsp/stm32/stm32f103-blue-pill/project.uvprojx b/bsp/stm32/stm32f103-blue-pill/project.uvprojx
index 29c95ca8291..791d551637e 100644
--- a/bsp/stm32/stm32f103-blue-pill/project.uvprojx
+++ b/bsp/stm32/stm32f103-blue-pill/project.uvprojx
@@ -7,19 +7,20 @@
rt-thread
0x4
ARM-ADS
+ 5060960::V5.06 update 7 (build 960)::.\armcompiler5
0
- STM32F103CB
+ STM32F103C8
STMicroelectronics
- Keil.STM32F1xx_DFP.2.3.0
- http://www.keil.com/pack/
- IRAM(0x20000000,0x00005000) IROM(0x08000000,0x00020000) CPUTYPE("Cortex-M3") CLOCK(12000000) ELITTLE
+ Keil.STM32F1xx_DFP.2.4.1
+ https://www.keil.com/pack/
+ IRAM(0x20000000,0x00005000) IROM(0x08000000,0x00010000) CPUTYPE("Cortex-M3") CLOCK(12000000) ELITTLE
- UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000 -FP0($$Device:STM32F103CB$Flash\STM32F10x_128.FLM))
+ UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000 -FP0($$Device:STM32F103C8$Flash\STM32F10x_128.FLM))
0
- $$Device:STM32F103CB$Device\Include\stm32f10x.h
+ $$Device:STM32F103C8$Device\Include\stm32f10x.h
@@ -29,7 +30,7 @@
- $$Device:STM32F103CB$SVD\STM32F103xx.svd
+ $$Device:STM32F103C8$SVD\STM32F103xx.svd
0
0
@@ -107,12 +108,12 @@
SARMCM3.DLL
-REMAP
- DARMSTM.DLL
- -pSTM32F103CB
+ DCM.DLL
+ -pCM3
SARMCM3.DLL
- TARMSTM.DLL
- pSTM32F103CB
+ TCM.DLL
+ -pCM3
@@ -180,6 +181,9 @@
0
0
0
+ 0
+ 0
+ 0
0
0
8
@@ -245,7 +249,7 @@
1
0x8000000
- 0x20000
+ 0x10000
0
@@ -270,7 +274,7 @@
1
0x8000000
- 0x20000
+ 0x10000
1
@@ -331,9 +335,9 @@
0
- STM32F103xB, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, USE_HAL_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__
+ __RTTHREAD__, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, USE_HAL_DRIVER, RT_USING_LIBC, RT_USING_ARMLIBC
- ..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\cortex-m3;..\libraries\HAL_Drivers\CMSIS\Include;..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Include;..\..\..\components\libc\compilers\common\include;..\libraries\HAL_Drivers\drivers;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers\drivers\config;..\..\..\components\finsh;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\common;..\libraries\HAL_Drivers;..\..\..\components\drivers\include;..\..\..\include;board;applications;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;.;..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Inc;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc
+ ..\..\..\libcpu\arm\common;..\..\..\components\drivers\smp_call;board;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;packages\stm32f1_hal_driver-latest\Inc;..\..\..\components\libc\posix\io\poll;packages\CMSIS-Core-latest\Include;..\..\..\components\finsh;packages\stm32f1_cmsis_driver-latest\Include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;board\CubeMX_Config\Inc;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;..\libraries\HAL_Drivers\drivers;applications;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\include;..\libraries\HAL_Drivers\drivers\config;..\libraries\HAL_Drivers;.;..\..\..\components\drivers\include;..\..\..\components\drivers\include
@@ -346,7 +350,7 @@
0
0
0
- 0
+ 4
@@ -466,9 +470,47 @@
- completion.c
+ completion_comm.c
1
- ..\..\..\components\drivers\ipc\completion.c
+ ..\..\..\components\drivers\ipc\completion_comm.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ completion_up.c
+ 1
+ ..\..\..\components\drivers\ipc\completion_up.c
+
+
+
+
+
+ __RT_IPC_SOURCE__
+
+
+
+
+
+
+
+
+
+
+ condvar.c
+ 1
+ ..\..\..\components\drivers\ipc\condvar.c
@@ -599,9 +641,9 @@
- pin.c
+ dev_pin.c
1
- ..\..\..\components\drivers\pin\pin.c
+ ..\..\..\components\drivers\pin\dev_pin.c
@@ -618,9 +660,9 @@
- serial.c
+ dev_serial.c
1
- ..\..\..\components\drivers\serial\serial.c
+ ..\..\..\components\drivers\serial\dev_serial.c
@@ -659,13 +701,6 @@
..\libraries\HAL_Drivers\drv_common.c
-
-
- startup_stm32f103xb.s
- 2
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xb.s
-
-
stm32f1xx_hal_msp.c
@@ -685,30 +720,30 @@
Finsh
- shell.c
+ msh_parse.c
1
- ..\..\..\components\finsh\shell.c
+ ..\..\..\components\finsh\msh_parse.c
- msh.c
+ cmd.c
1
- ..\..\..\components\finsh\msh.c
+ ..\..\..\components\finsh\cmd.c
- msh_parse.c
+ msh.c
1
- ..\..\..\components\finsh\msh_parse.c
+ ..\..\..\components\finsh\msh.c
- cmd.c
+ shell.c
1
- ..\..\..\components\finsh\cmd.c
+ ..\..\..\components\finsh\shell.c
@@ -754,9 +789,9 @@
- idle.c
+ cpu_up.c
1
- ..\..\..\src\idle.c
+ ..\..\..\src\cpu_up.c
@@ -773,9 +808,9 @@
- ipc.c
+ defunct.c
1
- ..\..\..\src\ipc.c
+ ..\..\..\src\defunct.c
@@ -792,9 +827,9 @@
- irq.c
+ idle.c
1
- ..\..\..\src\irq.c
+ ..\..\..\src\idle.c
@@ -811,9 +846,9 @@
- kstdio.c
+ ipc.c
1
- ..\..\..\src\klibc\kstdio.c
+ ..\..\..\src\ipc.c
@@ -830,9 +865,9 @@
- kstring.c
+ irq.c
1
- ..\..\..\src\klibc\kstring.c
+ ..\..\..\src\irq.c
@@ -868,9 +903,9 @@
- mem.c
+ memheap.c
1
- ..\..\..\src\mem.c
+ ..\..\..\src\memheap.c
@@ -1000,6 +1035,44 @@
+
+ klibc
+
+
+ rt_vsnprintf_tiny.c
+ 1
+ ..\..\..\src\klibc\rt_vsnprintf_tiny.c
+
+
+
+
+ kstring.c
+ 1
+ ..\..\..\src\klibc\kstring.c
+
+
+
+
+ kerrno.c
+ 1
+ ..\..\..\src\klibc\kerrno.c
+
+
+
+
+ kstdio.c
+ 1
+ ..\..\..\src\klibc\kstdio.c
+
+
+
+
+ rt_vsscanf.c
+ 1
+ ..\..\..\src\klibc\rt_vsscanf.c
+
+
+
libcpu
@@ -1039,96 +1112,106 @@
- Libraries
+ STM32F1-CMSIS
- stm32f1xx_hal_rcc_ex.c
+ system_stm32f1xx.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc_ex.c
+ packages\stm32f1_cmsis_driver-latest\Source\Templates\system_stm32f1xx.c
- stm32f1xx_hal_cortex.c
+ startup_stm32f103xb.s
+ 2
+ packages\stm32f1_cmsis_driver-latest\Source\Templates\arm\startup_stm32f103xb.s
+
+
+
+
+ STM32F1-HAL
+
+
+ stm32f1xx_hal_dma.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cortex.c
+ packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_dma.c
- stm32f1xx_hal_gpio_ex.c
+ stm32f1xx_hal.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio_ex.c
+ packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal.c
- stm32f1xx_hal_rcc.c
+ stm32f1xx_hal_usart.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_rcc.c
+ packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_usart.c
- stm32f1xx_hal_pwr.c
+ stm32f1xx_hal_rcc.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_pwr.c
+ packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_rcc.c
- stm32f1xx_hal_dma.c
+ stm32f1xx_hal_cortex.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_dma.c
+ packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_cortex.c
- stm32f1xx_hal_crc.c
+ stm32f1xx_hal_rcc_ex.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_crc.c
+ packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_rcc_ex.c
- system_stm32f1xx.c
+ stm32f1xx_hal_pwr.c
1
- ..\libraries\STM32F1xx_HAL\CMSIS\Device\ST\STM32F1xx\Source\Templates\system_stm32f1xx.c
+ packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_pwr.c
- stm32f1xx_hal_uart.c
+ stm32f1xx_hal_cec.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_uart.c
+ packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_cec.c
- stm32f1xx_hal.c
+ stm32f1xx_hal_gpio.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal.c
+ packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_gpio.c
- stm32f1xx_hal_cec.c
+ stm32f1xx_hal_uart.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_cec.c
+ packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_uart.c
- stm32f1xx_hal_usart.c
+ stm32f1xx_hal_gpio_ex.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_usart.c
+ packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_gpio_ex.c
- stm32f1xx_hal_gpio.c
+ stm32f1xx_hal_crc.c
1
- ..\libraries\STM32F1xx_HAL\STM32F1xx_HAL_Driver\Src\stm32f1xx_hal_gpio.c
+ packages\stm32f1_hal_driver-latest\Src\stm32f1xx_hal_crc.c
diff --git a/bsp/stm32/stm32f103-blue-pill/template.uvoptx b/bsp/stm32/stm32f103-blue-pill/template.uvoptx
index 6b86012fd76..92e5e29a5ab 100644
--- a/bsp/stm32/stm32f103-blue-pill/template.uvoptx
+++ b/bsp/stm32/stm32f103-blue-pill/template.uvoptx
@@ -10,7 +10,7 @@
*.s*; *.src; *.a*
*.obj; *.o
*.lib
- *.txt; *.h; *.inc
+ *.txt; *.h; *.inc; *.md
*.plm
*.cpp
0
@@ -26,7 +26,7 @@
0x4
ARM-ADS
- 8000000
+ 12000000
1
1
@@ -103,7 +103,7 @@
1
0
0
- 6
+ 0
@@ -114,18 +114,13 @@
- STLink\ST-LINKIII-KEIL_SWO.dll
+ BIN\UL2CM3.DLL
0
UL2CM3
- UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0STM32F10x_128 -FL020000 -FS08000000 -FP0($$Device:STM32F103CB$Flash\STM32F10x_128.FLM)
-
-
- 0
- ST-LINKIII-KEIL_SWO
- -U -O206 -SF4000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P2 -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128.FLM -FS08000000 -FL020000 -FP0($$Device:STM32F103CB$Flash\STM32F10x_128.FLM)
+ UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0STM32F10x_128 -FL020000 -FS08000000 -FP0($$Device:STM32F103C8$Flash\STM32F10x_128.FLM)
@@ -173,6 +168,7 @@
1
+ 0
0
2
10000000
diff --git a/bsp/stm32/stm32f103-blue-pill/template.uvprojx b/bsp/stm32/stm32f103-blue-pill/template.uvprojx
index 44b709951f0..f2d887f6724 100644
--- a/bsp/stm32/stm32f103-blue-pill/template.uvprojx
+++ b/bsp/stm32/stm32f103-blue-pill/template.uvprojx
@@ -10,19 +10,20 @@
rt-thread
0x4
ARM-ADS
+ 5060960::V5.06 update 7 (build 960)::.\armcompiler5
0
- STM32F103CB
+ STM32F103C8
STMicroelectronics
- Keil.STM32F1xx_DFP.2.3.0
- http://www.keil.com/pack/
- IRAM(0x20000000,0x00005000) IROM(0x08000000,0x00020000) CPUTYPE("Cortex-M3") CLOCK(12000000) ELITTLE
+ Keil.STM32F1xx_DFP.2.4.1
+ https://www.keil.com/pack/
+ IRAM(0x20000000,0x00005000) IROM(0x08000000,0x00010000) CPUTYPE("Cortex-M3") CLOCK(12000000) ELITTLE
- UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000 -FP0($$Device:STM32F103CB$Flash\STM32F10x_128.FLM))
+ UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000 -FP0($$Device:STM32F103C8$Flash\STM32F10x_128.FLM))
0
- $$Device:STM32F103CB$Device\Include\stm32f10x.h
+ $$Device:STM32F103C8$Device\Include\stm32f10x.h
@@ -32,7 +33,7 @@
- $$Device:STM32F103CB$SVD\STM32F103xx.svd
+ $$Device:STM32F103C8$SVD\STM32F103xx.svd
0
0
@@ -110,12 +111,12 @@
SARMCM3.DLL
-REMAP
- DARMSTM.DLL
- -pSTM32F103CB
+ DCM.DLL
+ -pCM3
SARMCM3.DLL
- TARMSTM.DLL
- pSTM32F103CB
+ TCM.DLL
+ -pCM3
@@ -183,6 +184,9 @@
0
0
0
+ 0
+ 0
+ 0
0
0
8
@@ -248,7 +252,7 @@
1
0x8000000
- 0x20000
+ 0x10000
0
@@ -273,7 +277,7 @@
1
0x8000000
- 0x20000
+ 0x10000
1
@@ -349,7 +353,7 @@
0
0
0
- 0
+ 4