1.1 KiB
1.1 KiB
Studuino Development Instructions
Environment Setup
- Run
./setup.sh --with-editorto installarduino-cliandclangd. - Mandatory Configuration: Create
.arduino_config.luain the root withboardandportsettings forArduino-Nvimto function.
Development Workflow
- Boilerplate: Use the
studuino_boilerplatesnippet to insert required headers and theStuduino boardinstance. - Snippets: Project-specific snippets are located in
.vscode/studuino.code-snippets. - Build & Upload: Use the following Neovim leader keybindings:
<Leader>mc: Compile (:InoCheck)<Leader>mu: Upload (:InoUpload)<Leader>mm: Serial Monitor (:InoMonitor)
Repo Structure
- Libraries: Custom or adapted libraries are under
/libraries/. Key libraries used in Studuino projects include:ColorSensor,MPU6050,BusIOForStuduino,Clock,Servo,Adafruit_CircuitPlayground, andIRremoteForStuduino.- When adding new functionality, ensure the corresponding header files are included in your sketches as shown in the boilerplate.