Skip to content

Deployment instructions for samples are incomplete #2

@jt-se

Description

@jt-se

Description

The instructions are good up until the final step, when they just... stop 😅

(I see the latest commits are fairly recent, so I assume this is just a work in progress)

Code

The following steps will guide you to deploy the hello world sample to your device.
1. To deploy the hello world sample, simply run the following in your terminal:
```
example code
```

Setup

I followed the development environment setup instructions to use the devcontainer workspace. ✔️

I followed the instructions to set up a simulated device inside the development environment, and was able to run the ocre runtime. ✔

(.venv) vscode ➜ /workspaces/getting-started/runtime (main) $ ./build/zephyr/zephyr.exe 
WARNING: Using a test - not safe - entropy source
uart_1 connected to pseudotty: /dev/pts/1
*** Booting Zephyr OS build v4.0.0-rc1-10-gafce5329f772 ***
I: /lfs mount: 0

D: /lfs: bsize = 16 ; frsize = 4096 ; blocks = 30 ; bfree = 28


Ocre runtime started
I: Request create new container in slot:0
I: Request run container in slot:0
I: EVENT_CREATE_CONTAINER
I: File path: /lfs/ocre/images/hello.bin, size: 323
I: Loaded binary to buffer for container 0
I: Created container in slot:0
Hello World!
I: Started container in slot:0

ocre:~$

How do I go about deploying the compiled app (hello-world.nbx) onto the virtual Zephyr device? I see that it's running another hello-world "app", but it's not the WebAssembly-compiled container image.

Other

These instructions appear to be incomplete in the getting-started repository also. (Sorry if this issue is being reported in the wrong place.)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions