Initially I tried some sample examples from Arduino but later got bored with those blinking demo (Never mind those are useful when you have new platform with you). Well next thing that came in my mind was Flash Memory i.e. 32K and then thought porting FreeRTOS on it.

I have already seen such porting of FreeRTOS so decided to try some other RTOS which is opensource. Finally I landed on ATOMTHREAD (http://atomthreads.com/). Though it don’t support many platforms like FreeRtos but AVR port was already available.

There were many tasks in TODO list:

Cleaning AtomTHREAD repo. It has lots of test related code

Porting AVR libraries which I already got from arduino

Changing CPU Frequency and Makefiles changes to support make and upload to board operations.

Writing first single threading app (Yes, this was blinking demo since UART was not tested)

Writing App to test UART with standard libraries like stdio.h (I can use the implementation of such std libs)

Studying timer interrupt and running scheduler. By default scheduler is not running in atomthread.

Writing multithreading app with all kernel features like timer, semaphore and mutex.

I am planning to write detail blog posts on each points above. So Keep reading. 😉