The current state in the sketch folder. For example, the FQBN of the selected board, the selected port, etc.
• Readonly
board: undefined
| BoardIdentifier
| BoardDetails
The currently selected board associated with the sketch. If the board
is undefined, no board is selected.
If the board
is a BoardIdentifier
, it could be a recognized board on a detected port, but the board's platform could be absent.
If platform is installed, the board
is the lightweight representation of the board's detail. This information is
provided by the Arduino CLI
for the currently selected board in the sketch folder.
• Readonly
compileSummary: undefined
| CompileSummary
The summary of the latest sketch compilation. When the sketchPath
is available but the sketch has not been verified (compiled), the compile summary can be undefined
.
• Readonly
configOptions: undefined
| string
The FQBN with all the custom board options (if any) for the sketch. a:b:c:opt1=value_1,opt2=value_2
means { "opt1": "value_1", "opt2": "value_2" }
config options are configured.
• Readonly
port: undefined
| Readonly
<Pick
<Port
, "address"
| "protocol"
>> | Readonly
<Port
>
The currently selected port in the sketch folder.
• Readonly
selectedProgrammer: undefined
| string
| Readonly
<Programmer
>
The currently selected programmer.
• Readonly
sketchPath: string
Absolute filesystem path of the sketch folder.