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

improve the logic for searching toolchain and python #544

Closed
wants to merge 3 commits into from
Closed

improve the logic for searching toolchain and python #544

wants to merge 3 commits into from

Conversation

benzjimny
Copy link
Contributor

To keep the toolchain in the project folder is not a good practice. I prefer to use the system wide toolchain. And the default toolchain is a little old. Maybe we can create a wiki on where to download the latest toolchain and how to install it system wide. This commit will search the toolchain in system environment first, if it find nothing, it will search in the project or it will give an error to prompt execute make arm_sdk_install.

@Teslafly
Copy link
Contributor

The reason the tool chain is locked down is beacuse of this issue.
#210

Using newer versions of the tool chain could cause different behavior. Though I vaguely remember a pr that fixed this a little while back?

That said, this is basically a safety critical application, and while it can't follow some guidelines for such a project, locking down the compiler version prevents many issues that are hard to find and debug. It keeps things as deterministic as possible. As much as one can in C.
So even if the compiler bug is fixed, the compiler should still stay locked down, but possibly just updated.

@Teslafly
Copy link
Contributor

Teslafly commented Nov 6, 2022

Is there any value in this PR still if the compiler version continues to be locked down?

@vedderb
Copy link
Owner

vedderb commented Nov 6, 2022

I think we can close this one for now.

@vedderb vedderb closed this Nov 6, 2022
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.

3 participants