STM32不同型号的芯片对应的启动文件如何选择

本文档详细介绍了STM32F10x系列的不同启动文件与器件密度的关系,包括低密度、低密度值线、中等密度、中等密度值线、高密度、高密度值线、超高密度和互联型产品。每个密度级别对应特定的Flash内存范围,并提供了相应的启动文件,如startup_stm32f10x_ld.s和startup_stm32f10x_md_vl.s等。通过在编译器预处理器中定义设备,可以方便地在这些设备间切换。
摘要由CSDN通过智能技术生成
  • startup_stm32f10x_ld_vl.s: for STM32 Low density Value line devices

  • startup_stm32f10x_ld.s: for STM32 Low density devices

  • startup_stm32f10x_md_vl.s: for STM32 Medium density Value line devices

  • startup_stm32f10x_md.s: for STM32 Medium density devices

  • startup_stm32f10x_hd.s: for STM32 High density devices

  • startup_stm32f10x_xl.s: for STM32 XL density devices

  • startup_stm32f10x_cl.s: for STM32 Connectivity line devices

cl:互联型产品,stm32f105/107系列

vl:超值型产品,stm32f100系列

xl:超高密度产品,stm32f101/103系列

ld:低密度产品,FLASH小于64K

md:中等密度产品,FLASH=64 or 128

hd:高密度产品,FLASH大于128

/*  Tip: To avoid modifying this file each time you need to switch between these
        devices, you can define the device in your toolchain compiler preprocessor.

 - Low-density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers
   where the Flash memory density ranges between 16 and 32 Kbytes.
 - Low-density value line devices are STM32F100xx microcontrollers where the Flash
   memory density ranges between 16 and 32 Kbytes.
 - Medium-density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers
   where the Flash memory density ranges between 64 and 128 Kbytes.
 - Medium-density value line devices are STM32F100xx microcontrollers where the 
   Flash memory density ranges between 64 and 128 Kbytes.   
 - High-density devices are STM32F101xx and STM32F103xx microcontrollers where
   the Flash memory density ranges between 256 and 512 Kbytes.
 - High-density value line devices are STM32F100xx microcontrollers where the 
   Flash memory density ranges between 256 and 512 Kbytes.   
 - XL-density devices are STM32F101xx and STM32F103xx microcontrollers where
   the Flash memory density ranges between 512 and 1024 Kbytes.
 - Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers.
  */

以上摘自<stm32f10x.h>
提示:为了避免每次需要在这些设备之间切换时都修改此文件,可以在工具链编译器预处理器中定义设备。

-低密度器件是STM32F101xx、STM32F102xx和STM32F103xx微控制器
其中flash范围在16-32Kbytes。对应的启动文件为:startup_stm32f10x_ld.s

-低密度超值型器件是STM32F100xx微控制器
其中flash范围在16-32Kbytes之间。对应的启动文件为:startup_stm32f10x_ld_vl.s

-中等密度设备为STM32F101xx、STM32F102xx和STM32F103xx微控制器
其中flash范围在64-128Kbytes之间。对应的启动文件为:startup_stm32f10x_md.s

-中等密度值线设备是STM32F100xx微控制器
其中flash范围在64-128Kbytes之间。对应的启动文件为:startup_stm32f10x_md_vl.s

-高密度设备是STM32F101xx和STM32F103xx微控制器
其中flash范围在256-512Kbytes之间。对应的启动文件为:startup_stm32f10x_hd.s

-高密度值线设备是STM32F100xx微控制器
其中flash范围在256-512 Kbytes之间。对应的启动文件为:startup_stm32f10x_ld_vl.s

-超高密度型器件是STM32F101xx和STM32F103xx微控制器
其中flash范围在512-1024 Kbytes之间。对应的启动文件为:startup_stm32f10x_xl.s

-互联网型设备是STM32F105xx和STM32F107xx微控制器。对应的启动文件为:startup_stm32f10x_cl.s

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

吾爱技术圈

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值