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

Expose armv7 build in the package_index.json #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alessio-perugini
Copy link
Contributor

@alessio-perugini alessio-perugini commented Jul 14, 2023

We're building for armv7 but we're not publishing that in our package_index.json.

The uno r4 plugin is built with CGO, not publishing the armv7 binary will fallback on the armv6 one which won't run even on armv7 due to dynamically linked stuff.

To allow fw-uploader to take armv7 builds we have to give a unique name in the host key in the package_json template and handle such cases in: https://github.com/arduino/arduino-cli/blob/df12786440c1078957734aa1686a38c86afcda84/arduino/cores/tools.go#L151

@alessio-perugini alessio-perugini self-assigned this Jul 14, 2023
@alessio-perugini alessio-perugini added the type: imperfection Perceived defect in any part of project label Jul 14, 2023
@alessio-perugini
Copy link
Contributor Author

The only thing that I'm not sure is the host value.
"host": "arm-linux-gnueabihf",

@alessio-perugini alessio-perugini added the status: on hold Do not proceed at this time label Jul 14, 2023
@per1234 per1234 added os: linux Specific to Linux operating system architecture: arm Specific to ARM host architecture topic: infrastructure Related to project infrastructure labels Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture: arm Specific to ARM host architecture os: linux Specific to Linux operating system status: on hold Do not proceed at this time topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants