Skip to content

New preprocessor #2729

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 15 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed properties loading order
  • Loading branch information
Federico Fissore committed Mar 25, 2015
commit 71826c0f1b4df5b4269497ef638bbb78b75f1886
2 changes: 1 addition & 1 deletion arduino-core/src/processing/app/debug/TargetPackage.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public TargetPackage(String _id, File _folder, PreferencesMap hardwarePlatformTx
id = _id;

PreferencesMap packagePlatformTxt = PreferencesMap.safeLoad(new File(_folder, "platform.txt"));
packagePlatformTxt = packagePlatformTxt.merge(hardwarePlatformTxt);
packagePlatformTxt = hardwarePlatformTxt.merge(packagePlatformTxt);

File[] folders = _folder.listFiles(new OnlyDirs());
if (folders == null)
Expand Down
2 changes: 1 addition & 1 deletion arduino-core/src/processing/app/debug/TargetPlatform.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public TargetPlatform(String _name, File _folder, TargetPackage parent, Preferen
boardsFile.getAbsolutePath()), e);
}

this.preferences = new PreferencesMap().merge(packagePlatformTxt);
this.preferences = new PreferencesMap(packagePlatformTxt);

File platformsFile = new File(folder, "platform.txt");
try {
Expand Down