Commit Graph

248 Commits (433f0ccb25d5ebce2541710e4fdc3e88be3e8f4b)

Author SHA1 Message Date
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
Jesse Vincent d087a29540
rename to make a private thing more clearly private
4 years ago
Jesse Vincent 5a539441b8
simplify
4 years ago
Jesse Vincent f4798e8786
a little bit of simplication
4 years ago
Jesse Vincent 0f5b630f6c
refactoring a bit to simplify
4 years ago
Jesse Vincent 7874548a93
remove our old custom 'size' target, since arduino pritns it for us
4 years ago
Jesse Vincent 58337769a0
integrate flash-from-bootloader and flash
4 years ago
Jesse Vincent 77edd18793
we no longer call avrdude directly! Yay!
4 years ago
Jesse Vincent 6f2a4e004b
switch to letting arduinp-cli do our flashing
4 years ago
Jesse Vincent f9223ebd7d
shfmt
4 years ago
Jesse Vincent 4c78cc0155
finish killing off the ".conf" file that was really just more code
4 years ago
Jesse Vincent 2770a26e8a
make the script executable again
4 years ago
Jesse Vincent cca69ce86d
move find_bootloader_port and find_device_port to the kaleidoscope-builder
4 years ago
Jesse Vincent fece00803d
lift reset_device_command to the builder
4 years ago
Jesse Vincent 50f66a5b10
move identify_os into the builder
4 years ago
Jesse Vincent 928f02fdbd
shfmt
4 years ago
Jesse Vincent dd14951966
Remove DEFAULT_SKETCH
4 years ago
Jesse Vincent 92a5b252f7
fix for not trying to query the arduino backend before we have a sketch
4 years ago
Jesse Vincent 4dc3325e4b
fix a bunch of stuff that shellcheck hated
4 years ago
Jesse Vincent 6c96f5f37b
clean up function deps a bit
4 years ago
Jesse Vincent 4eb409b26d
inline a function that was only called in one place
4 years ago
Jesse Vincent 438b9215ef
refactor a bit to reduce duplication in recipe names
4 years ago
Jesse Vincent c23c14ba75
Move bits of the config file that need arduino-cli to work into kaleidoscope-builder
4 years ago
Jesse Vincent c116800c2d
rename new timing sketch to match arduino sketch naming requirements
4 years ago
Jesse Vincent 71b7f3523b
pull tools and compiler paths from the arduino toolchain
4 years ago
Jesse Vincent 37a88797f5
switch find-bootloader-path over to using arduino prefs, killing our last internal use of BOARD_HARDWARE_PATH
4 years ago
Jesse Vincent 1ae46ddc69
rework the single sketch search path to use the current directory name as a hint to the sketch name if it's not specified
4 years ago
Jesse Vincent 91753fe259
when we don't need to rebuild the code, don't rebuild it
4 years ago
Jesse Vincent 30157d651b
remove commented code
4 years ago
Jesse Vincent 810eaa3fef
move the explanation of cli parsing close to the actual code
4 years ago
Jesse Vincent 068e975acb
We only used md5sum for a diag message. So kill the dep
4 years ago
Jesse Vincent 340f16dc17
refactor to extract a couple config methods
4 years ago
Jesse Vincent 0823b816fd
remove "SOURCEDIR", a generic env variable we only used to mean pwd, right after setting it
4 years ago
Jesse Vincent d3161c003e
Clean up logic for choosing where our arduino-cli comes from
4 years ago