Updated docs - added BOOTLOADER_PARENT which has to be set if the user sets
either of the other two BOOTLOADER variables
This commit is contained in:
parent
ffde764ada
commit
07408ec520
1 changed files with 23 additions and 3 deletions
|
@ -1026,7 +1026,7 @@ BOOTLOADER_FILE = optiboot_atmega328.hex
|
|||
|
||||
**Description:**
|
||||
|
||||
Path to bootloader file.
|
||||
Relative path to bootloader directory.
|
||||
|
||||
Usually can be auto-detected as a relative `bootloader.path` from `boards.txt`
|
||||
|
||||
|
@ -1036,14 +1036,34 @@ Usually can be auto-detected as a relative `bootloader.path` from `boards.txt`
|
|||
BOOTLOADER_PATH = optiboot
|
||||
# or
|
||||
BOOTLOADER_PATH = arduino:atmega
|
||||
# or
|
||||
BOOTLOADER_PATH = /usr/share/arduino/hardware/arduino/bootloaders/caterina/Caterina-Esplora.hex
|
||||
```
|
||||
|
||||
**Requirement:** *Optional*
|
||||
|
||||
----
|
||||
|
||||
### BOOTLOADER_PARENT
|
||||
|
||||
**Description:**
|
||||
|
||||
Absolute path to bootloader file's parent directory.
|
||||
|
||||
Defaults to `/usr/share/arduino/hardware/arduino/bootloaders` (Linux)
|
||||
|
||||
**Example:**
|
||||
|
||||
```Makefile
|
||||
BOOTLOADER_PARENT = ~/sketchbook/hardware/promicro/bootloaders
|
||||
BOOTLOADER_PATH = caterina
|
||||
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`
|
||||
|
||||
**Requirement:** *Optional, unless BOOTLOADER_FILE and/or BOOTLOADER_PATH are user-defined*
|
||||
|
||||
----
|
||||
|
||||
## ChipKIT variables
|
||||
|
||||
### MPIDE_DIR
|
||||
|
|
Loading…
Add table
Reference in a new issue