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
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- How to choose the inductor of BOOST boost power supply?
- "Invite you to disassemble" Episode 1 --- Xiaomi 45W charging head disassembly
- The experience of debugging L-band RF power amplifier is in "2019.1.1" for your reference
- 2021 ON Semiconductor Avnet RSL10 Bluetooth SoC Development and Design Competition 4th Post (Bluetooth Current)
- MSP430FR5969 Remote Upgrade
- Circuit help, how do you analyze this circuit?
- EEWORLD University Hall----Live Replay: Microchip Security Series 15 Simplifies Security Application Design with dsPIC33/PIC24 and ATECC608 Devices
- EEWORLD University - Designing Wide Input DC/DC Converters for Thermostat Applications
- Win a JD.com card! Check in at Infineon's new SiC MOSFET pop-up store
- System Antenna Design Method Based on Characteristic Mode Theory