STM8L151
Setup:
SDCC compiller
Installstm8flash
InstallPrepare SPL
- Go to st.com
- Search for STM8 SPL and download it
- Dowload patch
- Extract SPL, add patch and script and run it
Install toolchain
At least something is easy on Ubuntu ;)
- Add repository:
sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
- Install:
sudo apt-get update && sudo apt-get install gcc-arm-embedded
Preparing code
- Clone repository
- Copy patched SPL into it
make
flash