Commit Graph

281 Commits (b8f86edffd5978020e85800ca33559a2d0bdcfe9)

Author SHA1 Message Date
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
Jesse Vincent 75c767a8d6
we do need to set the compiler path for virtual builds
4 years ago
Jesse Vincent a316e78a24
remove ccache, which barely provides a perf advantage over arduino-cli's own build caching.
4 years ago
Jesse Vincent 0140f3b0ff
fix VERBOSE for arduino-cli
4 years ago
Jesse Vincent 83bbfcf864
start to move target dependencies into the makefile
4 years ago
Jesse Vincent 0774763b94
minor refactoring
4 years ago
Jesse Vincent 36af0f3023
inline a couple single-call functions
4 years ago
Jesse Vincent 61a09fb6ca
try to make avr-size work again
4 years ago
Jesse Vincent f9865ac8d9
fix shellcheck errors
4 years ago
Jesse Vincent 216214fb48
we don't have avr-size anymore
4 years ago
Jesse Vincent fd7a9dcb1e
remove build-all, now that we no longer need it
4 years ago
Jesse Vincent a8cf88eaa7
move decompile to the makefile
4 years ago