File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
io.sloeber.core/src/io/sloeber/core/api Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -851,6 +851,18 @@ public Map<String, String> getEnvVars() {
851
851
852
852
private Map <String , String > getEnVarPlatformInfo () {
853
853
Map <String , String > ret = new HashMap <>();
854
+
855
+ if (myReferencedPlatformUpload != null ) {
856
+ ret .putAll (getEnvVarPlatformFileTools (myReferencedPlatformUpload ));
857
+ }
858
+ if (myReferencedPlatformVariant != null ) {
859
+ ret .putAll (getEnvVarPlatformFileTools (myReferencedPlatformVariant ));
860
+ }
861
+
862
+ if (myReferencedPlatformCore != null ) {
863
+ ret .putAll (getEnvVarPlatformFileTools (myReferencedPlatformCore ));
864
+ }
865
+
854
866
IPath referencingPlatformPath = getreferencingPlatformPath ();
855
867
ArduinoPlatformVersion referencingPlatform = BoardsManager .getPlatform (referencingPlatformPath );
856
868
@@ -874,7 +886,6 @@ private Map<String, String> getEnVarPlatformInfo() {
874
886
boolean jsonBasedPlatformManagement = !Preferences .getUseArduinoToolSelection ();
875
887
if (jsonBasedPlatformManagement ) {
876
888
// overrule the Arduino IDE way of working and use the json refereced tools
877
- ret .putAll (getEnvVarPlatformFileTools (myReferencedPlatformCore ));
878
889
ret .putAll (getEnvVarPlatformFileTools (referencingPlatform ));
879
890
return ret ;
880
891
}
You can’t perform that action at this time.
0 commit comments