@@ -255,40 +255,6 @@ func (pme *Explorer) FindPlatformReleaseProvidingBoardsWithVidPid(vid, pid strin
255
255
return res
256
256
}
257
257
258
- // FindBoardsWithVidPid FIXMEDOC
259
- func (pme * Explorer ) FindBoardsWithVidPid (vid , pid string ) []* cores.Board {
260
- res := []* cores.Board {}
261
- for _ , targetPackage := range pme .packages {
262
- for _ , targetPlatform := range targetPackage .Platforms {
263
- if platform := pme .GetInstalledPlatformRelease (targetPlatform ); platform != nil {
264
- for _ , board := range platform .Boards {
265
- if board .HasUsbID (vid , pid ) {
266
- res = append (res , board )
267
- }
268
- }
269
- }
270
- }
271
- }
272
- return res
273
- }
274
-
275
- // FindBoardsWithID FIXMEDOC
276
- func (pme * Explorer ) FindBoardsWithID (id string ) []* cores.Board {
277
- res := []* cores.Board {}
278
- for _ , targetPackage := range pme .packages {
279
- for _ , targetPlatform := range targetPackage .Platforms {
280
- if platform := pme .GetInstalledPlatformRelease (targetPlatform ); platform != nil {
281
- for _ , board := range platform .Boards {
282
- if board .BoardID == id {
283
- res = append (res , board )
284
- }
285
- }
286
- }
287
- }
288
- }
289
- return res
290
- }
291
-
292
258
// FindBoardWithFQBN returns the board identified by the fqbn, or an error
293
259
func (pme * Explorer ) FindBoardWithFQBN (fqbnIn string ) (* cores.Board , error ) {
294
260
fqbn , err := fqbn .Parse (fqbnIn )
0 commit comments