Comments (13)
ok 1.5.1 is release, lemme know if that doesnt fix it!
from arduino-board-index.
we cant reproduce this (maybe because we're not using the CLI?) could you add the line in question as a PR so it works for you, then we'll test it still works for us and merge :)
from arduino-board-index.
I'll be sending you a PR in a bit and found a way to replicate the issue in Arduino IDE 1.8.8.
I fixed the issue in bpt.ini for when you update adafruit-samd to its next version and hacked up the package_adafruit_index.json to add a fake 1.2.10 version for replicating the issue.
-
Start clean on Ubuntu 18.04 ( Version probably doesn't matter ) Delete .arduino15 and the Sketch direction ( clean out libraries, etc ). Essentally start like a brand new install of the IDE.
-
Start the bpt.py test-server on my altered index and follow instructions for using it with the IDE.
-
Choose Adafruit SAMD v1.2.9 only.
-
Get the Blink Sketch, choose Adafruit Feather M0 Express board and proper port.
-
when you build and upload you should get this error.
java.io.IOException: Cannot run program "{runtime.tools.bossac-1.7.0.path}/bossac": error=2, No such file or directory -
Update the Adafruit SAMD to v1.2.10 ( the fake version with the bossac 1.7.0 dependency )
-
when you rebuild the Blink sketch it should upload and work properly now.
from arduino-board-index.
kk!
from arduino-board-index.
Here you go. PR #23
I tried to use bpt to update but I can't really force adafruit-samd to a new version and the --force option seemed to make a second 1.2.9 which didn't seem right. That's why I faked the index file.
from arduino-board-index.
we cant reproduce this
I can reproduce it in the Arduino IDE as well. Arduino SAMD Boards 1.6.7 through 1.6.21 used bossac 1.7.0 so the boards of Adafruit SAMD Boards with upload.tool=bossac
happen by chance to work fine with any of those Arduino SAMD Boards versions installed. But Arduino switched to a new version in Arduino SAMD boards 1.6.22 and newer so if you have a modern version of Arduino SAMD Boards installed you can't upload to any of the Adafruit SAMD Boards with upload.tool=bossac
.
from arduino-board-index.
@per1234 should we change to upload.tool=bossac-1.7.0?
then?
from arduino-board-index.
No. The name of the tool is bossac
so that's correct:
https://github.com/adafruit/ArduinoCore-samd/blob/master/platform.txt#L120-L130
The problem is the bossac
tool specifies bossac version 1.7.0 specifically:
https://github.com/adafruit/ArduinoCore-samd/blob/master/platform.txt#L120
tools.bossac.path={runtime.tools.bossac-1.7.0.path}
but your Boards Manager JSON file doesn't have bossac 1.7.0 as one of the toolsDependencies
items for Adafruit SAMD Boards so there is no guarantee that bossac 1.7.0 will be installed. It may just happen to be if the user has an outdated version of Arduino SAMD Boards installed, but most people are likely using the latest version of Arduino SAMD Boards.
The solution is #23, which adds the missing toolsDependencies
item for bossac 1.7.0.
from arduino-board-index.
It's been a few months but I authored the pull request #23. You'll need to use my instructions from Feb 5th exactly. Don't automatically install the Arduino SAMD package thinking you need it. You don't! Your Adafruit SAMD package will work by itself if you fix the bossac-1.7.0 dependency.
from arduino-board-index.
oh duh - missed that. ok i 'redid' the PR, thank you and sorry it didnt get merged then. we have another bug to fix so will be picked up very soon in 1.5.1 :)
from arduino-board-index.
closin' for now - reopen if still a problem!
from arduino-board-index.
@Scotti6666 even with your PR it doesn't work for me. Any idea why?
from arduino-board-index.
@szymonpk, there isn't enough information in your post to make any determination. That said, you might try reinstalling and only selecting the "Adafruit SAMD" and nothing else.
from arduino-board-index.
Related Issues (11)
- One URL for all Adafruit boards HOT 1
- SAMD boards: REG_SERCOM?_*_DATA has wrong data width HOT 3
- [v1.4.0] Adafruit Feather nRF52840 Express: Cannot link to `Serial` HOT 1
- "bpt.py update_index" should remove .git folder before writing archive file HOT 7
- Missing avrdude.conf from AVR Boards package HOT 2
- You can't reference bootloader files from another core HOT 5
- arduino-cli cannot upload to Circuit Playground Express using adafruit FQBN HOT 11
- URL Doesn't Exist HOT 4
- AVR 1.4.10 not in repository, is in the json HOT 3
- Installation of "adafruit:samd" blocked by dependency on bossa(c) 1.8 (not available for the current OS) HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-board-index.