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

Add ARM toolchain support #2647

Merged
merged 3 commits into from
May 29, 2023
Merged

Conversation

mikee47
Copy link
Contributor

@mikee47 mikee47 commented May 28, 2023

This PR addresses #2646 to support ARM systems such as Raspberry PI, Orange PI.

The Rp2040 toolchain version has been updated, and installs for appropriate machine architecture.

@mikee47 mikee47 changed the title [WIP] Add ARM toolchain support Add ARM toolchain support May 28, 2023
@mikee47 mikee47 changed the title Add ARM toolchain support [WIP] Add ARM toolchain support May 28, 2023
@mikee47
Copy link
Contributor Author

mikee47 commented May 28, 2023

Installing Rp2040 tools from repo does ensure maximum platform support, but as is typical lags behind current release somewhat.

I'm using a Raspberry PI 3 for testing, uname -a gives:

Linux rpi64 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux

I'm getting GCC 8.3.1 installed, but current version (from October 2021) is 10.3 (see https://developer.arm.com/downloads/-/gnu-rm).

So will stick with the download approach.

@mikee47 mikee47 changed the title [WIP] Add ARM toolchain support Add ARM toolchain support May 28, 2023
@SmingHub SmingHub deleted a comment from what-the-diff bot May 28, 2023
@mikee47
Copy link
Contributor Author

mikee47 commented May 28, 2023

@laurentppol Are you able to give this a try? Ideally on a clean system, just to eliminate any potential issues.

@slaff slaff added this to the 5.0.0 milestone May 28, 2023
@laurentppol
Copy link

@laurentppol Are you able to give this a try? Ideally on a clean system, just to eliminate any potential issues.

How? (what dirs to remove, how to install - as it is not yes merged)?

@mikee47
Copy link
Contributor Author

mikee47 commented May 29, 2023

@laurentppol Are you able to give this a try? Ideally on a clean system, just to eliminate any potential issues.

How? (what dirs to remove, how to install - as it is not yes merged)?

git fetch origin pull/2647/head:arm64-dev
git checkout arm64-dev

See https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@slaff slaff merged commit 98c2cf6 into SmingHub:develop May 29, 2023
@mikee47 mikee47 deleted the feature/installer-arm64 branch May 31, 2023 21:12
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