Skip to content

Commit 86ec498

Browse files
author
jantje
committed
Make runtime.hardware.path compliant with arduino framework #1448
1 parent e52f6db commit 86ec498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io.sloeber.core/src/io/sloeber/core/api/BoardDescription.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ public Map<String, String> getEnvVars() {
789789
String architecture = getArchitecture();
790790
IPath coreHardwarePath = getreferencedCoreHardwarePath();
791791
allVars.put(ENV_KEY_BUILD_ARCH, architecture.toUpperCase());
792-
allVars.put(ENV_KEY_HARDWARE_PATH, coreHardwarePath.removeLastSegments(1).toOSString());
792+
allVars.put(ENV_KEY_HARDWARE_PATH, getreferencingPlatformPath().removeLastSegments(1).toOSString());
793793
allVars.put(ENV_KEY_BUILD_SYSTEM_PATH, coreHardwarePath.append(SYSTEM).toOSString());
794794
allVars.put(ENV_KEY_PLATFORM_PATH, getreferencingPlatformPath().toOSString());
795795

0 commit comments

Comments
 (0)