Added ifndef ARDUINO_VAR_PATH for compiling for the attiny
This commit is contained in:
commit
05b15fe67e
2 changed files with 8 additions and 1 deletions
|
@ -6,6 +6,7 @@ The following is the rough list of changes that went into different versions. I
|
||||||
### 0.10.5 (in development)
|
### 0.10.5 (in development)
|
||||||
- Add USB_VID and USB_PID to CPPFLAGS only if the board is Leonardo.
|
- Add USB_VID and USB_PID to CPPFLAGS only if the board is Leonardo.
|
||||||
- Allow adding extra common dependencies (COMMON_DEPS) (https://github.com/gaftech)
|
- Allow adding extra common dependencies (COMMON_DEPS) (https://github.com/gaftech)
|
||||||
|
- Added ifndef ARDUINO_VAR_PATH for compiling for the attiny (https://github.com/danielesteban)
|
||||||
|
|
||||||
### 0.10.4 (2013-05-31) @matthijskooijman
|
### 0.10.4 (2013-05-31) @matthijskooijman
|
||||||
- Improved BAUD_RATE detection logic
|
- Improved BAUD_RATE detection logic
|
||||||
|
|
|
@ -303,7 +303,13 @@ ifdef ARDUINO_DIR
|
||||||
ARDUINO_LIB_PATH = $(ARDUINO_DIR)/libraries
|
ARDUINO_LIB_PATH = $(ARDUINO_DIR)/libraries
|
||||||
$(call show_config_variable,ARDUINO_LIB_PATH,[COMPUTED],(from ARDUINO_DIR))
|
$(call show_config_variable,ARDUINO_LIB_PATH,[COMPUTED],(from ARDUINO_DIR))
|
||||||
ARDUINO_CORE_PATH = $(ARDUINO_DIR)/hardware/arduino/cores/arduino
|
ARDUINO_CORE_PATH = $(ARDUINO_DIR)/hardware/arduino/cores/arduino
|
||||||
|
|
||||||
|
ifndef ARDUINO_VAR_PATH
|
||||||
ARDUINO_VAR_PATH = $(ARDUINO_DIR)/hardware/arduino/variants
|
ARDUINO_VAR_PATH = $(ARDUINO_DIR)/hardware/arduino/variants
|
||||||
|
$(call show_config_variable,ARDUINO_VAR_PATH,[COMPUTED],(from ARDUINO_DIR))
|
||||||
|
else
|
||||||
|
$(call show_config_variable,ARDUINO_VAR_PATH,[USER])
|
||||||
|
endif
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue