guild icon
Toit
#'firmware' command without -o option
Thread channel in help
kaxori
kaxori 03/23/2024 01:05 PM
The https://docs.toit.io/tutorials/containers/toit-sdk describes how to create a new envelope, but I get the error:
Error: Unknown option: -o

=> Toit SDK v2.0.0-alpha.143
(edited)
floitsch
floitsch 03/24/2024 11:46 AM
That's a bug in the documentation. I will fix it asap.
The flag exists, but it can't be used as early. It must come after the container install
floitsch
floitsch 03/24/2024 11:47 AM
It should be:
firmware -e firmware.envelope container install -o hello.envelope hello hello.envelope
floitsch
floitsch 03/24/2024 11:53 AM
Updated documentation is building and should be online within ~10minutes.
kaxori
kaxori 03/24/2024 01:14 PM
:👍🏻: thank you
kaxori
kaxori 03/24/2024 01:16 PM
An other question: Is jag run -d host --assets=xxx.assets yyy.toit supported ?
floitsch
floitsch 03/24/2024 01:16 PM
Probably not, but let me check
floitsch
floitsch 03/24/2024 01:18 PM
actually, it should be.
floitsch
floitsch 03/24/2024 01:18 PM
There is the --assets flag.
floitsch
floitsch 03/24/2024 01:18 PM
Behind the scenes container install and run use very similar paths, so if container install supports a feature then run should too.
kaxori
kaxori 03/24/2024 01:19 PM
my test works on esp32 but on host the assets is empty
floitsch
floitsch 03/24/2024 01:19 PM
aah.
floitsch
floitsch 03/24/2024 01:19 PM
didn't see the -d host.
floitsch
floitsch 03/24/2024 01:19 PM
Yes. that doesn't work.
floitsch
floitsch 03/24/2024 01:19 PM
-d host takes a different path internally.
floitsch
floitsch 03/24/2024 01:21 PM
Not completely sure, how I would add assets to desktop applications. If I don't forget and Kasper isn't on vacation next week, I will maybe discuss it with him.
kaxori
kaxori 03/24/2024 01:21 PM
great :👍🏻:
kaxori
kaxori 03/30/2024 03:41 PM
@bitphlipphar
It is still unclear, if assets can be assigned to a host device.
floitsch
floitsch 03/30/2024 04:00 PM
We don't support that yet.
👍🏻1
kaxori
kaxori 03/30/2024 04:24 PM
To avoid ambiguities, a note could be included in the 'jag run' help ... ?
floitsch
floitsch 03/30/2024 04:25 PM
Yes. Or make it work.
21 messages in total