I would like to get the build and flash of a BiBoard v1 working from Ardruino CLI.
The end goal is for GitLab Runner running on an Raspberry PI to be able to flash an attached Bittle. I found this old container, but the most helpful part is the instructions that show the workflow I am hoping for: https://hub.docker.com/r/zoobab/arduino-cli 1. Does anyone know if there is any reason this would not work for building and flashing the Petoi Bittle firmware?
Does anyone know if it can be done over the RPI interface? If not can I simply connect the USB port of the Pi to the usb port of the Biboard to use it for flashing?
Would this ardruino upload command from the link above work with either of the interface options of bullet "2." ? arduino-cli upload -p /dev/ttyACM0 --fqbn arduino:samd:mkr1000 Arduino/MyFirstSketch
Can't speak to most of your questions except to say that USB-to-USB is your best bet since that gives you access to the bootloader on the BiBoard.
I'm curious though, what's your use case - why would you like the attached Raspi to be able to replace the code on the robot?