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 c99ab12

Browse files
Add "runtime." prefix to "build_properties_custom.*" preferences
1 parent 9c74188 commit c99ab12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎arduino-core/src/cc/arduino/Compiler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ private void callArduinoBuilder(TargetBoard board, TargetPlatform platform, Targ
228228
commandLine.addArgument("-warnings=" + PreferencesData.get("compiler.warning_level"), false);
229229

230230
PreferencesData.getMap()
231-
.subTree("build_properties_custom")
231+
.subTree("runtime.build_properties_custom")
232232
.entrySet()
233233
.stream()
234234
.forEach(kv -> commandLine.addArgument("-prefs=\"" + kv.getKey() + "=" + kv.getValue() + "\"", false));

‎arduino-core/src/processing/app/helpers/CommandlineParser.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ private void processPrefArgument(String arg) {
277277
BaseNoGui.showError(null, I18n.format(tr("{0}: Invalid argument to --pref, should be of the form \"pref=value\""), arg), 3);
278278

279279
PreferencesData.set(split[0], split[1]);
280-
PreferencesData.set("build_properties_custom." + split[0], split[1]);
280+
PreferencesData.set("runtime.build_properties_custom." + split[0], split[1]);
281281
}
282282

283283
public boolean isDoVerboseBuild() {

0 commit comments

Comments
(0)

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