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.
Previous article:STM32 - tick timer
Next article:About the problem of garbled characters in the first character of the STM32 serial port
Recommended ReadingLatest update time:2024-11-23 19:08
- Popular Resources
- Popular amplifiers
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- [GD32L233C-START Review] Part 3 PWM driving breathing light
- 【AT-START-F425 Review】 5. Brief analysis of timer interrupt code and implementation of breathing light
- CC2652LP driving Δ∑ ADC - ADS1261
- Toyota car machine disassembly suitable for DIY modification
- STM32 serial port baud rate calculation
- [Help] GD32 proteus simulation
- CC4018------Can preset 1-N counter.
- 6 ways to convert a three-phase motor to a single-phase motor
- Karaoke vocal enhancement circuit
- It’s too difficult for beginners.