shumatech / BOSSA

BOSSA is a flash programming utility for Atmel's SAM family of flash-based ARM microcontrollers. The motivation behind BOSSA is to create a simple, easy-to-use, open source utility to replace Atmel's SAM-BA software. BOSSA is an acronym for Basic Open Source SAM-BA Application to reflect that goal.
http://www.shumatech.com/web/products/bossa
BSD 3-Clause "New" or "Revised" License
371 stars 250 forks source link

Distribute Apple ARM builds #176

Open JosefWN opened 11 months ago

JosefWN commented 11 months ago

With Apple migrating to ARM over three years ago, most softwares are provided with native ARM builds these days. This no longer necessitates Rosetta and the overhead it carries.

When building bossac with clang for example, the only issue seems to be a minor warning, but it builds if that warning is not treated as an error:

src/Samba.cpp:144:13: error: unqualified call to 'std::move' [-Werror,-Wunqualified-std-cast-call]
    _port = move(port);
            ^
            std::
1 error generated.
JosefWN commented 11 months ago

This fix also already seems to be in a PR: https://github.com/shumatech/BOSSA/pull/172