Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ carries ready-to-flash images for these devices — no toolchain, no build:
tenant. The images are not signed (ESP-IDF's bootloader, no MCUboot).
- **nuttx** — `tedge-agent` on [NuttX](https://nuttx.apache.org/): tiny-edge's
NuttX agent with every thin-edge.io feature, set up over USB with
`tedge-onboard` like `tedge-onboard` (on a DevKitC, the connector labelled
`tedge-onboard` like the `tedge-onboard` images (on a DevKitC, the connector labelled
USB). It boots through MCUboot, so a firmware update that cannot connect is
rolled back. The images are not signed with a key: MCUboot checks their
hash.
Expand Down Expand Up @@ -433,8 +433,17 @@ into a computer with a USB data cable and run
[`tedge-onboard`](https://github.com/thin-edge/tiny-edge/tree/main/tools/onboard)
there. It finds the device, gives it the computer's Wi-Fi network (the one
the device can see), registers it in Cumulocity through your go-c8y-cli
session, and waits until it is connected. Download it from the
[tiny-edge releases](https://github.com/thin-edge/tiny-edge/releases).
session, and waits until it is connected. Install it as a go-c8y-cli
extension and run it as `c8y tinyedge onboard`:

```sh
c8y extensions install thin-edge/tiny-edge
c8y tinyedge onboard
```

or download it from the
[tiny-edge releases](https://github.com/thin-edge/tiny-edge/releases) and run
`./tedge-onboard`.

A `tedge-*` device with no Wi-Fi network waits for the tool: its status LED
shows the provisioning pattern (two short blinks, then a pause), and the log
Expand Down
2 changes: 1 addition & 1 deletion apps/tedge-agent-idf/main/idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ dependencies:
tiny_edge:
git: https://github.com/thin-edge/tiny-edge.git
path: ports/freertos/esp-idf/tiny_edge
version: v0.7.0
version: v0.8.0
4 changes: 3 additions & 1 deletion scripts/release/notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ def notes(manifest, metas, tag, repo):
"The ESP-IDF (`tedge-onboard`) and NuttX (`nuttx`) agent images are "
"set up over USB instead: run "
"[tedge-onboard](https://github.com/thin-edge/tiny-edge/tree/main/tools/onboard) "
"on the computer the board is plugged into. It gives the device the "
"(or `c8y tinyedge onboard`, after `c8y extensions install "
"thin-edge/tiny-edge`) on the computer the board is plugged into. "
"It gives the device the "
"computer's Wi-Fi network, registers it in your tenant, and passes it "
"the tenant and a one-time password.",
""]
Expand Down
14 changes: 10 additions & 4 deletions scripts/release/package_idf.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,16 @@

esptool --chip {chip} --before {before} write-flash {app_off} app.bin

Then set it up over USB: run tedge-onboard on the computer the board is
plugged into (https://github.com/thin-edge/tiny-edge/tree/main/tools/onboard).
It gives the device the computer's Wi-Fi network, registers it in your
Cumulocity tenant, and passes it the tenant and a one-time password.
Then set it up over USB, with the board plugged into a computer. On that
computer, install tedge-onboard as a go-c8y-cli extension and run it:

c8y extensions install thin-edge/tiny-edge
c8y tinyedge onboard

or download it from https://github.com/thin-edge/tiny-edge/releases and run
./tedge-onboard. It gives the device the computer's Wi-Fi network, registers
it in your Cumulocity tenant, and passes it the tenant and a one-time
password.

{signing}
"""
Expand Down
16 changes: 11 additions & 5 deletions scripts/release/package_nuttx.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,17 @@

esptool --chip {chip} --before {before} write-flash {app_off} app.signed.bin

Then set it up over USB: run tedge-onboard on the computer the board is
plugged into (https://github.com/thin-edge/tiny-edge/tree/main/tools/onboard),
connected to the board's USB port (on a DevKitC, the connector labelled USB).
It gives the device the computer's Wi-Fi network, registers it in your
Cumulocity tenant, and passes it the tenant and a one-time password.
Then set it up over USB, with the board's USB port (on a DevKitC, the
connector labelled USB) plugged into a computer. On that computer, install
tedge-onboard as a go-c8y-cli extension and run it:

c8y extensions install thin-edge/tiny-edge
c8y tinyedge onboard

or download it from https://github.com/thin-edge/tiny-edge/releases and run
./tedge-onboard. It gives the device the computer's Wi-Fi network, registers
it in your Cumulocity tenant, and passes it the tenant and a one-time
password.

Updates from Cumulocity install {stem}.app.bin, which MCUboot boots once on
trial: the agent confirms it once it has connected, or MCUboot goes back to
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ manifest:
# CONFIG_TEDGE=y. Pin a release tag; move the pin to pick up a new one.
- name: tiny-edge
remote: thin-edge
revision: v0.7.0
revision: v0.8.0
path: modules/lib/tiny-edge

self:
Expand Down
Loading