FreeRTOS for dsPIC33EV

Hello Sir. The FreeRTOS don’t have a Demo port for dspic33EV up to now. according to the Tutorial Guide, the best option is to adapting the dsPIC33FJ demo. while I’m trying to modifying the existing demo, seems there is a portasm_dsPIC.s file in this project need to be modified. It is easy to modify the statement #if defined( dsPIC30F ) || defined( dsPIC33F ) || defined( dsPIC33E ) . but I’m not sure whether there are other things need to be modified. I checked the overall project, and didn’t see where the function “vPortYield” has been called. Could you please give some ideal on what need to be adapted? Thank you very much!

FreeRTOS for dsPIC33EV

dsPIC24E is supported, but dsPIC33E parts are not officially supported by FreeRTOS because they contain some registers that form part of the task context but cannot be accessed by software. It is actually unlikely these registers would actually get used though – unless you were using hand tuned asm code. Keeping the above in mind, there are some third party dsPIC33E ports available from the FreeRTOS Interactive site. http://interactive.freertos.org

FreeRTOS for dsPIC33EV

Thank you sir, the project can successfully built except one warning: heap_1c:132:39: cast from pointer to integer of different size do you think this warning can be ignored?

FreeRTOS for dsPIC33EV

Yes. It can be ignored.


FreeRTOS for dsPIC33EV

Thanks alot.