Added api subdirectory to $ARDUINO_CORE_PATH for new cores like megaavr

This commit is contained in:
Simon John 2019-07-03 13:36:17 +01:00
parent 95cae69d7c
commit 4093a24418
2 changed files with 2 additions and 1 deletions

View file

@ -1159,7 +1159,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) \
-I$(ARDUINO_CORE_PATH) -I$(ARDUINO_VAR_PATH)/$(VARIANT) \
-I$(ARDUINO_CORE_PATH) -I$(ARDUINO_CORE_PATH)/api -I$(ARDUINO_VAR_PATH)/$(VARIANT) \
$(SYS_INCLUDES) $(PLATFORM_INCLUDES) $(USER_INCLUDES) -Wall -ffunction-sections \
-fdata-sections

View file

@ -31,6 +31,7 @@ I tried to give credit whenever possible. If I have missed anyone, kindly add it
- New: Add support for BOARD_CLOCK for board.menu.speed and board.menu.clock entries in boards.txt files. (https://github.com/dewhisna)
- New: Updated Arch instructions. (https://github.com/Akram-Chehaima)
- New: Add support for Robotis OpenCR 1.0 boards.
- New: Added api subdirectory to ARDUINO_CORE_PATH for new ArduinoCore-API cores like megaavr (issue #607) (https://github.com/sej7278)
### 1.6.0 (2017-07-11)
- Fix: Allowed for SparkFun's weird usb pid/vid submenu shenanigans (issue #499). (https://github.com/sej7278)