Chris King-Parra
ce3ad7bc7d
Fix indent in here doc of usage() in bin/kaleidoscope-builder, part 2.
...
Issue #299 .
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
...
bin/kaleidoscoper-builder to conform with shellcheck. Issue #299 .
7 years ago
Chris King-Parra
6ca9da073d
Quote parameter expansions in hex_with_bootloader() of
...
bin/kaleidoscope-builder. Issue #299 .
7 years ago
Chris King-Parra
03bdc34001
Quote expansions in firmware_size() of bin/kaleidoscope-builder. I left
...
line 35 (the "output" variable) alone. Issue #299 .
7 years ago
Chris King-Parra
bc5abd63ab
Add option delimiter to rm command in clean() of
...
bin/kaleidoscope-builder. Issue #299 .
7 years ago
Chris King-Parra
d254dc6b7f
Quote parameter substitutions and command substitutions in
...
build_version() of bin/kaleidoscope-builder. Issue #299 .
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
...
If the user has missed the step about setting up their account
with the right group membership, they would get a cryptic failure
from stty, so catch this and explain the problem.
7 years ago
Adam Spiers
084679d2d1
Deal with the device port containing unexpected whitespace
...
This should never happen, but could if something goes badly wrong
in the device detection code, e.g. someone changing it in a way
which caused extra output on STDOUT.
7 years ago
Jesse Vincent
b02fb08234
Merge pull request #296 from gedankenexperimenter/f/print-size-before-flash
...
Run size target when flashing
7 years ago
Michael Richters
5fd8bce342
Print size_map in decimal instead of hex
...
It's easier for most people to interpret numbers in decimal than hexadecimal; adding this
option to avr-nm prints out the sizes in the size_map in a more intuitive format.
7 years ago
Michael Richters
e126be95fa
Run size target when flashing
7 years ago
Jonathan Wakely
217fde56f9
Check for missing bootloader port
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.
...
(also, fixed the usage)
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
...
Drop a bunch of empty lines, trailing spaces, and similar things.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
7 years ago
Jesse Vincent
eb9164ddaa
refactor device reset code
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
...
On some locales awk will generate commas instead of dots in the percentage. This will mess up the sed command. Instead of forcing awk to always generate dots we can simply cange the sed command to treat commas as regular text.
7 years ago
Jesse Vincent
d05c3cacf8
Back out part of 374a3e136c
because it breaks our ability to pass -D defines into code
...
We need this to pass the built version into the sketch when doing
official builds
7 years ago
John SJ Anderson
5c7eb2427a
Don't flash the device unless we successfully detected the device
...
Nicer error messages are nicer.
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
...
Currently, if kaleidoscope-builder fails to find a sketch file, the
resulting error message is very confusing and unhelpful. This commit
makes it more straightforward and helpful.
7 years ago
Jesse Vincent
4cb2043729
Move Kaleidoscope builder back into Kaleidoscope
7 years ago