Skip to content

use bossac 1.9 as bossac1.8 for aarch64 #98

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

Merged
merged 1 commit into from
Feb 18, 2022
Merged

use bossac 1.9 as bossac1.8 for aarch64 #98

merged 1 commit into from
Feb 18, 2022

Conversation

hathach
Copy link
Member

@hathach hathach commented Feb 17, 2022

fix #95 tested on 64-bit pi OS (which will become more and more popular)

$ uname -a
Linux pi400 5.10.92-v8+ #1514 SMP PREEMPT Mon Jan 17 17:39:38 GMT 2022 aarch64 GNU/Linux

Since bossac 1.9 only has issue with macos and work well with linux. We will use bossac 1.9 binary as download link for 1.8 on aarch64 platform. In order to do this modification, we have to be the packager, though it is just duplicated link from arduino. I would love make an PR to arduino index, but I don't think they would accept it since arduino didnt make use of the bossac18 at all.

duplicate bossac1.8 from arduino
@hathach hathach requested a review from ladyada February 17, 2022 11:51
@@ -198,7 +198,7 @@ index_template =
"version": "1.7.0-arduino3"
}},
{{
"packager": "arduino",
"packager": "adafruit",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change packager to adafruit

@@ -3,6 +3,54 @@
{
"websiteURL": "https://adafruit.com",
"tools": [
{
Copy link
Member Author

@hathach hathach Feb 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

link to most platforms are duplicated from https://downloads.arduino.cc/packages/package_index.json

Comment on lines +46 to +50
"host": "aarch64-linux-gnu",
"url": "http://downloads.arduino.cc/tools/bossac-1.9.1-arduino2-linuxaarch64.tar.gz",
"archiveFileName": "bossac-1.9.1-arduino2-linuxaarch64.tar.gz",
"checksum": "SHA-256:c167fa0ea223966f4d21f5592da3888bcbfbae385be6c5c4e41f8abff35f5cb1",
"size": "442853"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for aarch64, it is link to bossac1.9 binaries, however arduino will place it nicely as 1.8 in the arduino15 folder.

@hathach hathach merged commit 73aa655 into gh-pages Feb 18, 2022
@hathach hathach deleted the samd-1.7.10 branch February 18, 2022 03: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.

Installation of "adafruit:samd" blocked by dependency on bossa(c) 1.8 (not available for the current OS)
2 participants