mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-15 12:29:26 +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;
|
return containerPlatform;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getFQBN() {
|
||||||
|
return getContainerPlatform().getContainerPackage().getId() + ":" + getContainerPlatform().getId() + ":" + getId();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -92,4 +92,6 @@ public interface TargetBoard {
|
|||||||
|
|
||||||
public TargetPlatform getContainerPlatform();
|
public TargetPlatform getContainerPlatform();
|
||||||
|
|
||||||
|
public String getFQBN();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user