Commit Graph

109 Commits (main)

Author SHA1 Message Date
Taylor Yu af69f6a72b fix race in sketch.mk
2 years ago
Taylor Yu 0ac320baeb export DEVICE so sketch Makefile works again
2 years ago
Jesse Vincent cf798497e2
Because of how makefile rules are evaluated, the previous code was
2 years ago
Jesse Vincent ae9e561028
Add the Model 100 udev rules
2 years ago
Jesse Vincent 8196adab6c
We need to ignore the output of focus-send device.reset or else flashing a keyboard without focus can break
2 years ago
Gergely Nagy 9b9911bdb5
etc/makefiles: Call bin/focus-send to do the device reset
2 years ago
Jesse Vincent 6f11d89152
If we're using the focus command to reboot to the bootloader, we need to
2 years ago
Jesse Vincent 21a67ae565
A couple of quick correctness fixes to our port detection logic for device reboot
2 years ago
Jesse Vincent daeb7bf2c6
Add support for rebooting a board already running kaleidoscope by calling "device.reset" with focus
2 years ago
Jesse Vincent 4fd12cd79c
Turn off ultraverbose warnings as our default. It does not match the
2 years ago
Gergely Nagy fd0795f375
etc/makefiles/sketch.mk: Fix a typo
2 years ago
Gergely Nagy c15c895519
etc/makefiles/sketch.mk: Copy & symlink .bin files too, if they exist
2 years ago
Michael Richters 674f6a0828
Use make's built-in `.DEFAULT_GOAL` variable to set default target(s)
2 years ago
Jesse Vincent 25eadfd0a6
Stop printing size information when running simulator tests
3 years ago
Jesse Vincent d1911c8395
Clean up variables needed 'make flash' target to not get pre-calculated
3 years ago
Jesse Vincent 1f49a16bf1
do a little more shell makefile caching
3 years ago
Jesse Vincent e2ca8ee815
Arduino-cli 0.14 is ancient and unsupported.
3 years ago
Jesse Vincent 628117478e
Use := syntax for when we call $(shell) in our makefiles.
3 years ago
Jesse Vincent eeb6d00637
Change how and when we check for a working kaleidoscope hardware config
3 years ago
Jesse Vincent f5bbd61784
Simplify our docker execution (#1124)
3 years ago
Michael Richters d87de66e04
Fix docker simulator tests
3 years ago
Jesse Vincent 9357dcec8e
Switch from installing the prepackaged kaleidoscope arduino cores just
3 years ago
Jesse Vincent 3f4f2dcedb
Add a new KALEIDOSCOPE_LOCAL_LIB_DIR env variable that you can use
3 years ago
Jesse Vincent e5977d0d4f
Switch to using --library to point to Kaleidoscope when building.
3 years ago
Jesse Vincent 6b9496e2dc
Kaleidoscope build system support for gd32 keyboards
3 years ago
Jesse Vincent 79d2d46a19
Remove historical 'kaleidoscope-builder'
3 years ago
Tim Pope 5094f584e5 Use POSIX compatible shell read
3 years ago
Jesse Vincent 3e62e6640d
Rejigger the makefile and dockerfile to do arduino setup when building
4 years ago
Michael Richters f19d416190
Use new --build-property option if arduino-cli is >= 0.14
4 years ago
Jesse Vincent 59bc793c30
Fetch arduino core indices before updating our cores
4 years ago
Jesse Vincent 3458b481ec
It is sometimes useful to be able to do git checkouts in docker
4 years ago
Jesse Vincent a85c86ed70
Teach the makefile builder to look for Kaleidoscople plugin libraries inside the plugins directory
4 years ago
Jesse Vincent 82515e46d9
A small optimization for recursive makefile calls to stop shelling out to look for arduino-cli when we already know the answer
4 years ago
Jesse Vincent f17786a9c3
Another makefile laziness optimization
4 years ago
Jesse Vincent f0983e8011
A handful of changes to make the makefiles lazier to shave off a few % of execution time
4 years ago
Jesse Vincent 8bb344b29d
Fix an escaping bug that was causing "printf" messages when trying to build
4 years ago
Jesse Vincent 53b7deb7d1
Fix a typo in a displayed message
4 years ago
Jesse Vincent cda0e00376
fix a typo in a doc string
4 years ago
Jesse Vincent 2646b88e0e
Arduino-cli 0.14 has a breaking change wherein it errors out on config file write if the config file already exists
4 years ago
Jesse Vincent 8f604facd9
Update our docker config to use a layout that better matches arduino-cli
4 years ago
Jesse Vincent 80c00d5e24
Update example and testing sketches to use new makefiles
4 years ago
Jesse Vincent d94c3d5234
Replace kaleidoscope-builder with makefiles using arduino-cli
4 years ago
Jesse Vincent 7a12be25bc
Fix an embarassing typo.
4 years ago
Jesse Vincent de45646c9d
extract out a variable for ARDUINO_BUILDER_TOOLS_PATH to make it easier to
4 years ago
Jesse Vincent c98b513636
Revert "missed one"
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
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