Skip to content

Commit e9d1362

Browse files
authored
Fixing listboard, adjusting doc (#84)
1 parent c81e5a8 commit e9d1362

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,21 +93,26 @@ In case nanoff detects this situation the following warning is shown:
9393

9494
### Update the firmware of an ESP32_WROOM_32 target
9595

96-
To update the firmware of an ESP32_WROOM_32 target connected to COM31, to the latest available development version.
96+
To update the firmware of an ESP32 target connected to COM31, to the latest available development version.
9797

9898
```console
99-
nanoff --update --target ESP32_WROOM_32 --serialport COM31
99+
nanoff --update --target ESP32_REV0 --serialport COM31
100100
```
101101

102+
> Note: there are multiple ESP32 images. The ESP32_REV0 image will just work for most ESP32 series. Dedicated images are also available, check out the [list](https://github.com/nanoframework/nf-interpreter#firmware-for-reference-boards).
103+
104+
102105
### Update the firmware of an ESP32_WROOM_32 target with a local CLR file
103106

104-
To update the firmware of an ESP32_WROOM_32 target connected to COM31 with a local CLR file (for example from a build).
107+
To update the firmware of an ESP32 target connected to COM31 with a local CLR file (for example from a build).
105108
This file has to be a binary file with a valid CLR from a build. No other checks or validations are performed on the file content.
106109

107110
```console
108-
nanoff --update --target ESP32_WROOM_32 --serialport COM31 --clrfile "C:\nf-interpreter\build\nanoCLR.bin"
111+
nanoff --update --target ESP32_REV0 --serialport COM31 --clrfile "C:\nf-interpreter\build\nanoCLR.bin"
109112
```
110113

114+
You can adjust the name of the core image you want to use. Refer to the previous section to get the full list.
115+
111116
### Show details of the connected ESP32 device
112117

113118
To show the details of the ESP32 device connected to COM31.

nanoFirmwareFlasher/FirmwarePackage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected FirmwarePackage(
6666

6767
public static List<CloudSmithPackageDetail> GetBoardList(bool communityTargets, bool preview, string filter, VerbosityLevel verbosity)
6868
{
69-
var repoName = preview ? _refTargetsDevRepo : _refTargetsStableRepo;
69+
string repoName = communityTargets ? _communityTargetsRepo : preview ? _refTargetsDevRepo : _refTargetsStableRepo;
7070
string requestUri = $"{_cloudsmithPackages}/{repoName}/?query={filter}";
7171
List<CloudSmithPackageDetail> boardNames = new List<CloudSmithPackageDetail>();
7272

0 commit comments

Comments
 (0)