Porting Code to dsPIC30F2010

Hi everyone. Fist of all let me say that I’m very new to this, but I can’t find anything about freeRTOS in my natal language. I wish to port the dsPIC code to use it on a 28/40 pin PDIP device. Anyone can tell me if this is possible? which files should I check or modify to get this running? I’ve successfully build the demo code for the dsPIC family, however I don’t have the explorer16 board nor the dsPIC chip. The only hardware I have is a dsPICDEM 1.1 Plus development board with a dsPIC30F6014A. I would appreciate any help/sample code you could provide. Best Regards. Ruben Santa Anna.

Porting Code to dsPIC30F2010

Basically, I dont know know MPLAB specifics, but I would guess that if the core is the same all you have to do is select the device you are using from the MPLAB menus then check the heap fits within the RAM available on your device. Does your dsPIC have more or less RAM than the dsPIC on which the port was created?  If it is less you might have to lower the value of configTOTAL_HEAP_SPACE within FreeRTOSConfig.h, then remove some of the demo tasks to make sure it fits in your device. The only other thing that might need doing is checking that the timer used to create the RTOS tick in the demo is also available on your dsPIC.

Porting Code to dsPIC30F2010

Thank you for your reply. I’ll give it a try ASAP. Any other ideas or considerations?