Il 26/03/2015 01:28, Taylor Alexander ha scritto:
> Hello all!
> I also have a change to BOSSA needed to support Flutter's SAM3S1A and
> SAM3S2A processors. It is a two-line change to add the flash ID,
> apparently similar to these other changes. I have only determined the
> FlashID for the SAM3S1A CPU for now but I should get some of the others
> and figure that out. Looks like I can just submit a pull request to
> shumatech, but I thought Arduino used a slightly different version of
> the BOSSA code? Should we submit to shumatech and then get Arduino to
> merge the changes?
Hi,
it seems that bossa is gaining in popularity, so let me clarify a bit
how we get to the current situation.
Two years ago I used bossac with the SAM3X (for the Arduino Due), the
support for this CPU in bossac was implemented but not working. I asked
for tech support to the original author Scott Shumate and he was very
kind and quickly fixed the problem.
Unfortunately I discovered a lot of subtle stability issues while
testing bossac with linux and mac, in particular when I tried to upload
from the native USB port. I must say that these issues was caused by
bugs on sam-ba bootloader and I solved by adding a bunch of workarounds
in bossac. At the time the number of patches was large and very SAM3X
specific, so it looked like they won't make their way into the upstream
project, but Scott agreed to give me push access to the repository to
maintain an "arduino" branch that I keep synchronized with the "master"
branch.
Going back to now: the "arduino" branch has gained the support for the
SAMD21 and some more feature that are missing from the "master" branch.
On the other side, while the command line version of bossac is working
fine on the "arduino" branch, I cannot say the same for the GUI because
I haven't had the time to test it (the main functions should work but
probably there were some little tweaks to do).
Said that, Taylor, if you want to make a simple pull request on the
"arduino" branch, I'm happy to quickly merge it. Instead if there is a
wish to do a major refactoring of the project it may be the case to get
in touch with Scott again and see how we can coordinate to reduce the
number of different forks. In this case we should also move the
discussion away from this mailing list that is mainly focused on Arduino.
> Also, how does one compile BOSSA on Windows and Mac? Does anyone have a
> guide? Thanks!
There is a Makefile, to build the command line tool you can run:
make bin/bossac
or
make bin/bossac.exe
on windows (I'm using mingw32 to build).
If you want to build also the GUI you must install wxwidgets library
with headers and simply run "make".
C
>
https://github.com/femtoduino/__femto-usb/issues/1
> <mailto:
developers+...@arduino.cc>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Developers" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
developers+...@arduino.cc
> <mailto:
developers+...@arduino.cc>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
developers+...@arduino.cc
> <mailto:
developers+...@arduino.cc>.