For starters, here is my step one to get FreeRTOS on the Teensy3.1 : Getting and configuring the code. I took something already made by Erich Styger famous for is work MCU on Eclipse. I like the guy very much, he takes the time to reply on every comment or question post ed on the site : http://mcuoneclipse.com/.
All the golden stuff is on the github and has lots of exemples for the real deal K20DX50VLH5 or K20DX72VLH7 setup with CodeWarrior, etc. check it out if you want to get serious with coding on a freescale platform : https://github.com/ErichStyger/mcuoneclipse
If you download the ZIP youo can browse into the exemples because work as already been done to port FreeRTOS to ProcessorExpert (kinda GUI for the CodeWarrior that auto-magically generates code for the processor) and it was done with the version 8 of the RTOS. You can find it in the folder "\Examples\FreeRTOS_Ports\CodeWarrior\CW_FreeRTOS_FRDM-K20D50M\Sources". So the config file is mostly done but if anyone has some comments on configuring it for the Teensy, that would be much appreciated.
Next step is to follow the "recipe" on this blog : http://rishifranklin.blogspot.ca/2014/03/freertos-on-teensy-31.html and not fall into the many lurking pits... TBC
Mevon
EDIT : learning the hard way makes for better lessons :S Well turns out adding this library to arduino gives me success with the given exemples, for now the blinky print one works. Try this : https://code.google.com/p/rtoslibs/downloads/list?q=label:Arduino and get the FreeRTOS 7.4.2 update RTOS Arduino. Works just fine for a 1yo code.
Happy FreeRTOSing!
All the golden stuff is on the github and has lots of exemples for the real deal K20DX50VLH5 or K20DX72VLH7 setup with CodeWarrior, etc. check it out if you want to get serious with coding on a freescale platform : https://github.com/ErichStyger/mcuoneclipse
If you download the ZIP youo can browse into the exemples because work as already been done to port FreeRTOS to ProcessorExpert (kinda GUI for the CodeWarrior that auto-magically generates code for the processor) and it was done with the version 8 of the RTOS. You can find it in the folder "\Examples\FreeRTOS_Ports\CodeWarrior\CW_FreeRTOS_FRDM-K20D50M\Sources". So the config file is mostly done but if anyone has some comments on configuring it for the Teensy, that would be much appreciated.
Next step is to follow the "recipe" on this blog : http://rishifranklin.blogspot.ca/2014/03/freertos-on-teensy-31.html and not fall into the many lurking pits... TBC
Mevon
EDIT : learning the hard way makes for better lessons :S Well turns out adding this library to arduino gives me success with the given exemples, for now the blinky print one works. Try this : https://code.google.com/p/rtoslibs/downloads/list?q=label:Arduino and get the FreeRTOS 7.4.2 update RTOS Arduino. Works just fine for a 1yo code.
Last edited: