Skip to content

Commit be1a840

Browse files
committed
Add TargetBoard.getFQBN helper
1 parent feb863d commit be1a840

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

arduino-core/src/processing/app/debug/LegacyTargetBoard.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,8 @@ public TargetPlatform getContainerPlatform() {
100100
return containerPlatform;
101101
}
102102

103+
@Override
104+
public String getFQBN() {
105+
return getContainerPlatform().getContainerPackage().getId() + ":" + getContainerPlatform().getId() + ":" + getId();
106+
}
103107
}

arduino-core/src/processing/app/debug/TargetBoard.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,6 @@ public interface TargetBoard {
9292

9393
public TargetPlatform getContainerPlatform();
9494

95+
public String getFQBN();
96+
9597
}

0 commit comments

Comments
 (0)