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
361 stars 251 forks source link

Steps to build and install BOSSA #144

Open rod6214 opened 3 years ago

rod6214 commented 3 years ago

Hi everyone, where do i find the instructions to build BOSSA repository in Linux and Windows?

These steps works fine for me: Distro: Linux ubuntu 20.04 lts.

Dependencies: 1) sudo apt-get install build-essential 2) sudo apt-get install libwxbase3.0-dev 3) sudo apt-get install libwxgtk3.0-gtk3-dev 3) sudo apt-get install libwxgtk3.0-dev 5) sudo apt-get install libreadline-dev

Go to BOSSA directory and use the following commands:

beikeland commented 3 years ago

there is also a make target for just the command line version that has less dependencies make bossac

milesfrankland commented 3 years ago

I couldnt get this setup to work. This is the error: APPLET WordCopyArm make: ./appletgen: Command not found make: *** [Makefile:252: src/WordCopyArm.cpp] Error 127

milesfrankland commented 3 years ago

I couldnt get this setup to work. This is the error: APPLET WordCopyArm make: ./appletgen: Command not found make: *** [Makefile:252: src/WordCopyArm.cpp] Error 127

I edited the files in windows and transferred to linux causing issues. When I git cloned from linux all worked well.

haata commented 3 years ago

https://github.com/kiibohd/BOSSA/blob/master/.github/workflows/build.yml#L51

This is how I build it on Windows.

marts20 commented 1 year ago

I can't seem to compile for Windows. Can anyone compile with added support for D21G17D variant?

PeakeElectronicInnovation commented 1 year ago

A couple of us managed to compile this in Windows and have documented the process on the Arduino forum in case it is helpful: https://forum.arduino.cc/t/creating-a-custom-samd-bootloader-and-arduino-board/1094588/6