1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-03-13 10:29:35 +01:00

Add TargetBoard.getFQBN helper

This commit is contained in:
Martino Facchin 2019-03-07 14:09:55 +01:00
parent feb863dfc9
commit be1a8403f0
2 changed files with 6 additions and 0 deletions

View File

@ -100,4 +100,8 @@ public class LegacyTargetBoard implements TargetBoard {
return containerPlatform;
}
@Override
public String getFQBN() {
return getContainerPlatform().getContainerPackage().getId() + ":" + getContainerPlatform().getId() + ":" + getId();
}
}

View File

@ -92,4 +92,6 @@ public interface TargetBoard {
public TargetPlatform getContainerPlatform();
public String getFQBN();
}