Arduino IDE (Wine)
Required ports:
emulators/wine |
Windows environment to run Windows apps on FreeBSD |
Download Windows file:
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