EmbDev.net

Forum: µC & Digital Electronics Hardware-independent µC core?


von Matthias U. (smurf)


Rate this post
0 useful
not useful
Hi,

the problem: my code wants to run on a couple disparate microcontrollers 
(ESP8266, "small" STM32, AVR AtMega). Besides the usual digital I/O 
which e.g. Arduino supports cross-platform I need stuff like port 
interrupts, timer interrupts, and letting the controller sleep until 
something happens.

And that's where Arduino support ends, at least without platform 
specific libraries.

The question is: Is something liek that available someplace out there? 
or do I write that kind of support code on my own (again …)?

I've scanned PlatformIO et al.; the only code like what I'm looking for 
that's listed there is Simba, which looks pretty useable but doesn't do 
timer interrupts or CPU sleep.

Ideas and pointers appreciated.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig