Jesse Vincent
9677426b82
start moving to the new makefile, bundled inside Kaleidoscope
4 years ago
Jesse Vincent
41bad3d172
Do a better job priming the arduino env in docker
4 years ago
Jesse Vincent
93800058ac
do less work to install a duplicate arduino cli when running docker-simulator-tests.
4 years ago
Jesse Vincent
4c78cc0155
finish killing off the ".conf" file that was really just more code
4 years ago
Jesse Vincent
117b705612
since we're now using arduino's tools builds, we don't need to set the path to /usr/local/bin on FreeBSD
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
9699eb198e
refactor kaleidoscope-builder.conf to make it possible to extract the probing tools that have platform-specific implementations
4 years ago
Jesse Vincent
928f02fdbd
shfmt
4 years ago
Jesse Vincent
dd14951966
Remove DEFAULT_SKETCH
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
2bb7212b23
remove unused AVR_GCC
4 years ago
Jesse Vincent
8dfb1e7d7a
remove currently unused ARDUINO_LOCAL_LIB variable
4 years ago
Jesse Vincent
9143679d7d
We no longer use ARDUINO_PATH
4 years ago
Jesse Vincent
a6f306d851
Add a trailing slash on the compiler path for virtual to try to fix travis
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
068e975acb
We only used md5sum for a diag message. So kill the dep
4 years ago
Jesse Vincent
1e4166af9b
Simplify some conditionals
4 years ago
Jesse Vincent
1fe36e265c
Only parse FQBN if we have it
4 years ago
Jesse Vincent
941ab0f7d6
Get rid of MCU variable
4 years ago
Jesse Vincent
bb81294576
clean up defaulting
4 years ago
Jesse Vincent
16a78137a2
Remove unused AVR_GCC_PREFIX
4 years ago
Jesse Vincent
33210331db
Arduino IDE version macro no longer used
4 years ago
Jesse Vincent
c81a84e62b
simplify defaulting for "SKETCH"
4 years ago
Jesse Vincent
fea85506ec
lift find_device_pid_vid to builder
4 years ago
Jesse Vincent
20c371f14a
remove unused AVR_GPLUSPLUS variable
4 years ago
Jesse Vincent
1f227a0d72
move get-arduino-pref out of the config file
4 years ago
Jesse Vincent
6e2f8f88ba
remove unused ARDUINO_TOOLS_FLAG and ARDUINO_TOOLS_PARAM
4 years ago
Jesse Vincent
782d3efe63
fix a typo in the cygwin tmpdir support
4 years ago
Jesse Vincent
253c2b152b
remove unused ARDUINO_PACKAGE_PATH
4 years ago
Jesse Vincent
e9c380c2a1
finish excising arduino-builder, I think
4 years ago
Jesse Vincent
57a076b5e3
switch getting prefs to use arduino-cli instead of arudino-builder
4 years ago
Jesse Vincent
7a12be25bc
Fix an embarassing typo.
...
This is why we do PRs, even for quick fixes and don't just push to master because we're the project lead and yolo.
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
c98b513636
Revert "missed one"
...
This reverts commit de062ea897
.
4 years ago
Jesse Vincent
de062ea897
missed one
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
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
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
Gergely Nagy
ba7b496af5
Rework our Docker config for performance
...
* never try to write anything to the host's disks
* read as little as possible from the host's disks
* keep source in ram
* cache build artifacts and intermediate content persistently
Most of these hacks are only necessary because Docker disk performance on macOS is...not performant
Signed-off-by: Jesse Vincent <jesse@keyboard.io>
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
e4b48e72bb
etc/kaleidoscope-builder.conf: Remove the macOS workaround for virtual
...
The workaround was put in place as an attempt to get virtual builds going on
macOS, natively. It wasn't enough, and it doesn't work, so lets drop it.
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
352a3fe547
kaleidoscope-builder: Allow overriding CXX, CC, AR, etc
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago
Gergely Nagy
213c5f65d1
etc/Dockerfile: Add cmake to the list of installed packages
...
Signed-off-by: Gergely Nagy <algernon@keyboard.io>
4 years ago