Skip to content

Commit

Permalink
Set runtime.hardware.path property during upload
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Nov 16, 2022
1 parent 4507884 commit 15097bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arduino/cores/cores.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ func (release *PlatformRelease) RuntimeProperties() *properties.Map {
res := properties.NewMap()
if release.InstallDir != nil {
res.Set("runtime.platform.path", release.InstallDir.String())
res.Set("runtime.hardware.path", release.InstallDir.Join("..").String())
}

return res
Expand Down

0 comments on commit 15097bc

Please sign in to comment.