Commit Graph

212 Commits (e02d44680352f80eca0e57cafcdca7c6c61a1bcb)

Author SHA1 Message Date
Andre Arko c0163c83f2
make sure SKETCH_DIR is set before we use it
5 years ago
Andre Arko 0264e77396
bash warns on -gt, demanding two brackets
5 years ago
Andre Arko bb00c27de1
maybe_bulid depends on filling the hex path first
5 years ago
Jesse Vincent e5558eaf90
First pass at a device-independent find-device-port-macos
5 years ago
Jesse Vincent 680aac9818
refactor kaleidoscope-builder to make shellcheck happy
5 years ago
Jesse Vincent 16b2404ab9
Attempt to simplify output of the build and flash process, along with
5 years ago
Jesse Vincent 559d210eed
slightly tweak sleep times and reformat our avrdude command to flash the
5 years ago
Jesse Vincent 9a41d1cfa9
Make avrdude more verbose to help make sure customers can tell whether
5 years ago
Jesse Vincent 56a9b60d27
On linux (and possibly other operating systems), detect when the
5 years ago
Jesse Vincent 1b117b9eb0
Extract the compilation step from the flashing preparation step
5 years ago
Jesse Vincent 09da0477d9
Fix typo in flashing message
5 years ago
Jesse Vincent b2977894f9
Move the build instructions into the arduino boards.txt file
5 years ago
Florian Fleissner 1a721f190e Moved build flags and C++ language version setting to platform.txt
5 years ago
Florian Fleissner 12876f9a90 Fixed builds on msys2
5 years ago
Jesse Vincent bab32fcc9d
Shellcheck flags -n as a better replacement -f ! -z
5 years ago
Florian Fleissner c0e0ca1034 Enable compiler specification via env. var. CC/CXX
5 years ago
Dan Bjorge 0462230060 Fix whitespace inconsistencies
5 years ago
Dan Bjorge d33bdf53e3 Add Windows+Cygwin support for kaleidoscope-builder
5 years ago
Gergely Nagy 1672f55945
kaleidoscope-builder: Pull the bootloader file from boards.txt
5 years ago
Jesse Vincent d14405541a
Without the -built-in-libraries option passed in to arduino-builder, it
5 years ago
Florian Fleissner 0ac7c191dc Renamed virtual architecture "virtual"
5 years ago
Florian Fleissner 7326be589f kaleidoscope-builder fixed for builds of virtual hardware
5 years ago
Florian Fleissner 2cad17b07b Fixed Kaleidoscope Builder for Arduino paths containing whitespaces
6 years ago
Jesse Vincent 01e3793d39 Add a 'compile-all target, so that smoke output can get to a single line
6 years ago
Jesse Vincent 8ab5aa52dd Slightly tighten up compilation output so that the smoke output is more readable
6 years ago
Jesse Vincent b8d4e90f23 realpath isn't installed by default on travis' vms AND it's not
6 years ago
Jesse Vincent ab91a04142 More recent shellcheck doesn't like "which" for finding a binary
6 years ago
Jesse Vincent a6a23380ab make shellcheck happy, maybe?
6 years ago
Jesse Vincent 67d0c6bd73 shellcheck fixes
6 years ago
Jesse Vincent 02faf0d842 Refactor our directory environment variables to make it easier to set a
6 years ago
Jesse Vincent 02635d691a Use the sketch directory's inode as part of its unique id
6 years ago
Jesse Vincent 8cdd058d9e CCACHE_WRAPPER_DIR->CCACHE_WRAPPER_PATH
6 years ago
Jesse Vincent e9668d36ab STABLE_TEMP_DIR to KALEIDOSCOPE_TEMP_PATH
6 years ago
Jesse Vincent 7b27d9e2f9 default STABLE_TEMP_DIR to $TMPDIR if it's available
6 years ago
Jesse Vincent a33d797310 shellcheck fixes
6 years ago
Jesse Vincent b4dd906294 Switch to stashing our build artifacts in the stable kaleidoscope temp dir, rather than the source dir
6 years ago
Jesse Vincent f87d7bce64 Initial implementation of ccache caching for builds
6 years ago
Jesse Vincent 6e9ee55552 move sketches into a subdir
6 years ago
Jesse Vincent 59bb9a63f8 Switch back to stable build paths to take advantage of Arduino's build caching
6 years ago
Jesse Vincent 9e45f9e7b2 Enable use of the Arduino core cache, stashing our cached prebuilt cores in /tmp
6 years ago
Jesse Vincent 2ec7f83073 Break out setting our build paths into its own function
6 years ago
Jesse Vincent 38b4663f00 When building a sketch that's not in a git directory, don't die.
6 years ago
Gergely Nagy 7172571685
kaleidoscope-builder: Make shellcheck happy
6 years ago
Gergely Nagy 75dab2c65e
kaleidoscope-builder: Fix the avr-size invocation
6 years ago
Brian Cully 39d1f70812 Add rules and scripts for building on FreeBSD.
6 years ago
Gergely Nagy f27a2127ac
kaleidoscope-builder: Support examples in subdirs
6 years ago
Neville Dalal c98dfda4d5 Detect OS and use appropriate device and tooling
6 years ago
Gergely Nagy 0462ae141d
kaleidoscope-builder: Support config files in the sketch dir too
6 years ago
Jesse Vincent 2e4012fa71 disable an incorrect shellcheck check
6 years ago
Gergely Nagy 7db8bb779a
Merge remote-tracking branch 'plugin/FocusSerial/f/monorepo' into f/monorepo
6 years ago
Gergely Nagy 4f8c6332f7 Initial import
6 years ago
Jesse Vincent d97b2060ba The previous factoring just didn't work
6 years ago
Jesse Vincent 8a33793a1c Improve the 'port unwritable' error message
6 years ago
Jesse Vincent 3a3281cb54 Clean up our flashing and warning messages.
6 years ago
Jesse Vincent edd671cd41 Quiet down linux USB port detection in cases where everything works ok
6 years ago
Gergely Nagy 00a6b6045b
License clarificataion & copyright headers
6 years ago
Alessio Di Mauro 4f20009782
Add double quotes to keep shellcheck happy
6 years ago
Alessio Di Mauro 22363ac572
Add a LIB_PROPERTIES_PATH option to the build system
6 years ago
Gergely Nagy d292b371e8
Revert "kaleidoscope-builder: Use a stable build directory"
7 years ago
Gergely Nagy d76cc284a4
Merge pull request #301 from gedankenexperimenter/bug/macos-serial-port-update
7 years ago
Gergely Nagy 8c814a87fa kaleidoscope-builder: Use a stable build directory
7 years ago
Gergely Nagy 7a4f0bac85 kaleidoscope-builder: Do not hardcode the max program size
7 years ago
Gergely Nagy 81a1cd004e kaleidoscope-builder: add `preFlash_HOOKS` and `postFlash_HOOKS`
7 years ago
Gergely Nagy 39601fcba2 kaleidoscope-builder: Improved pre-flash prompt
7 years ago
Gergely Nagy 14fe42f5b3 kaleidoscope-builder: Disable another ShellCheck false-positive
7 years ago
Gergely Nagy 24407185d5 kaleidoscope-builder: Add SellCheck disables
7 years ago
Gergely Nagy 22636bd768 kaleidoscope-builder: Quote what needs to be quoted
7 years ago
Gergely Nagy ca492e91f6 kaleidoscope-builder: Fix a typo.
7 years ago
Gergely Nagy 5c9b3d6799 kaleidoscope-builder: Clear trailing whitespace
7 years ago
Chris King-Parra ce3ad7bc7d Fix indent in here doc of usage() in bin/kaleidoscope-builder, part 2.
7 years ago
Chris King-Parra 96f3f18aaf Indent here doc in usage() of bin/kaledoscope-builder. Issue #299.
7 years ago
Chris King-Parra f094bdaa4e Remove uneccesary unused variable in prepare_to_flash() of
7 years ago
Chris King-Parra 6ca9da073d Quote parameter expansions in hex_with_bootloader() of
7 years ago
Chris King-Parra 03bdc34001 Quote expansions in firmware_size() of bin/kaleidoscope-builder. I left
7 years ago
Chris King-Parra bc5abd63ab Add option delimiter to rm command in clean() of
7 years ago
Chris King-Parra d254dc6b7f Quote parameter substitutions and command substitutions in
7 years ago
Chris King-Parra dd96cbcf8b Change shebang of bin/kaleidoscope-builder to invoke bash. Issue #299.
7 years ago
Adam Spiers 6356154bc3 add check for DEVICE_PORT being writable
7 years ago
Adam Spiers 980d703f5e make find-device-port-linux-udev more friendly
7 years ago
Adam Spiers dd1aca0f13 find-device-port-linux-udev: ensure called with correct args
7 years ago
Adam Spiers 084679d2d1 Deal with the device port containing unexpected whitespace
7 years ago
Michael Richters b89dfece19 Improved macOS serial port detection (again)
7 years ago
Michael Richters 78207e546c Improved fallbacks for macOS serial port detection
7 years ago
Jesse Vincent b02fb08234
Merge pull request #296 from gedankenexperimenter/f/print-size-before-flash
7 years ago
Michael Richters 5fd8bce342 Print size_map in decimal instead of hex
7 years ago
Michael Richters e126be95fa Run size target when flashing
7 years ago
Jesse Vincent f24e97349e
Merge pull request #290 from jwakely/missing-bootloader
7 years ago
Jonathan Wakely 217fde56f9 Check for missing bootloader port
7 years ago
Jonathan Wakely f6221dc6e6 Treat device ID values as hex
7 years ago
Jesse Vincent fe71904441
Merge pull request #282 from gedankenexperimenter/bug/find-device-port-macos
7 years ago
Michael Richters 65ec30ae32 Added copyright & attribution comment
7 years ago
Michael Richters c945bf0662 Use the new find-device-port-macos script to find the correct port
7 years ago
Michael Richters b207ec4659 perltidy find-device-port-linux-udev
7 years ago
Michael Richters 69946554dd Consistent indentation of find-device-port-linux-udev helper script
7 years ago
Michael Richters be4fdd5432 Indented kaleidoscope-builder consistently
7 years ago
Jesse Vincent 0dd1f49841 "disassembly" -> "disassemble" to better match the phrasing of other targets.
7 years ago
noseglasses 0fc79af6b2 Added name demangling in disassemblies
7 years ago
Jesse Vincent 75770b8cf6 If you do a verbose build, don't throw away the build artifacts
7 years ago
Gergely Nagy a2cee84455 kaleidoscope-builder: Remove extraneous whitespace
7 years ago
Jesse Vincent eb9164ddaa refactor device reset code
7 years ago
Jesse Vincent 5d9420c4f5 VERY hacky WIP tool for finding the correct port for a device on linux by VID/PID pair
7 years ago
Jesse Vincent 110b2795f0 move the verbose stuff out of the config file
7 years ago
Jesse Vincent 3556727657 Move two functions from the kaleidoscope-builder.conf to the builder
7 years ago
Ole Krüger b729a2e291 Use a safer sed command to avoid locale issues
7 years ago
Jesse Vincent d05c3cacf8 Back out part of 374a3e136c because it breaks our ability to pass -D defines into code
7 years ago
John SJ Anderson 5c7eb2427a Don't flash the device unless we successfully detected the device
7 years ago
Jesse Vincent 54771ad718 fix the package path to be less platform dependent
7 years ago
Jesse Vincent a3318ea92a only add the packages path if it exists
7 years ago
Jesse Vincent f3a7e18805 initial builder support for building from an arduino boards manager install
7 years ago
Craig Disselkoen 374a3e136c Support for Kaleidoscope-Hardware-Virtual plugin
7 years ago
Craig Disselkoen b6150cb175 kaleidoscope-builder: Better error message for sketch-not-found
7 years ago
Jesse Vincent 4cb2043729 Move Kaleidoscope builder back into Kaleidoscope
7 years ago