Skip to content

Commit

Permalink
CLI: fixed missing "runtime.platform.path"
Browse files Browse the repository at this point in the history
This happens when the CLI is runned without the `--board` option.

Fix arduino#6463
  • Loading branch information
cmaglie committed Jul 27, 2017
1 parent 472b3b8 commit 93217c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/processing/app/Base.java
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,10 @@ public Base(String[] args) throws Exception {
if (!isCommandLine()) {
rebuildBoardsMenu();
rebuildProgrammerMenu();
} else {
TargetBoard lastSelectedBoard = BaseNoGui.getTargetBoard();
if (lastSelectedBoard != null)
BaseNoGui.selectBoard(lastSelectedBoard);
}

// Setup board-dependent variables.
Expand Down
1 change: 1 addition & 0 deletions build/shared/revisions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARDUINO 1.8.4
* IDE Toolbar can now go full width on 4K display.
* Environment variable LIBRARY_INDEX_URL is now correctly parsed (LIBRARY_INDEX_URL_GZ can also be optinally specified). Thanks @xardael
* Added per-board generic option in config file boards.txt for disabling control of dtr+rts. Thanks @d-a-v
* CLI: fixed missing "runtime.platform.path" when running without the `--board` option

[libraries]
* Fixed wrong folder name for "Adafruit Circuit Playground" library, now it can be updated cleanly.
Expand Down

0 comments on commit 93217c4

Please sign in to comment.