This is an old revision of the document!
Introduction
Arduino is an “open-source electronics prototyping platform” based on AVR Atmega processors produced by Atmel (Acquired by Microchip Technology in 2016 The Arduino IDE can be run on FreeBSD, either natively or on WINE.
Arduino IDE (Wine)
Required ports:
| emulators/wine | Windows environment to run Windows apps on FreeBSD |
Download Windows file: https://web.archive.org/web/20160708175027/https://arduino.googlecode.com/files/arduino-0021.zip
Unzip in ~/.wine/drive_c
Create a link so the FreeBSD serial device is available as the Windows COM port. COM4 is used to avoid conflicts with built-in hardware:
ln -sf /dev/cuaU0 ~/.wine/dosdevices/com4
Use /dev/cuaU0 for a USB/serial adapter, or /dev/cuau0 for a real serial port.
Add user to dialer group for access to serial port (as root):
pw usermod myuser -G dialer
To run:
wine ~/.wine/drive_c/arduino-0021/arduino.exe