STM32——Modify MCU steps

Publisher:快乐飞翔Latest update time:2017-10-29 Source: eefocusKeywords:STM32 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

When we write a project, we can change the MCU and STM32 project by modifying a few places without having to create a new project.

Here we take the STM32 large capacity to medium capacity as an example:

1. Replace startup_stm32f10x_hd.s in the project with startup_stm32f10x_md.s;

2. Click the magic wand (Options for target)

A. Click Device and select the type of replacement in the selected serial port;

B. Click C/C++, and in Define: change STM32F10X_HD to STM32F10X_MD;

C. If you use J-LINK to download, click Debug -> Settings -> Flash Download, and change the stm32 flash under Programming Algorithm to medium capacity.

3. Compile, download and verify.


Keywords:STM32 Reference address:STM32——Modify MCU steps

Previous article:STM32 - tick timer
Next article:About the problem of garbled characters in the first character of the STM32 serial port

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号