https://github.com/x70b1/arduino.sh
Build code and upload it to an Arduino board using arduino-cli.
https://github.com/x70b1/arduino.sh
arduino arduino-cli
Last synced: 4 months ago
JSON representation
Build code and upload it to an Arduino board using arduino-cli.
- Host: GitHub
- URL: https://github.com/x70b1/arduino.sh
- Owner: x70b1
- License: unlicense
- Created: 2021-02-20T17:31:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T14:47:51.000Z (9 months ago)
- Last Synced: 2025-01-26T06:12:14.435Z (6 months ago)
- Topics: arduino, arduino-cli
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# arduino.sh
[](https://github.com/x70b1/arduino.sh/actions)
[](https://github.com/x70b1/arduino.sh/graphs/contributors)
[](https://github.com/x70b1/arduino.sh/blob/master/LICENSE)Build code and upload it to an Arduino board using `arduino-cli`.
Use this script in existing projects to simplify development and deployment.
## build_vars.sh
An example for a full `build_vars.sh` file:
```sh
#!/bin/sh
# shellcheck disable=SC2034SETUP_FQBN="arduino:megaavr:nona4809"
SETUP_CORE="arduino:megaavr"
SETUP_PORT=/dev/ttyACM0PROJECT_TITLE="Title"
PROJECT_DESCRIPTION="Cool description."
PROJECT_URL="github.com/user/project"
PROJECT_BASE="https://store.arduino.cc/arduino-nano"
```