Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 93217c4

Browse files
committed
CLI: fixed missing "runtime.platform.path"
This happens when the CLI is runned without the `--board` option. Fix #6463
1 parent 472b3b8 commit 93217c4

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

‎app/src/processing/app/Base.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,10 @@ public Base(String[] args) throws Exception {
261261
if (!isCommandLine()) {
262262
rebuildBoardsMenu();
263263
rebuildProgrammerMenu();
264+
} else {
265+
TargetBoard lastSelectedBoard = BaseNoGui.getTargetBoard();
266+
if (lastSelectedBoard != null)
267+
BaseNoGui.selectBoard(lastSelectedBoard);
264268
}
265269

266270
// Setup board-dependent variables.

‎build/shared/revisions.txt‎

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

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /