aboutsummaryrefslogtreecommitdiffstats
path: root/build_keyboard.mk
diff options
context:
space:
mode:
authorGravatar Joel Challis <git@zvecr.com>2020-03-21 05:20:04 +0000
committerGravatar GitHub <noreply@github.com>2020-03-21 16:20:04 +1100
commitd96380e65496912e0f68e6531565f4b45efd1623 (patch)
tree63e903f65b4fdc44c75c7eff21e076fdb200dca7 /build_keyboard.mk
parent7e80686f1e400010a8a800cc73c4896936f337de (diff)
downloadqmk_firmware-d96380e65496912e0f68e6531565f4b45efd1623.tar.gz
Initial arm->chibios pass - simplify some platform logic (#8450)
Diffstat (limited to 'build_keyboard.mk')
-rw-r--r--build_keyboard.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk
index b08642065..bfadede37 100644
--- a/build_keyboard.mk
+++ b/build_keyboard.mk
@@ -231,13 +231,16 @@ endif
# We can assume a ChibiOS target When MCU_FAMILY is defined since it's
# not used for LUFA
ifdef MCU_FAMILY
- FIRMWARE_FORMAT?=bin
PLATFORM=CHIBIOS
+ PLATFORM_KEY=chibios
+ FIRMWARE_FORMAT?=bin
else ifdef ARM_ATSAM
PLATFORM=ARM_ATSAM
+ PLATFORM_KEY=arm_atsam
FIRMWARE_FORMAT=bin
else
PLATFORM=AVR
+ PLATFORM_KEY=avr
FIRMWARE_FORMAT?=hex
endif