% uname -r
I am using binary packages.
It's not possible to upload a sketch to Arduino Leonardo (m32U4)
error message inside the GUI
Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.
With arduino-1.0.6_3,1 and the same settings it's no problem to upload a sketch to a Arduino Leonardo (m32U4)
(Thank you for porting Arduino on FreeBSD)
(In reply to ui from comment #0)
I've ordered a Leonardo and will look into this when it arrives.
thanks a lot for your efforts.
I managed to upload a sketch to the Leonardo (m32U4) with a terminal.
First I exported a compiled binary with the Arduino18 IDE and then I executed the following commands:
% stty -f "/dev/cuaU0" 1200 && sleep 3 && arduino-avrdude -patmega32u4 -cavr109 -P /dev/cuaU0 -U flash:w:foo.ino.leonardo.hex
Also I'm wondering why the Arduino Nano and Leonardo constantly start to blink as soon as I start the Arduino18 IDE? The LED's stop flashing as soon as I quit the Arduino IDE.
Ah, the patch from Issue 230843 is what you need there -- I need to poke bsam again, since it's been a couple months.
Patch from PR 230843 has been committed
Created attachment 202833 [details]
svn(1) diff against the ports tree
Attached patch fixes it -- turns out, Arduino copied jssc's SerialPortList and I didn't notice to fix it. This patch is tested good, the 1200bps reset works and my upload of Blink to the Leonardo succeeds.
A commit references this bug:
Date: Wed Mar 13 03:03:57 UTC 2019
New revision: 495537
comms/java-simple-serial-connector, devel/arduino18, devel/arduino-core: fix serial communication for leonardo
and re-rolled distribution for arduino-core.
Submitted by: kevans