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
15 changed files with 1033 additions and 91 deletions
+3 -3
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
+3 -3
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