QMK CLI Environment bootstrapper (#25038)

Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Pascal Getreuer <getreuer@google.com>
This commit is contained in:
Nick Brassel 2025-11-28 00:36:49 +11:00 committed by GitHub
parent 594558ec7b
commit 9c2ca00074
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 1033 additions and 91 deletions

View file

@ -5,10 +5,10 @@
# Autodetect teensy loader
ifndef TEENSY_LOADER_CLI
ifneq (, $(shell which teensy-loader-cli 2>/dev/null))
TEENSY_LOADER_CLI ?= teensy-loader-cli
else
ifneq (, $(shell which teensy_loader_cli 2>/dev/null))
TEENSY_LOADER_CLI ?= teensy_loader_cli
else
TEENSY_LOADER_CLI ?= teensy-loader-cli
endif
endif

View file

@ -77,10 +77,10 @@ st-flash: $(BUILD_DIR)/$(TARGET).hex sizeafter
# Autodetect teensy loader
ifndef TEENSY_LOADER_CLI
ifneq (, $(shell which teensy-loader-cli 2>/dev/null))
TEENSY_LOADER_CLI ?= teensy-loader-cli
else
ifneq (, $(shell which teensy_loader_cli 2>/dev/null))
TEENSY_LOADER_CLI ?= teensy_loader_cli
else
TEENSY_LOADER_CLI ?= teensy-loader-cli
endif
endif