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

Appearance settings

Commit 87f06d7

Browse filesBrowse files
committed
Refactored custom global properties handling
1 parent 100f029 commit 87f06d7
Copy full SHA for 87f06d7

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎arduino/cores/packagemanager/package_manager.go

Copy file name to clipboardExpand all lines: arduino/cores/packagemanager/package_manager.go
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,8 @@ func (pme *Explorer) ResolveFQBN(fqbn *cores.FQBN) (
397397
buildProperties.Set("software", "ARDUINO")
398398
}
399399

400+
buildProperties.Merge(pme.GetCustomGlobalProperties())
401+
400402
return targetPackage, platformRelease, board, buildProperties, buildPlatformRelease, nil
401403
}
402404

‎legacy/builder/setup_build_properties.go

Copy file name to clipboardExpand all lines: legacy/builder/setup_build_properties.go
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ func (s *SetupBuildProperties) Run(ctx *types.Context) error {
4747

4848
buildProperties.SetPath("build.source.path", ctx.Sketch.FullPath)
4949

50-
buildProperties.Merge(ctx.PackageManager.GetCustomGlobalProperties())
51-
5250
keychainProp := buildProperties.ContainsKey("build.keys.keychain")
5351
signProp := buildProperties.ContainsKey("build.keys.sign_key")
5452
encryptProp := buildProperties.ContainsKey("build.keys.encrypt_key")

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.