Search found 8 matches

by tenbaht
Wed Dec 06, 2017 12:39 pm
Forum: STM8
Topic: Introducing Sduino for the STM8
Replies: 16
Views: 1156

Re: Introducing Sduino for the STM8

gungsukma wrote:
Mon Nov 27, 2017 7:31 am
Please add a menu or something to unlock the protected chip
Good suggestion, thank you. I set up a feature request: https://github.com/tenbaht/sduino/issues/37
I am little busy right now, but I will look into it as soon as time permits.
by tenbaht
Wed Dec 06, 2017 12:31 pm
Forum: STM8
Topic: Introducing Sduino for the STM8
Replies: 16
Views: 1156

Re: Introducing Sduino for the STM8

No, you are not expected to copy library files. It should just work - the same way it does for the regular Arduino libs. But it only works for libraries that are modified for use with Sduino as most Arduino libs are written in C++ instead of plain C.

What exactly are you trying to do?
by tenbaht
Mon Oct 23, 2017 9:01 pm
Forum: STM8
Topic: Introducing Sduino for the STM8
Replies: 16
Views: 1156

Re: Introducing Sduino for the STM8

STM8 support in SDCC is progressing fast in the last 12 months and IMHO perfectly production ready. The code size still seems to be bigger than with the commercial compilers, but I never investigated in detail how big the difference really is. I really love the very direct access to the inner workin...
by tenbaht
Mon Oct 16, 2017 8:27 am
Forum: STM8
Topic: Introducing Sduino for the STM8
Replies: 16
Views: 1156

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: 16
Views: 1156

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: 16
Views: 1156

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: 616

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: 16
Views: 1156

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