Skip to content
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

Fix port base for non-linux targets #41

Merged
merged 1 commit into from Oct 27, 2022
Merged

Conversation

schteve
Copy link
Collaborator

@schteve schteve commented Oct 27, 2022

Previous changes in #36 broke the non-Linux examples since the port base path by default was not set correctly. This PR changes the mechanism to use the user-supplied value if available, otherwise fall back on the portable directory inside the FreeRTOS kernel root.

I confirmed that these examples work for me (with adding #define configCPU_CLOCK_HZ to avoid #35). The other have previously-existing build failures, at least on my machine.

  • linux
  • stm32-cortex-m4-blackpill (build only)
  • win

@johnathancn please double check that this change still works for your use case.

We've had a bunch of accidental build breakages in the examples recently (understandably so, since users often don't have more than one platform available to test with) so I'm going to make it a priority to get a CI script running for PR's.

@johnathancn
Copy link
Contributor

Sorry I broke this! My mistake for only building my own use case.

Looks good to me, and still working for my use case.

@schteve
Copy link
Collaborator Author

schteve commented Oct 27, 2022

Thanks! And no worries, I didn't build the other stuff either!

@schteve schteve merged commit a539289 into lobaro:master Oct 27, 2022
@schteve schteve deleted the port-base-fix branch October 27, 2022 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants