Added ARDUINO_SKETCHBOOK to include list to improve search for items in ARDUINO_LIBS.

This commit is contained in:
Chris Spencer 2017-06-18 20:42:34 -04:00
parent ba96840399
commit 02a456a95c

View file

@ -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