Skip to content

Commit 6e0d6a5

Browse files
authored
Add option to list boards, fixing DFU mode on MacOS (#83)
1 parent 023c226 commit 6e0d6a5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1450
-24
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,3 +334,6 @@ ASALocalRun/
334334

335335
#VSCode
336336
.vscode/
337+
338+
# Mac OS elements
339+
.DS_Store

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ dotnet tool install nanoff --tool-path c:\a-plain-simple-path-to-install-the-too
4646

4747
Note that if you're not using `nanoff` with STM32 devices, this limitation does not apply.
4848

49+
### MacOS users
50+
51+
You'll need to add nanoff to your path as well, once installed run:
52+
53+
```console
54+
export PATH=$PATH:~/.dotnet/tools
55+
```
56+
4957
## Update .NET **nanoFramework** Firmware Flasher
5058

5159
To update .NET **nanoFramework** Firmware Flasher tool use the following .NET Core CLI command:
@@ -232,6 +240,16 @@ This is convenient, for example, if this tool is being used in a automated proce
232240
nanoff -v q
233241
```
234242

243+
## List all supported boards
244+
245+
You can list the supported boards, their versions, either for stable versions or preview.
246+
247+
```console
248+
nanoff --listboards --platform ESP --preview
249+
```
250+
251+
If you just use `--listboards` options, you'll get the list of all the stable versions for all boards. `--platform` allows you to filter.
252+
235253
## Exit codes
236254

237255
The exit codes can be checked in [this source file](https://github.com/nanoframework/nanoFirmwareFlasher/blob/develop/nanoFirmwareFlasher/ExitCodes.cs).
5.61 MB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
QMAKE_PRO_INPUT = corelib.pro
3+
QMAKE_PRL_TARGET = QtCore
4+
QMAKE_PRL_CONFIG = lex yacc exceptions depend_includepath testcase_targets import_plugins import_qpa_plugin asset_catalogs rez qt_build_extra file_copies qmake_use qt warn_on release link_prl app_bundle incremental global_init_link_order lib_version_first sdk clang_pch_style shared qt_framework release macos osx macx mac darwin unix posix gcc clang llvm sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples f16c largefile precompile_header rdrnd shani x86SimdAlways prefix_build force_independent utf8_source create_prl link_prl prepare_docs qt_docs_targets no_private_qt_headers_warning QTDIR_build qt_example_installs testcase_exceptions explicitlib testcase_no_bundle warning_clean release ReleaseBuild Release build_pass exceptions qt_tracepoints moc resources simd optimize_full pcre2 generated_privates module_frameworks lib_bundle relative_qt_rpath app_extension_api_only git_build qmake_cache target_qt c++11 strict_c++ c++14 hide_symbols separate_debug_info need_fwd_pri qt_install_module debug_and_release build_all create_cmake sliced_bundle compiler_supports_fpmath release ReleaseBuild Release build_pass have_target dll exclusive_builds objective_c no_autoqmake any_bundle avx512common avx512mic avx512core avx512ifmavl avx512vbmivl thread
5+
QMAKE_PRL_VERSION = 5.11.2
6+
QMAKE_PRL_LIBS = -framework DiskArbitration -framework IOKit
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
QMAKE_PRO_INPUT = corelib.pro
3+
QMAKE_PRL_TARGET = QtCore_debug
4+
QMAKE_PRL_CONFIG = lex yacc debug exceptions depend_includepath testcase_targets import_plugins import_qpa_plugin asset_catalogs rez qt_build_extra file_copies qmake_use qt warn_on link_prl app_bundle incremental global_init_link_order lib_version_first sdk clang_pch_style shared qt_framework macos osx macx mac darwin unix posix gcc clang llvm sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples f16c largefile precompile_header rdrnd shani x86SimdAlways prefix_build force_independent utf8_source create_prl link_prl prepare_docs qt_docs_targets no_private_qt_headers_warning QTDIR_build qt_example_installs testcase_exceptions explicitlib testcase_no_bundle warning_clean debug DebugBuild Debug build_pass exceptions qt_tracepoints moc resources simd optimize_full pcre2 generated_privates module_frameworks lib_bundle relative_qt_rpath app_extension_api_only git_build qmake_cache target_qt c++11 strict_c++ c++14 hide_symbols separate_debug_info need_fwd_pri qt_install_module debug_and_release build_all create_cmake sliced_bundle compiler_supports_fpmath debug DebugBuild Debug build_pass have_target dll no_plist exclusive_builds debug_info objective_c no_autoqmake any_bundle avx512common avx512mic avx512core avx512ifmavl avx512vbmivl thread
5+
QMAKE_PRL_VERSION = 5.11.2
6+
QMAKE_PRL_LIBS = -framework DiskArbitration -framework IOKit
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleExecutable</key>
6+
<string>QtCore</string>
7+
<key>CFBundleGetInfoString</key>
8+
<string>Created by Qt/QMake</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>org.qt-project.QtCore</string>
11+
<key>CFBundlePackageType</key>
12+
<string>FMWK</string>
13+
<key>CFBundleShortVersionString</key>
14+
<string>5.11</string>
15+
<key>CFBundleSignature</key>
16+
<string>????</string>
17+
<key>CFBundleVersion</key>
18+
<string>5.11.2</string>
19+
<key>NOTE</key>
20+
<string>Please, do NOT change this file -- It was generated by Qt/QMake.</string>
21+
</dict>
22+
</plist>
5.61 MB
Binary file not shown.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleExecutable</key>
6+
<string>QtCore</string>
7+
<key>CFBundleGetInfoString</key>
8+
<string>Created by Qt/QMake</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>org.qt-project.QtCore</string>
11+
<key>CFBundlePackageType</key>
12+
<string>FMWK</string>
13+
<key>CFBundleShortVersionString</key>
14+
<string>5.11</string>
15+
<key>CFBundleSignature</key>
16+
<string>????</string>
17+
<key>CFBundleVersion</key>
18+
<string>5.11.2</string>
19+
<key>NOTE</key>
20+
<string>Please, do NOT change this file -- It was generated by Qt/QMake.</string>
21+
</dict>
22+
</plist>
5.61 MB
Binary file not shown.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleExecutable</key>
6+
<string>QtCore</string>
7+
<key>CFBundleGetInfoString</key>
8+
<string>Created by Qt/QMake</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>org.qt-project.QtCore</string>
11+
<key>CFBundlePackageType</key>
12+
<string>FMWK</string>
13+
<key>CFBundleShortVersionString</key>
14+
<string>5.11</string>
15+
<key>CFBundleSignature</key>
16+
<string>????</string>
17+
<key>CFBundleVersion</key>
18+
<string>5.11.2</string>
19+
<key>NOTE</key>
20+
<string>Please, do NOT change this file -- It was generated by Qt/QMake.</string>
21+
</dict>
22+
</plist>

0 commit comments

Comments
 (0)