arduino / include-robot

GNU General Public License v3.0
7 stars 6 forks source link

Add a cross platform desktop installer for the sketch #51

Closed csarnataro closed 1 month ago

csarnataro commented 3 months ago

Introduction As a prerequisite to use the Myra robot, the user must compile and upload on their board the sketch https://github.com/arduino/include-robot/blob/main/sketches/BLE_Scratch/BLE_Scratch.ino. In order to do this, the user must import the sketch - with all companion files (e.g. robot.h) - in the Arduino IDE and uploaded manually. This process can be confusing for non tech-savvy users (think of a teacher in a class).

We should provide an easy way to upload the initial sketch on the chosen board.

Proposed solution: We could create a cross platform desktop app which includes the arduino-cli and detects the connected boards. Next, for the identified supported board, it should offer a way to upload a pre-compiled binary created starting from the .ino file we have in our repo.

(preferred technology: Tauri. Alternative option: Electron)