Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Modify source code of the dsPIC port of FreeRTOS so that it compiles under for the dsPIC33CK128MP505.
Changes concentrate on task switching and take account of slightly different core registers in dsPIC33CK.
Not tested.
Test Steps
My aim is to run FreeRTOS on dsPIC33CK microcontroller. I have notices that this has vexed other engineers before me. In particular issue 7551. In that comment, a link was given to a port to the dsPIC33 on the interactive FreeRTOS forum, however that link appears to be stale (I can't reach it).
https://interactive.freertos.org/hc/en-us/community/posts/210026846-FreeRTOS-V8-2-0-port-for-ALL-16-bit-PICs-with-hardware-stack-checking-SPLIM-
At the same time, comment in port.c states that dsPIC parts with EDS are unsupported. This leaves me a little confused.
Please tell me whether there is a port of FreeRTOS for the dsPIC33CK.
Am I trying to do the right thing with my suggested code changes (in this pull request)?
Many Thanks
A
Checklist:
Related Issue
https://forums.freertos.org/t/i-have-a-problem-in-using-freertosv10-1-1-the-mcu-is-iteratively-rebooting-and-not-executing-task-function/7551
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.