Add compile time warnings for experimental architectures, for those that don't read the manual.

This commit is contained in:
Dean Camera 2012-06-10 10:59:13 +00:00
parent 6dc85e4023
commit 59056ce544
1 changed files with 3 additions and 1 deletions

View File

@ -87,10 +87,12 @@ ifeq ($(ARCH), AVR8)
CROSS := avr-
else ifeq ($(ARCH), XMEGA)
CROSS := avr-
$(warning The XMEGA device support is currently EXPERIMENTAL (incomplete and/or non-functional), and is included for preview purposes only.)
else ifeq ($(ARCH), UC3)
CROSS := avr32-
$(warning The UC3 device support is currently EXPERIMENTAL (incomplete and/or non-functional), and is included for preview purposes only.)
else
$(error Unsupported architecture "$(ARCH)".)
$(error Unsupported architecture "$(ARCH)")
endif
# Output Messages