initial commit

This commit is contained in:
klein panic
2024-09-29 01:16:27 -04:00
commit 6f72d8aa07
2 changed files with 48 additions and 0 deletions

10
arduino_board_list.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# Search for all possible boards, remove the header, and clean up whitespace lines
arduino-cli board search | tail -n +2 | sed '/^\s*$/d' > /tmp/arduino_boards.txt
# Ensure the file has the correct permissions for Lua to read
chmod 644 /tmp/arduino_boards.txt
# Print a message indicating that the process is complete
echo "All possible boards have been listed in /tmp/arduino_boards.txt"