Skip to content

Commit a458b4d

Browse files
committed
feat: exposed the build_properties from the CLI
Signed-off-by: dankeboy36 <[email protected]>
1 parent 50ab124 commit a458b4d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/api.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ export interface BoardDetails {
7777
readonly requiredTools: Tool[];
7878
readonly configOptions: ConfigOption[];
7979
readonly programmers: Programmer[];
80-
readonly VID: string;
81-
readonly PID: string;
80+
readonly buildProperties: string[];
8281
}
8382

8483
/**

src/test/suite/extension.test.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@ describe('arduinoContext', () => {
2222

2323
const suite: Record<keyof ArduinoState, ArduinoState[keyof ArduinoState]> = {
2424
boardDetails: <BoardDetails>{
25-
PID: '',
26-
VID: '',
2725
configOptions: [],
2826
fqbn: 'a:b:c',
2927
programmers: [],
3028
requiredTools: [],
29+
buildProperties: ['build.tarch=xtensa'],
3130
},
3231
buildPath: 'path/to/build/folder',
3332
dataDirPath: 'path/to/directories.data',

0 commit comments

Comments
 (0)