Search found 5 matches

by tenbaht
Mon Oct 16, 2017 8:27 am
Forum: STM8
Topic: Introducing Sduino for the STM8
Replies: 8
Views: 242

Re: Introducing Sduino for the STM8

Hi danny, Yes, the SPL is a memory hog and quite complicated to use. The only advantage I can see in using it would be to be prepared for an easier migration to the STM32. That's why I don't use it for Sduino anymore. It is still part of the source code, but the only function still used is the seria...
by tenbaht
Thu Oct 12, 2017 7:15 am
Forum: STM8
Topic: Introducing Sduino for the STM8
Replies: 8
Views: 242

Re: Introducing Sduino for the STM8

Yes, it's the SDCC. I would love to integrate it into the IDE. I tried that at the beginning, but I never got it to work without having at least one C++ input file. I don't remember the full details anymore, but it was something about a hardwired assumption about filename extentions in this build pr...
by tenbaht
Wed Oct 11, 2017 9:20 pm
Forum: STM8
Topic: Introducing Sduino for the STM8
Replies: 8
Views: 242

Re: Introducing Sduino for the STM8

Hi Roger! Yes, that's what I did. Use pure C, but thanks to some preprocessor magic it almost looks like C++. In many cases you get away with a simple search-and-replace to exchange all class-dots with underscores. Converting an existing Arduino library is harder, though. It would be great if somebo...
by tenbaht
Wed Oct 11, 2017 4:14 pm
Forum: STM8
Topic: Is arduino work with STM8 board
Replies: 2
Views: 359

Re: Is arduino work with STM8 board

So far there is no free C++ compiler for the STM8, hence full Arduino does not work.

But last year I posted a project on https://github.com/tenbaht/sduino to get as closely to Arduino as possible by using pure C with some preprocessor magic. Maybe that can work for you?

Michael
by tenbaht
Wed Oct 11, 2017 4:06 pm
Forum: STM8
Topic: Introducing Sduino for the STM8
Replies: 8
Views: 242

Introducing Sduino for the STM8

Hi,

last year I adopted the Arduino environment as closely as possible for the STM8. Now user Kenjutsu suggested to link the STM8 board of this forum from my project website as a place for general discussions about my project. I hope that is ok? So far I didn't post any links.

Michael