From 02a456a95cb8d1330e508e6ca9e4dd635827df66 Mon Sep 17 00:00:00 2001 From: Chris Spencer Date: Sun, 18 Jun 2017 20:42:34 -0400 Subject: [PATCH] Added ARDUINO_SKETCHBOOK to include list to improve search for items in ARDUINO_LIBS. --- Arduino.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Arduino.mk b/Arduino.mk index 5b0af0f..4646dad 100644 --- a/Arduino.mk +++ b/Arduino.mk @@ -1014,7 +1014,7 @@ endif # Using += instead of =, so that CPPFLAGS can be set per sketch level CPPFLAGS += -$(MCU_FLAG_NAME)=$(MCU) -DF_CPU=$(F_CPU) -DARDUINO=$(ARDUINO_VERSION) $(ARDUINO_ARCH_FLAG) -D__PROG_TYPES_COMPAT__ \ - -I$(ARDUINO_CORE_PATH) -I$(ARDUINO_VAR_PATH)/$(VARIANT) \ + -I$(ARDUINO_CORE_PATH) -I$(ARDUINO_SKETCHBOOK) -I$(ARDUINO_VAR_PATH)/$(VARIANT) \ $(SYS_INCLUDES) $(PLATFORM_INCLUDES) $(USER_INCLUDES) -Wall -ffunction-sections \ -fdata-sections