C++ Kernel on 8-bit Micro Controllers by John Sloan

This seems unbelievable but true. Fellow John Sloan on linkedin posted his experience and a few links to his work. See below the direct links to the blogs. Lots of wisdom! Enjoy!

(Update July 10 2012: John’s post covers many common embedded programming topics, full of useful informatioon!)

John Sloan

  • Atmel ATmega2560 eight-bit AVR microcontroller
  • GCC 4.5.1
  • AVR libc 1.8.0
  • FreeRTOS 7.1.0
  • Arduino Mega ADK with Ethernet Shield and Freetronics EtherMega2560

I’d like to get a subset of my unit test suite (which is kinda large) running on the ATmega328P but paring down the multitasking stuff to fit on that tiny uC is taking some time that I don’t have right now. But it’s the multitasking (specifically the task stacks) that’s the issue there, not C++.
I’ve written about this (including using templates) in my blog here: http://coverclock.blogspot.com/2012/04/learning-by-doing.html and http://coverclock.blogspot.com/2012/03/small-town-big-city.html. And a link to a tar ball of all my code can be found on the web page here: http://www.diag.com/navigation/downloads/Amigo.html


About minghuasweblog

a long time coder
This entry was posted in All, C/C++. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s