% uname -r 11.2-RELEASE-p4 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) Hi, I've ordered a Leonardo and will look into this when it arrives. Thanks, Kyle Evans
Hi Kyle, 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.
Hi, 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 Hi, 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: Author: ler Date: Wed Mar 13 03:03:57 UTC 2019 New revision: 495537 URL: https://svnweb.freebsd.org/changeset/ports/495537 Log: comms/java-simple-serial-connector, devel/arduino18, devel/arduino-core: fix serial communication for leonardo and re-rolled distribution for arduino-core. PR: 232991 Submitted by: kevans Changes: head/comms/java-simple-serial-connector/Makefile head/comms/java-simple-serial-connector/files/patch-src_java_jssc_SerialPortList.java head/devel/arduino-core/distinfo head/devel/arduino18/Makefile head/devel/arduino18/files/patch-arduino-core_src_processing_app_SerialPortList.java
Committed. Thanks!