Commit Graph

292 Commits (65e4431b6bdc70cb4d1c7b1932166865f19cbcd8)

Author SHA1 Message Date
Jesse Vincent 65e4431b6b
remove a bunch of environment variables that we no longer need, since we're not using ccache
4 years ago
Jesse Vincent db824bfee2
shellcheck fixes
4 years ago
Jesse Vincent d8c8549e1d
lift more paths out to the makefile
4 years ago
Jesse Vincent 712db15f3e
extract sketch detection to makefile
4 years ago
Jesse Vincent c44eb57f05
lift more paths up to the makefile
4 years ago
Jesse Vincent 754161cf94
move --verbose setting into the makefile
4 years ago
Jesse Vincent b528e01a1e
move prompt before flashing back into the flash target
4 years ago
Jesse Vincent 955c0a2043
Move core installation to the makefile
4 years ago
Jesse Vincent 84576b10d4
Move setting ARDUINO_CLI to the makefile
4 years ago
Jesse Vincent 2ed07d382d
Move installation of the arduino cli into the makefile
4 years ago
Jesse Vincent 82087e4f2c
we're not really using os identifcation globally any more. move it to just one place
4 years ago
Jesse Vincent b8f86edffd
now that we're exporting these, we don't need to explicitly add them on the commandline
4 years ago
Jesse Vincent 06cfc43a72
Start to lift code to the makefile
4 years ago
Jesse Vincent 67e50c2590
Minor refactoring for clarity
4 years ago
Jesse Vincent e71c3cde3c
minor refactoring for clarity
4 years ago
Jesse Vincent 96974b33d4
unify 'ensure sketch found' with the method doing the finding
4 years ago
Jesse Vincent c3a8f2c883
since we no longer loop over sketches inside the file, there is no need to save and restore board and fqbn
4 years ago
Jesse Vincent e646a83154
simplify a check for an empty message
4 years ago
Jesse Vincent a4a23ba3be
comments and whitespace
4 years ago
Jesse Vincent dcaaf5e76b
move a var up to where we set the vars
4 years ago
Jesse Vincent 6686b07446
Add a bit of doc about our port detection
4 years ago
Jesse Vincent dd4a6243c5
Switch to using arduino's internal tool to find serial port paths
4 years ago
Jesse Vincent cca8ac1438
shellcheck fixes
4 years ago
Jesse Vincent 409516b72a
fix a shellcheck issue
4 years ago
Jesse Vincent d7cf811b00
finish removing "BOARD_HARDWARE_PATH"
4 years ago
Jesse Vincent ea068cc72c
more work excising BOARD_HARDWARE_PATH
4 years ago
Jesse Vincent 3b09be6f15
simplify a few -builder targets
4 years ago
Jesse Vincent 9648c0fe02
arduino-cli doesn't take --quiet
4 years ago
Jesse Vincent 19ffee0bcc
mark all of the actual commands we want to be able to run as cmd_foo to better indicate what's intentionally public
4 years ago
Jesse Vincent 6d1b9419e2
move virtual arch compiler customization into where we set executable paths
4 years ago
Jesse Vincent 856d7a91a8
extract out commonalities between various things that do stuff with sketches
4 years ago
Jesse Vincent 36f9582135
rename build_paths to something more standard
4 years ago
Jesse Vincent 5a71ea4524
standardize steps to take before doing stuff with the sketch
4 years ago
Jesse Vincent d5be28bd0d
make 'prompt before flashing' private
4 years ago
Jesse Vincent f8f4132a6b
mark ensure_sketch_found and find_sketch as private
4 years ago
Jesse Vincent 4aab959f52
Mark "_run_arduino_cli" as private
4 years ago
Jesse Vincent 805216592b
remove the env variable exporting stuff that does not currently work
4 years ago
Jesse Vincent 01cb99760d
try to get builds working with gh actions
4 years ago
Jesse Vincent b5c86719fc
messed up the directory detection
4 years ago
Jesse Vincent 77a40d48de
minor refactoring
4 years ago
Jesse Vincent 2fc6b92947
Remove support for running multiple commands in one -builder invocation
4 years ago
Jesse Vincent 1b13caac7d
simplify a return value
4 years ago
Jesse Vincent 20a24d43ab
simplify port probe logic
4 years ago
Jesse Vincent e159c8d014
fixups and unify port probe path
4 years ago
Jesse Vincent 433f0ccb25
_find_bootloader_ports and _find_device_ports
4 years ago
Jesse Vincent 7594ee41f2
build_paths -> _build_paths, some ensure-sketch-found
4 years ago
Jesse Vincent 0a456150c7
mark _set_executable_paths as private
4 years ago
Jesse Vincent f227747623
mark more functions as private
4 years ago
Jesse Vincent 6a628a7128
mark absolute_filename private by prepending a leading _
4 years ago
Jesse Vincent 52c68b1b9c
we do actually want to cache arudino cores
4 years ago