diff --git a/arduino/cores/cores.go b/arduino/cores/cores.go index 69669efff4b..aa6886d9948 100644 --- a/arduino/cores/cores.go +++ b/arduino/cores/cores.go @@ -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