Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

New post_install.sh script that works for Nano Every#129

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
facchinm merged 1 commit intoarduino:masterfromseaxwi:post-install.sh
May 31, 2023

Conversation

@seaxwi
Copy link
Contributor

@seaxwiseaxwi commentedMay 29, 2023
edited
Loading

This PR adds apost_install.sh script consistent withthe one for ArduinoCore-mbed. Using the same path for the script will simplify troubleshooting instructions. The new script also includes udev rules for Nano Every,

Changes in this PR

  • Replacescripts/create_udev_rule withpost_install.sh (based onpost_install.sh)
  • Use a simiilar structure (more readable)
  • Add udev rules for Nano Every
  • Change the name of the created file from99-arduino-uno-wifi-rev2.rules to60-arduino-megaAVR.rules.

Tests

Before runningpost_install.sh (missing udev rules)

UNO WiFi Rev2 ❌

Upload fails:

avrdude: usbdev_open(): cannot open device: Permission deniedavrdude: jtag3_open_common(): Did not find any device matching VID 0x03eb and PID list: 0x2145Failed uploading: uploading error: exit status 1

Nano Every ❌

Upload fails:

avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): sign-on command: status -1avrdude: jtagmkII_getsync(): timeout/error communicating with programmer (status -1)Failed uploading: uploading error: exit status 1

After runningpost_install.sh (new udev rules added)

UNO WiFi Rev2 ✅

Upload successful, although on my system a "spurious"avrdude: usbdev_open(): WARNING: failed to set configuration 1: Device or resource busy warning is thrown. However, I get the same result with the rules set byscripts/create_udev_rule, so I believe its occurence is unaffected by this PR.

Nano Every ✅

Upload successful.

@facchinmfacchinm merged commit5e639ee intoarduino:masterMay 31, 2023
@facchinm
Copy link
Member

Super, thanks for your contribution!

@seaxwiseaxwi deleted the post-install.sh branchMay 31, 2023 14:16
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@seaxwi@facchinm

[8]ページ先頭

©2009-2025 Movatter.jp