@kvell007/embed-labs-cli 0.1.0-alpha.51 → 0.1.0-alpha.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -217,7 +217,12 @@ embed local toolchain current [--json]
217
217
  embed local toolchain install [--board <board_id>] [--mode minimal|runtime|compile|qt|firmware|full|images] [--json]
218
218
  embed local toolchain validate [--board <board_id>] [--mode minimal|runtime|compile|qt|firmware|full|images] [--json]
219
219
  embed local compile taishanpi --source <main.c|main.cpp> --output <artifact> [--json]
220
- embed local build qt-smoke --build-dir <build_dir> [--json]
220
+ embed local build qt-smoke --build-dir <build_dir> [--source <qt-cmake-dir>] [--target-name <executable>] [--json]
221
+
222
+ The `qt-smoke` subcommand name is kept for compatibility. When `--source` and
223
+ `--target-name` are supplied, it builds the supplied TaishanPi Qt/CMake
224
+ application, including official board-pack examples such as
225
+ `board-packs/taishanpi/examples/modbus-loop-demo/taishanpi`.
221
226
 
222
227
  embed bridge start [--host 127.0.0.1] [--port 18083]
223
228
  embed bridge status [--json]
package/dist/index.js CHANGED
@@ -105,7 +105,7 @@ const LOCAL_TOOLCHAIN_INSTALL_USAGE = "Usage: embed local toolchain install [--b
105
105
  const LOCAL_TOOLCHAIN_UNINSTALL_USAGE = "Usage: embed local toolchain uninstall --board taishanpi-1m-rk3566|pico2w-rp2350-monitor|coloreasypico2-rp2350-monitor [--install-root <path>] [--json]";
106
106
  const LOCAL_TOOLCHAIN_VALIDATE_USAGE = "Usage: embed local toolchain validate [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor|coloreasypico2-rp2350-monitor] [--release-root <path>] [--mode minimal|runtime|compile|qt|firmware|full|images] [--json]";
107
107
  const LOCAL_COMPILE_TAISHANPI_USAGE = "Usage: embed local compile taishanpi --source <main.c|main.cpp> --output <artifact> [--release-root <path>] [--account <account_id>] [--json]";
108
- const LOCAL_BUILD_QT_SMOKE_USAGE = "Usage: embed local build qt-smoke --build-dir <dir> [--source <qt-smoke-dir>] [--release-root <path>] [--account <account_id>] [--json]";
108
+ const LOCAL_BUILD_QT_SMOKE_USAGE = "Usage: embed local build qt-smoke --build-dir <dir> [--source <qt-cmake-dir>] [--target-name <executable>] [--release-root <path>] [--account <account_id>] [--json]";
109
109
  const AUTH_DEVICE_STATUS_USAGE = "Usage: embed auth device status [--json]";
110
110
  const AUTH_DEVICE_LIST_USAGE = "Usage: embed auth device list [--json]";
111
111
  const AUTH_DEVICE_REVOKE_USAGE = "Usage: embed auth device revoke <device_id> [--json]";
@@ -8077,6 +8077,7 @@ Main workflow:
8077
8077
  embed local toolchain validate
8078
8078
  embed local compile taishanpi --source ./main.c --output ./.embed-labs/build/main
8079
8079
  embed local build qt-smoke --build-dir ./.embed-labs/build/qt-smoke
8080
+ embed local build qt-smoke --source ./taishanpi-app --target-name app --build-dir ./.embed-labs/build/app
8080
8081
  6. Query board knowledge and method metadata:
8081
8082
  embed board registry list
8082
8083
  embed board methods taishanpi-1m-rk3566
@@ -8118,6 +8119,7 @@ Local hardware:
8118
8119
  embed local toolchain validate
8119
8120
  embed local compile taishanpi --source ./main.c --output ./.embed-labs/build/main
8120
8121
  embed local build qt-smoke --build-dir ./.embed-labs/build/qt-smoke
8122
+ embed local build qt-smoke --source ./taishanpi-app --target-name app --build-dir ./.embed-labs/build/app
8121
8123
  embed image boot-logo compose --package ./boot-logo-package.json --base-image ./boot.img --output ./boot-logo.img
8122
8124
  embed deploy taishanpi --host 198.19.77.2 --artifact ./artifact.bin --approve --run
8123
8125
  embed flash plan --board <rp2350|taishanpi>
@@ -8195,6 +8197,7 @@ Cloud build path:
8195
8197
  embed local toolchain validate
8196
8198
  embed local compile taishanpi --source ./main.c --output ./.embed-labs/build/main
8197
8199
  embed local build qt-smoke --build-dir ./.embed-labs/build/qt-smoke
8200
+ embed local build qt-smoke --source ./taishanpi-app --target-name app --build-dir ./.embed-labs/build/app
8198
8201
  embed board registry list
8199
8202
  embed board registry show taishanpi-1m-rk3566
8200
8203
  embed board methods taishanpi-1m-rk3566
@@ -8328,7 +8331,7 @@ Usage:
8328
8331
  embed local toolchain uninstall --board taishanpi-1m-rk3566|pico2w-rp2350-monitor|coloreasypico2-rp2350-monitor [--install-root <path>] [--json]
8329
8332
  embed local toolchain validate [--board taishanpi-1m-rk3566|pico2w-rp2350-monitor|coloreasypico2-rp2350-monitor] [--release-root <path>] [--mode minimal|runtime|compile|qt|firmware|full|images] [--json]
8330
8333
  embed local compile taishanpi --source <main.c|main.cpp> --output <artifact> [--release-root <path>] [--account <account_id>] [--json]
8331
- embed local build qt-smoke --build-dir <dir> [--source <qt-smoke-dir>] [--release-root <path>] [--account <account_id>] [--json]
8334
+ embed local build qt-smoke --build-dir <dir> [--source <qt-cmake-dir>] [--target-name <executable>] [--release-root <path>] [--account <account_id>] [--json]
8332
8335
  embed debug tools [--json]
8333
8336
  embed tool list [--json]
8334
8337
  embed tool call wifi.scan --input-json '{"host":"198.19.77.2","user":"root"}' [--json]