Jesse Vincent
72ee63386e
docker-bash now mounts Kaleidoscope live and interactive ( #1125 )
...
* docker-bash now mounts Kaleidoscope live and interactive
* Switch to a less rigorous but still apropriate mounting method for
volumes in docker when running 'make docker-bash'
3 years ago
Jesse Vincent
f5bbd61784
Simplify our docker execution ( #1124 )
...
* Switch docker to no longer build a bundle separate from the kaleidoscope
dir.
Stop copying over a bunch of tarballs we don't need.
* fix shellcheck
* Stop copying the core-bundled copies of Kaleidoscope over to docker
* Symlink our Kaleidoscope into the versions packaged into the arduino
cores when running in docker. We need to do this to satisfy the
sketch_header.h/sketch_footer.h system we use to be able to amend
arduino sketches on avr and virtual. (This feature is not used by the
core and may be removed in the future)
* Reimplement docker-clean to do much less work and get the same result
* Add a stub at docs for the docker test runner
3 years ago
Jesse Vincent
fd834c2ffa
Fix url generation for 'master' arduino package
3 years ago
Jesse Vincent
40ce430861
Minor cleanup to make it easier to build a package with GD32 cores
3 years ago
Jesse Vincent
1ae48b9507
Ongoing work to build the GD32 core
3 years ago
Jesse Vincent
14a2a5dea6
New plan: we always use the same packager name, regardless of whether
...
we're using snapshots or releases
3 years ago
Jesse Vincent
a5c1cfeb85
Correctly? set the packager for our tools for gd32
3 years ago
Jesse Vincent
a21a68d3eb
Looks like switching to LFS broke raw downloads.
3 years ago
Jesse Vincent
3032bb76d8
Remove double slash from the build base url
3 years ago
Jesse Vincent
c8be98f49a
Try to get our maintainer name to match so Arduino can install the tools
3 years ago
Jesse Vincent
262622a54a
refactor the builder tool to be able to build multi-arch support
3 years ago
Jesse Vincent
6b9b6c388a
Refactor our artifact builder
3 years ago
Jesse Vincent
79d2d46a19
Remove historical 'kaleidoscope-builder'
...
- It was supposed to have been fully removed six months ago
3 years ago
Jesse Vincent
8db5e7fd33
improve url canonicalization during releng
4 years ago
Jesse Vincent
088af8544e
Minor tweaks to releng tooling
4 years ago
Jesse Vincent
ff86fe1ed9
Automatically publish a kaleidoscope bundle on every commit for Arduino users who want to live on the bleading edge
4 years ago
Jesse Vincent
6be7b2b388
Add the version to the package tarball name so that nightlies have unique names
...
add a make target for building arduino nightly packages
4 years ago
Jesse Vincent
a2090029a8
fix paragraph section in Kaleidsocope library.properties
4 years ago
Jesse Vincent
efeea31589
More library tweaking to comply with arduino requirements
4 years ago
Jesse Vincent
301ccf92fc
Further generalize the arduino platform bundle builder tool.
4 years ago
Jesse Vincent
e71cacc918
start to update the releng tooling to handle the new layout
4 years ago
Jesse Vincent
944e41bc6f
fixup Model 01 extraction
4 years ago
Jesse Vincent
7e0bebaeed
Migrate build-arduino-package from the larger bundle repo.
4 years ago
Jesse Vincent
69439c46b2
Clean up astyle invocations based on @gendankenexperimenter's KeyboardioHID cleanups
4 years ago
Jesse Vincent
3e54120f36
Add a deprecation warning to the "old" kaleidoscope-builder
4 years ago
Jesse Vincent
8f604facd9
Update our docker config to use a layout that better matches arduino-cli
4 years ago
Jesse Vincent
d94c3d5234
Replace kaleidoscope-builder with makefiles using arduino-cli
...
This is a complete rework of how Kaleidoscope is built, but should be largely transparent to most developers and completely invisible to folks using the Arduino IDE.
Some advanced features of kaleidoscope-builder config files have gone away, but it’s likely that @algernon was the only person using them. The tradeoff is that we’re now using a much better maintained build tool under the hood and that we’re no longer as tied to a single specific directory structure.
4 years ago
Jesse Vincent
ef244715a5
try again with shellcheck
4 years ago
Jesse Vincent
9b208d5cd3
Accidentally butchered my cut command
4 years ago
Jesse Vincent
4536fd5190
appease shellcheck
4 years ago
Jesse Vincent
047a5b7c04
first pass at getting our examples into readthedocs
4 years ago
Jesse Vincent
4c421277a7
make a comment in run-docker shellcheck friendlier
4 years ago
Jesse Vincent
b70b851321
Teach docker-run to run interactively or to be able to run from a non-interactive process like a git hook
...
Fixes #959
4 years ago
Michael Richters
26f4ef498a
Set BOARD_HARDWARE_PATH correctly for run-docker on macOS
...
Because ARDUINO_LOCAL_LIB_PATH was being set to a default value for other
operating systems before checking the OS version, it would never get set
correctly for macOS (unless it was already set externally). This change fixes
that problem so that it's no longer necessary to set BOARD_HARDWARE_PATH
externally when executing `run-docker`.
Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
4 years ago
Jesse Vincent
5c0edd9b69
"make clean" needs to clear out build and output paths
...
It previously did not. Also, try -not- to clean out google test if the build dir doesn't even exist
4 years ago
Jesse Vincent
de45646c9d
extract out a variable for ARDUINO_BUILDER_TOOLS_PATH to make it easier to
...
get up and running on arch
4 years ago
Jesse Vincent
34b428c4a9
Simplify conditional building
4 years ago
Jesse Vincent
5bea41f630
reduce a bit of code duplication
4 years ago
Jesse Vincent
6e8d1d020a
Switch to a less verbose way to set defaults for environment variables
...
By reducing duplication, we improve readability and reduce errors
4 years ago
Jesse Vincent
a91c6a556e
refactor config file list to all be in one place
4 years ago
Jesse Vincent
25c8a8a180
Refactor the "SKETCH" environment variable and friends.
...
Functionality should be the same, but code should be clearer.
4 years ago
Jesse Vincent
e96902a9df
Switch from locally defining a "DIR" for every bin, to setting a global Kaleidoscope bin directory var
4 years ago
Jesse Vincent
660747c916
Rename ROOT to KALEIDOSCOPE_DIR, which is what it appears to actually be.
4 years ago
Jesse Vincent
ea0abc8833
inline a single-use cunction
4 years ago
Jesse Vincent
19f728ca56
lift find_bootloader_path' out of the config file into the program.
...
as it isn't something that's platform specific
'
4 years ago
Jesse Vincent
52a5265b9b
ROOT is defined automatically and not overridable. Remove the lines in the comments and docs
4 years ago
Jesse Vincent
12e59b8684
lift up BUILD_FILE_PATH to somewhere reusable.
4 years ago
Jesse Vincent
45bafe9bf5
SOURCEDIR was not actually used or honored. It was always set to pwd
4 years ago
Jesse Vincent
dfadd32400
Removeo outdated and unused 'LIBRARY' env variable
4 years ago
Jesse Vincent
a278efc21e
Absolute path to sized elf
4 years ago