2018-06-13 01:44 AM
which software use for stm8l151f3 controller in linux(ubuntu)
2018-06-14 06:16 AM
You mean for development for the STM8L151F3?
Basics:
SDCC for the compiler.
stm8flash for putting the program onto the device.
Advanced:
Maybe an IDE (Eclipse or Code::Blocks)?
OpenOCD with a patched GDB for on-device debugging.
Philipp
2018-06-15 01:50 AM
Here you can find a comprehensive description how to setup a toolchaing for STM8 with SDCC:
https://stm8-binutils-gdb.sourceforge.io/
If you want to use proper headers you can grab sfr/ddf files from an IAR evaluation version and you can convert them to header files for SDCC with this tool:
2018-06-15 05:17 AM
'
which software use for stm8l151f3 controller in linux(ubuntu)'
here is an approach that some (many?) apple embedded programmers do:
1) install an emulation software on apple;
2) install a Windows within it;
3) install a Windows toolchain for your target onto that Windows.
4) start develop for embedded targets on apple!
i'm sure you can replicate that on linux as well.
2018-06-15 10:50 AM
Apple developer, buys $2000 computer, where $200 was spent on packaging materials, ponders availability of software to get the job done. Me, goes to Walmart grabs $200 laptop.
Do colleges these days not train graduates how to WRITE and USE, assemblers, compilers, linkers, loaders, etc?
2018-06-17 05:11 AM
Apple developer, buys $2000 computer, where $200 was spent on packaging materials, ponders availability of software to get the job done
And will suck with things like STVD cannot see the shared Mac folders and so on.
2018-06-17 08:57 AM
Well, SDCC is the only stm8 compiler that has macOS as an officially supported platform. In general, SDCC has the widest platform support of all compilers for the STM8. However: SDCC support for Solaris and HP-UX is considered unofficial, while AFAIK, Cosmic has official support for these two. Raisonance and IAR, on the other hand support Windows only.
Philipp
P.S.: AFAIK Raisonance and IAR work in a Windows VM on GNU/Linux. I wasn't able to get Raisonance and IAR working on GNU/Linux via wine.