Put a sketch on a real board

Export a sketch folder for the Arduino IDE, or upload with arduino-cli.

Export#

In the Code window, choose More › Export Sketch… and pick a folder. Coppa makes a folder such as U1_Arduino_Uno with the .ino (or main.py for a Pico or Raspberry Pi 4) and a README listing what’s wired to each pin, and shows it in the Finder. Open the .ino in the Arduino IDE.

Upload#

More › Upload to Board… compiles and uploads with arduino-cli, the Arduino command-line tool, to the first USB board plugged in. Coppa asks before uploading (Upload to the board on cu.usbmodem…?), then shows the result.

  • If arduino-cli isn’t installed, Coppa says how to get it (brew install arduino-cli).
  • If no board is plugged in, it says so.
  • From Sketch or Flowchart, upload works for the Uno, Nano, Mega, Pro Mini, ATmega328P, ESP32 and ESP8266.
  • In Firmware mode, Coppa uploads the loaded .hex or .elf with arduino-cli’s --input-file, on the AVR boards. For ESP firmware and the PIC, the item is turned off and says why.
  • It isn’t offered for the Pico or Raspberry Pi 4.

Applies to Coppa 0.1 Preview 14. Last updated 22 November 2026.