-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This script uses the arduino-cli to compile the arduino sketches using command line (without Arduino IDE). | ||
# It is very useful to check the library on multiple board types after bug fixes and improvements. | ||
# It runs on a MacOS but you can port it to Linux o Windows easily. | ||
# Some compilation results (bin and hex files) will be stores in your Download directory (/Users/<username>/Downloads/hex) | ||
# ATTENTION: be careful with --output-dir arduino-cli option. Before compiling, this option removes all the contents of the last level folder. | ||
# For example: if you use "--output-dir ~/Downloads", all the current content of the Downloads folder will be lost. | ||
# if you use "--output-dir ~/Downloads/hex", all current content of the hex folder will be lost and the Downloads | ||
# content will be preserved. | ||
# Ricardo Lima Caratti Mar 2024 | ||
|
||
echo "Arduino ATmega328 based board" | ||
|
||
arduino-cli compile -b arduino:avr:nano ./examples/01_SERIAL_MONITOR/B_TX --output-dir ~/Downloads/hex/atmega/B_TX | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters