kasperl
03/12/2024, 3:22 PMota.bin
output that you serve to your device.ipotex
03/12/2024, 3:36 PMkasperl
03/12/2024, 3:41 PMkasperl
03/12/2024, 3:41 PMkasperl
03/12/2024, 3:42 PMipotex
03/12/2024, 5:29 PMkasperl
03/12/2024, 5:44 PMkasperl
03/12/2024, 5:45 PMkasperl
03/12/2024, 5:46 PMipotex
03/12/2024, 5:58 PMfloitsch
03/13/2024, 11:02 AMvalidate.toit
in the OTA tutorial is just a container that is installed in the firmware. It doesn't need to be the only one. You can add other containers too (with the same command firmware install
).
Typically, your OTA image would already contain all the containers that you want the device to run.
One of these containers would then be responsible for OTA updating (checking periodically whether a new image is available). The other containers would do the business logic.
The main thing that is missing here would then be a scheduler that runs these containers "on demand" and not just at boot. Jaguar does some of this, but you might want to improve on it. Artemis, for example, has a list of triggers that can be attached to each container (on-boot, interval-based, on-gpio, on-touch, ...)ipotex
03/13/2024, 2:27 PMdavidg238
03/16/2024, 4:12 AMSDK version: v2.0.0-alpha.142
is the height code in pixel-display-impl_.toit
correct ?
abstract class PixelDisplay implements Window:
// The image to display.
elements_ := {}
background_ := null
width: return driver_.width
height: return driver_.width
inner-width: return driver_.width
inner-height: return driver_.width
... (my elements display, but my layout algorithm which queries the tft for dimensions comes back width, width
)davidg238
03/16/2024, 4:21 AMpixel-displayimpl_
was introduced in v2.1.0 of toit-pixel-display
floitsch
03/16/2024, 12:27 PMerikcorry.
03/16/2024, 12:28 PMerikcorry.
03/16/2024, 1:15 PMtimmy7769
04/02/2024, 5:40 PMerikcorry.
04/03/2024, 1:28 PMerikcorry.
04/03/2024, 1:32 PMerikcorry.
04/03/2024, 1:33 PMerikcorry.
04/03/2024, 1:39 PMtimmy7769
04/04/2024, 12:21 PMtimmy7769
04/04/2024, 6:01 PMfloitsch
04/05/2024, 12:28 PMfloitsch
04/05/2024, 12:28 PMfloitsch
04/05/2024, 12:29 PMfloitsch
04/05/2024, 12:32 PMhttps://i.stack.imgur.com/Js0FA.jpg▾
floitsch
04/05/2024, 12:37 PMtimmy7769
04/05/2024, 5:17 PM