Use SDCC+STM8Flash+STLink to build Linux development STM8 development environment. Corresponding MCS51, LPC and the like can also use SDCC
1. Install SDCC
$ sudo apt-get install sdcc
2. Install stm8flash
git clone https://github.com/vdudouyt/stm8flash.git
cd stm8flash
make
sudo make install
3. Install STlink driver
Requirements before installation
1.libusb-1.0
1.1:sudo apt-get install libusb-dev
1.2:sudo apt-get install libusb-1.0-0-dev
2.cmake
2.1:sudo add-apt-repository ppa:george-edison55/cmake-3.x
2.2:sudo apt-get update
2.3:sudo apt-get install cmake
git clone https://github.com/texane/stlink.git
cd stlink
make
cd build/Release && make install DESTDIR=_install
Copy st-flash to /usr/bin
Previous article:STVP programming failure prompt
Next article:IAR has SWIM error [30004]
Recommended ReadingLatest update time:2024-11-23 08:22
- 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
- Transmission Line
- Ding~~The weekly evaluation information has been delivered, please receive it~~
- How to change the PIN pin of the segment code LCD screen with zebra stripes?
- How to copy schematic symbols or packages from the built-in library to a new library in PADS
- C Language Zone (I) Primary School Questions
- Automobile electronic instrument combination based on single chip microcomputer
- How to amplify uV signal?
- MC33078-9 Dual Quad Low Noise Operational Amplifier.rar
- A low-cost peak detector requiring only a few components WORD format
- NeoPixel Clock Using ESP8266