Skip to content

dsPIC33CK port #1095

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Conversation

AG-CodeWringer
Copy link

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:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

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.

@AG-CodeWringer AG-CodeWringer requested a review from a team as a code owner June 24, 2024 12:50
@kstribrnAmzn
Copy link
Member

Thank you for submitting this PR! I'll reach out to the team to see who here has access to a dsPIC33 board and can try out this change.

@aggarg
Copy link
Member

aggarg commented Jun 26, 2024

however that link appears to be stale (I can't reach it).

I am able to reach the link and here is the port that is attached in that link: 16bitPICsV8.zip. Note that I have not read the contents of the attachment. I just downloaded it and attaching it as it is.

@amazonKamath amazonKamath added the Triaged FreeRTOS team has taken note of your PR. label Aug 7, 2024
@aggarg
Copy link
Member

aggarg commented Aug 7, 2024

Closing this PR as this has been stale for a while. Feel free to re-open if you need anything else.

@aggarg aggarg closed this Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triaged FreeRTOS team has taken note of your PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants