From 7d0aa70880ca40db5c4a20c52dc3a6197f5b65a6 Mon Sep 17 00:00:00 2001 From: Simon John Date: Tue, 14 Jan 2014 08:24:04 +0000 Subject: [PATCH] put back a couple of things that were removed - sudar's inline suggestions --- Arduino.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Arduino.mk b/Arduino.mk index 6028ad6..df5ec03 100644 --- a/Arduino.mk +++ b/Arduino.mk @@ -583,6 +583,12 @@ ifndef RESET_CMD endif endif +ifneq ($(CATERINA),) + ERROR_ON_CATERINA = $(error On $(BOARD_TAG), raw_xxx operation is not supported) +else + ERROR_ON_CATERINA = +endif + ######################################################################## # Local sources @@ -1198,7 +1204,7 @@ help: make set_fuses - set fuses without burning bootloader\n\ make help - show this help\n\ " - @$(ECHO) "Please refer to Arduino.mk for more details.\n" + @$(ECHO) "Please refer to $(ARDMK_DIR)/Arduino.mk for more details.\n" .PHONY: all upload raw_upload raw_eeprom error_on_caterina reset reset_stty ispload \ clean depends size show_boards monitor disasm symbol_sizes generated_assembly \