Freertos for dspic30f family microchip

desireddy wrote on Thursday, October 27, 2016:

Hi this is the first time i am posting, i am trying to port freertos to dspic30f family microchip controller. My concern is it has only 2 kb of RAM memory. Is it possible for me to port. I will write only a very small application of glowing LED. Please help.

rtel wrote on Thursday, October 27, 2016:

Have a look at the code for the demo documented on
http://www.freertos.org/portpic24_dspic.html - which targets a
dsPIC33FJ256GP710 - to get an idea of the number of tasks you can create
in however much RAM the dsPIC33FJ256GP710 has (the demo will have
created as many tasks as possible), then extrapolate for the 2K you have
available.

desireddy wrote on Monday, October 31, 2016:

Thank you very much for the reply. I was able to compile with the following changes, the linker file changed to dspic30f gld and the header file changed to dspic30f. Now my only doubt is 30f prescaler setting is different from 33f which is variable, then how the code is executing. I am unable to understand the exact timings. Can i go ahead with my changes and implement. What other changes i need to make? Please help. I am putting my efforts to understand thoroughly.

rtel wrote on Monday, October 31, 2016:

Yes, if you are building for a dsPIC30F you need to use the dsPIC30F’s
header and linker files, and any other files that are specific to the
chip in use.