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:
parent
feb863dfc9
commit
be1a8403f0
@ -100,4 +100,8 @@ public class LegacyTargetBoard implements TargetBoard {
|
||||
return containerPlatform;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFQBN() {
|
||||
return getContainerPlatform().getContainerPackage().getId() + ":" + getContainerPlatform().getId() + ":" + getId();
|
||||
}
|
||||
}
|
||||
|
@ -92,4 +92,6 @@ public interface TargetBoard {
|
||||
|
||||
public TargetPlatform getContainerPlatform();
|
||||
|
||||
public String getFQBN();
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user