build: reject unknown firmware targets

pull/157/head
PhysicistJohn 2 weeks ago
parent c97938697b
commit 52d7b08091

@ -3,11 +3,12 @@
# NOTE: Can be overridden externally. # NOTE: Can be overridden externally.
# #
#Build target # Build target.
ifeq ($(TARGET),) TARGET ?= F072
TARGET = F072 ifneq ($(TARGET),F072)
else ifneq ($(TARGET),F303)
TARGET = F303 $(error Unsupported TARGET '$(TARGET)'; expected F072 or F303)
endif
endif endif
# Compiler options here. # Compiler options here.

Loading…
Cancel
Save

Powered by TurnKey Linux.