Merge pull request #500 from sej7278/master
Fix autodetection of USB_PID on SparkFun's new ProMicro core Remove use of tilde from documentation
This commit is contained in:
commit
c41763851b
3 changed files with 25 additions and 19 deletions
|
@ -628,8 +628,12 @@ ifeq ($(strip $(NO_CORE)),)
|
||||||
USB_VID = $(call PARSE_BOARD,$(BOARD_TAG),build.vid)
|
USB_VID = $(call PARSE_BOARD,$(BOARD_TAG),build.vid)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# coping with 2-3 methods sparkfun use for usb.pid
|
||||||
ifndef USB_PID
|
ifndef USB_PID
|
||||||
USB_PID = $(call PARSE_BOARD,$(BOARD_TAG),build.pid)
|
USB_PID := $(call PARSE_BOARD,$(BOARD_TAG),build.pid)
|
||||||
|
ifndef USB_PID
|
||||||
|
USB_PID := $(call PARSE_BOARD,$(BOARD_TAG),menu.(chip|cpu).$(BOARD_SUB).build.pid)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,13 @@ The following is the rough list of changes that went into different versions.
|
||||||
I tried to give credit whenever possible. If I have missed anyone, kindly add it to the list.
|
I tried to give credit whenever possible. If I have missed anyone, kindly add it to the list.
|
||||||
|
|
||||||
### In Development
|
### In Development
|
||||||
|
- Fix: Allowed for SparkFun's weird usb pid/vid submenu shenanigans (issue #499). (https://github.com/sej7278)
|
||||||
- Fix: Do not include the Arduino header when calling generate_assembly on .cpp files. (https://github.com/Batchyx)
|
- Fix: Do not include the Arduino header when calling generate_assembly on .cpp files. (https://github.com/Batchyx)
|
||||||
- Fix: Auto-detect F_CPU on Teensy from boards.txt (https://github.com/DaWelter)
|
- Fix: Auto-detect F_CPU on Teensy from boards.txt (https://github.com/DaWelter)
|
||||||
- Fix: params typo in PuTTY section (issue #487) (https://github.com/ericdand)
|
- Fix: params typo in PuTTY section (issue #487) (https://github.com/ericdand)
|
||||||
- Fix: Fixed sed expression to properly format show_submenu (issue #488) (https://github.com/cbosdo)
|
- Fix: Fixed sed expression to properly format show_submenu (issue #488) (https://github.com/cbosdo)
|
||||||
- New: Add support for good old cu as monitor command (issue #492) (https://github.com/mwm)
|
- New: Add support for good old cu as monitor command (issue #492) (https://github.com/mwm)
|
||||||
|
- Tweak: Removed tilde from documentation (issue #497). (https://github.com/sej7278)
|
||||||
|
|
||||||
### 1.5.2 (2017-01-11)
|
### 1.5.2 (2017-01-11)
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,7 @@ Defaults to `ard-reset-arduino` with the extra `--caterina` flag for atmega32u4
|
||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```Makefile
|
```Makefile
|
||||||
RESET_CMD = ~/gertduino/reset
|
RESET_CMD = $(HOME)/gertduino/reset
|
||||||
```
|
```
|
||||||
|
|
||||||
**Requirement:** *Optional*
|
**Requirement:** *Optional*
|
||||||
|
@ -190,12 +190,12 @@ ARDMK_VENDOR = sparkfun
|
||||||
|
|
||||||
Path to `sketchbook` directory.
|
Path to `sketchbook` directory.
|
||||||
|
|
||||||
Usually can be auto-detected from the Arduino `preferences.txt` file or the default `~/sketchbook`
|
Usually can be auto-detected from the Arduino `preferences.txt` file or the default `$(HOME)/sketchbook`
|
||||||
|
|
||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```Makefile
|
```Makefile
|
||||||
ARDUINO_SKETCHBOOK = ~/sketches
|
ARDUINO_SKETCHBOOK = $(HOME)/sketches
|
||||||
```
|
```
|
||||||
|
|
||||||
**Requirement:** *Optional*
|
**Requirement:** *Optional*
|
||||||
|
@ -210,15 +210,15 @@ Path to Arduino `preferences.txt` file.
|
||||||
|
|
||||||
Usually can be auto-detected as `AUTO_ARDUINO_PREFERENCES` from the defaults:
|
Usually can be auto-detected as `AUTO_ARDUINO_PREFERENCES` from the defaults:
|
||||||
|
|
||||||
* on Linux (1.0): `~/.arduino/preferences.txt`
|
* on Linux (1.0): `$(HOME)/.arduino/preferences.txt`
|
||||||
* on Linux (1.5+): `~/.arduino15/preferences.txt`
|
* on Linux (1.5+): `$(HOME)/.arduino15/preferences.txt`
|
||||||
* on Mac OS X (1.0): `~/Library/Arduino/preferences.txt`
|
* on Mac OS X (1.0): `$(HOME)/Library/Arduino/preferences.txt`
|
||||||
* on Mac OS X (1.5+): `~/Library/Arduino15/preferences.txt`
|
* on Mac OS X (1.5+): `$(HOME)/Library/Arduino15/preferences.txt`
|
||||||
|
|
||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```Makefile
|
```Makefile
|
||||||
ARDUINO_PREFERENCES_PATH = ~/sketches/preferences.txt
|
ARDUINO_PREFERENCES_PATH = $(HOME)/sketches/preferences.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
**Requirement:** *Optional*
|
**Requirement:** *Optional*
|
||||||
|
@ -351,7 +351,7 @@ Defaults to `libraries` directory within user's sketchbook.
|
||||||
|
|
||||||
```Makefile
|
```Makefile
|
||||||
# Linux
|
# Linux
|
||||||
USER_LIB_PATH = ~/sketchbook/libraries
|
USER_LIB_PATH = $(HOME)/sketchbook/libraries
|
||||||
# For a random project on *nix
|
# For a random project on *nix
|
||||||
USER_LIB_PATH = /path/to/my/project
|
USER_LIB_PATH = /path/to/my/project
|
||||||
```
|
```
|
||||||
|
@ -428,7 +428,7 @@ Path to non-standard core's variant files.
|
||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```Makefile
|
```Makefile
|
||||||
ARDUINO_VAR_PATH = ~/sketchbook/hardware/arduino-tiny/cores/tiny
|
ARDUINO_VAR_PATH = $(HOME)/sketchbook/hardware/arduino-tiny/cores/tiny
|
||||||
```
|
```
|
||||||
|
|
||||||
**Requirement:** *Optional*
|
**Requirement:** *Optional*
|
||||||
|
@ -1104,7 +1104,7 @@ Defaults to `pre-build-hook.sh`
|
||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```Makefile
|
```Makefile
|
||||||
PRE_BUILD_HOOK = ~/bin/bump-revision.sh
|
PRE_BUILD_HOOK = $(HOME)/bin/bump-revision.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
**Requirement:** *Optional*
|
**Requirement:** *Optional*
|
||||||
|
@ -1219,7 +1219,7 @@ Defaults to `ARDUINO_SKETCHBOOK/hardware/ALTERNATE_CORE`
|
||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```Makefile
|
```Makefile
|
||||||
ALTERNATE_CORE_PATH = ~/sketchbook/hardware/arduino-tiny/cores/tiny
|
ALTERNATE_CORE_PATH = $(HOME)/sketchbook/hardware/arduino-tiny/cores/tiny
|
||||||
```
|
```
|
||||||
|
|
||||||
**Requirement:** *Optional*
|
**Requirement:** *Optional*
|
||||||
|
@ -1237,7 +1237,7 @@ Defaults to `ARDUINO_DIR/hardware/arduino/boards.txt`
|
||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```Makefile
|
```Makefile
|
||||||
BOARD_TXT = ~/sketchbook/hardware/boards.txt
|
BOARD_TXT = $(HOME)/sketchbook/hardware/boards.txt
|
||||||
# or
|
# or
|
||||||
BOARD_TXT = /usr/share/arduino/hardware/arduino/boards.txt
|
BOARD_TXT = /usr/share/arduino/hardware/arduino/boards.txt
|
||||||
```
|
```
|
||||||
|
@ -1371,12 +1371,12 @@ Defaults to `/usr/share/arduino/hardware/arduino/bootloaders` (Linux)
|
||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```Makefile
|
```Makefile
|
||||||
BOOTLOADER_PARENT = ~/sketchbook/hardware/promicro/bootloaders
|
BOOTLOADER_PARENT = $(HOME)/sketchbook/hardware/promicro/bootloaders
|
||||||
BOOTLOADER_PATH = caterina
|
BOOTLOADER_PATH = caterina
|
||||||
BOOTLOADER_FILE = Caterina-promicro16.hex
|
BOOTLOADER_FILE = Caterina-promicro16.hex
|
||||||
```
|
```
|
||||||
|
|
||||||
Would result in an absolute path to the bootloader hex file of `~/sketchbook/hardware/promicro/bootloaders/caterina/Caterina-promicro16.hex`
|
Would result in an absolute path to the bootloader hex file of `$(HOME)/sketchbook/hardware/promicro/bootloaders/caterina/Caterina-promicro16.hex`
|
||||||
|
|
||||||
**Requirement:** *Optional, unless BOOTLOADER_FILE and/or BOOTLOADER_PATH are user-defined*
|
**Requirement:** *Optional, unless BOOTLOADER_FILE and/or BOOTLOADER_PATH are user-defined*
|
||||||
|
|
||||||
|
@ -1395,7 +1395,7 @@ Usually can be auto-detected as `AUTO_MPIDE_DIR` from the defaults `/usr/share/m
|
||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```Makefile
|
```Makefile
|
||||||
MPIDE_DIR = ~/mpide
|
MPIDE_DIR = $(HOME)/mpide
|
||||||
```
|
```
|
||||||
|
|
||||||
**Requirement:** *Optional*
|
**Requirement:** *Optional*
|
||||||
|
@ -1408,12 +1408,12 @@ MPIDE_DIR = ~/mpide
|
||||||
|
|
||||||
Path to chipKIT `preferences.txt` file.
|
Path to chipKIT `preferences.txt` file.
|
||||||
|
|
||||||
Usually can be auto-detected as `AUTO_MPIDE_PREFERENCES_PATH` from the defaults `~/.mpide/preferences.txt` (Linux) or `~/Library/Mpide/preferences.txt` (OSX)
|
Usually can be auto-detected as `AUTO_MPIDE_PREFERENCES_PATH` from the defaults `$(HOME)/.mpide/preferences.txt` (Linux) or `$(HOME)/Library/Mpide/preferences.txt` (OSX)
|
||||||
|
|
||||||
**Example:**
|
**Example:**
|
||||||
|
|
||||||
```Makefile
|
```Makefile
|
||||||
MPIDE_PREFERENCES_PATH = ~/chipkit/preferences.txt
|
MPIDE_PREFERENCES_PATH = $(HOME)/chipkit/preferences.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
**Requirement:** *Optional*
|
**Requirement:** *Optional*
|
||||||
|
|
Loading…
Reference in a new issue