You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -259,15 +259,23 @@ This is convenient, for example, if this tool is being used in a automated proce
259
259
nanoff -v q
260
260
```
261
261
262
-
## List all supported boards
262
+
## List targets
263
263
264
-
You can list the supported boards, their versions, either for stable versions or preview.
264
+
You can list the supported targets, their versions, either for stable versions or preview. `--platform` allows you to filter for a platform. `--preview` filters the query to show only preview versions.
265
+
266
+
List packages available for ESP32 targets in preview version.
267
+
268
+
```console
269
+
nanoff --listboards --platform esp32 --preview
270
+
```
271
+
272
+
List packages available for STM32 targets in (stable version).
265
273
266
274
```console
267
-
nanoff --listboards --platform ESP --preview
275
+
nanoff --listboards --platform stm32
268
276
```
269
277
270
-
If you just use `--listboards` options, you'll get the list of all the stable versions for all boards. `--platform` allows you to filter.
278
+
If you just use `--listtargets` switch, you'll get the list of all the stable packages for all targets.
HelpText="List the available boards and versions available on CloudSmith.")]
279
279
publicboolListBoards{get;set;}
280
+
281
+
[Option(
282
+
"listtargets",
283
+
Required=false,
284
+
Default=false,
285
+
HelpText="List the available targets and versions. --platform and --preview options apply.")]
286
+
publicboolListTargets{get;set;}
287
+
280
288
#endregion
281
289
282
290
@@ -289,9 +297,9 @@ public class Options
289
297
new("Update ESP32 device with custom firmware (local bin file)",newOptions{TargetName="ESP32_WROOM_32",DeploymentImage="<location of file>.bin"}),
290
298
new("Update specific STM32 device (ST_STM32F769I_DISCOVERY) with latest available firmware (preview version), using JTAG interface",newOptions{TargetName="ST_STM32F769I_DISCOVERY",Update=true,Preview=true,JtagUpdate=true}),
291
299
new("Update specific STM32 device (NETDUINO3_WIFI) with latest available firmware (preview version), device is connected through DFU with Id 3380386D3134",newOptions{TargetName="NETDUINO3_WIFI",Update=true,Preview=true,DfuDeviceId="3380386D3134"}),
292
-
new("List all STM32 devices connected through JTAG",newOptions{Platform="stm32",ListJtagDevices=true}),
300
+
new("List all STM32 devices connected through JTAG",newOptions{Platform=SupportedPlatform.esp32,ListJtagDevices=true}),
0 commit comments