-
Notifications
You must be signed in to change notification settings - Fork 111
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
Adafruit feather M4 CAN does not upload #167
Comments
Looks like may be same as this issue? |
No this seems to be another issue. They got the error My error is |
Hi @mansk789 , thanks for reporting! I've just pushed a fix and now the offset value should be also used for SAM E51. I believe this should also fix your first problem with the [env:adafruit_feather_m4_can]
platform = https://github.com/platformio/platform-atmelsam.git
board = adafruit_feather_m4_can
framework = arduino |
Hi @valeros |
Thanks for confirming, a new release will be published by the end of this week. Resolved in 2c92f8a |
samE_Patch.zip
there seems to be an issue with the adafruit feather m4 CAN board and uploading. bossac-tool complains "bossac: extra arguments found".
First it seems like the port is not passed correctly to the bossac tool. It passes it as
--port "ttyACM0"
while it should be--port=ttyACM0
The second problem I found, there is no offset passed to the bossac-tool. this is due to the main.py L220:
if board.get("build.core") in ("adafruit", "seeed", "sparkfun") and board.get( "build.mcu").startswith("samd51"):
In my opinion it should be:
if board.get("build.core") in ("adafruit", "seeed", "sparkfun") and (board.get( "build.mcu").startswith("samd51") or board.get("build.mcu").startswith("same51")):
The text was updated successfully, but these errors were encountered: