This article describes how to use the IAR_STM8 tool chain on EIDE to complete project creation, compilation, and debugging using STM8-Debug
This article takes STM8S105K4T6 as an example
1. Create an 8/16 Bit MCU project using EIDE
Note: The STM8 project path should not contain any Chinese characters or spaces, otherwise the debugging function will not be available.
2. Create a folder in the project directory and copy the STM8S standard peripheral library to this directory
3. Add macros, in this case: STM8S105
4. Add the STM8S_StdPeriph_Driver directory to the project and exclude unused and unsupported peripherals
Exclude peripherals that are not supported by the chip and peripherals that are not needed
5. Switch to the IAR_STM8 tool chain, open the configuration, and fill in the link script name to be used
All available linker script locations: 6. Write the code and compile it 7. Fill in launch.json, connect STLink, and press F5 to start debugging EIDE will generate a default configuration that can be used as a reference
Previous article:STM8-Debug debugger usage
Next article:vscode uses SDCC to develop STM8
Recommended ReadingLatest update time:2024-11-22 16:56
- 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?
- USB Type-C® and USB Power Delivery: Designed for extended power range and battery-powered systems
- RAQ #223: How to measure and determine soft-start timing without a soft-start equation?
- RAQ #223: How to measure and determine soft-start timing without a soft-start equation?
- GigaDevice's full range of automotive-grade SPI NOR Flash GD25/55 wins ISO 26262 ASIL D functional safety certification
- GigaDevice's full range of automotive-grade SPI NOR Flash GD25/55 wins ISO 26262 ASIL D functional safety certification
- New IsoVu™ Isolated Current Probes: Bringing a New Dimension to Current Measurements
- New IsoVu™ Isolated Current Probes: Bringing a New Dimension to Current Measurements
- Infineon Technologies Launches ModusToolbox™ Motor Kit to Simplify Motor Control Development
- Infineon Technologies Launches ModusToolbox™ Motor Kit to Simplify Motor Control Development
- STMicroelectronics IO-Link Actuator Board Brings Turnkey Reference Design to Industrial Monitoring and Equipment Manufacturers
- Stepper Motor Control System for Packaging Machine
- Detailed analysis of module timers based on MCU
- Summary of vscode development process for STM32
- Verification of extremely small signals
- SparkRoad realizes VGA display
- Application of Modbus Plus network in large kneading machine control system
- JTAG Emulator
- A design of voltage output DAC circuit based on PWM
- The close connection between crystal oscillator and Bluetooth technology
- ADI's most popular technical articles