This article describes how to use the IAR_STM8 tool chain on EIDE to complete project compilation and use STM8-Debug to complete debugging
This article takes STM8S105K4T6 as an example
1. Create an 8/16 Bit MCU project using EIDE
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 scripts are located in:
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
This template has been uploaded and can be created directly from the template via EIDE
Previous article:出现“Unable to create configuration 'Debug' using tool chain ‘STM8’
Next article:STM8 STM8S208MB registers
Recommended ReadingLatest update time:2024-11-22 20:33
- Popular Resources
- Popular amplifiers
- 【2024 DigiKey Creative Competition】+ Portable Infrared Smart Smoking Device-Source Code
- 【2024 DigiKey Creative Competition】Use esp32-s3-lcd-ev-board to make a Huarongdao puzzle game
- Main control part of automatic watering device
- IAR fully supports the new industrial-grade PX5 real-time operating system
- 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?
- 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
- Another technical solution for power-type plug-in hybrid: A brief discussion on Volvo T8 plug-in hybrid technology
- Infrared thermal imager recommendation
- V853 Replace the startup LOGO
- The problem of the servo not rotating when the nodemcu esp8266 development board drives it
- Mentor Usage Problems
- Ethernet Problems
- If you want to know whether the signal generated by the signal generator or function generator is ready or whether it is input according to the set value standard...
- MicroPython precompiled firmware for TB-01 (W600)
- Is it necessary to attend Altium's offline training?
- Ground Design Tips
- How to prevent audio equipment from aging and make the sound better