https://toitlang.org/ logo
Weekly status update: - still no release yet, but ...
# general
f
Weekly status update: - still no release yet, but hopefully Kasper will have time to review some PRs soon. Otherwise I will land them TBR (to-be-reviewed) soon. - played a bit with ULP (low power co-processor) this weekend and managed to blink an LED with it. The changes to the Toit repository are (so far) tiny. Most of the time was about compiling the ULP program itself. 3 items left before it's mostly usable: 1. make it possible to configure pins for RTC. Currently I have just pin 2 hardcoded as RTC output. 2. provide means to access variables. 3. write a bit of documentation. The goal for ULP is currently just to make it possible. Not necessarily to make it smooth. I will probably require users to use
idf.py build
to create the ULP program and then copy it out of the
build
folder. - wrote a PR so that Jaguar finally looks at the chip it is about to flash. This means that
jag flash
now works also for
esp32c6
etc. It will also complain if you try to flash (or fw update) an envelope that isn't compatible. - prepared Artemis to use artemis-api.toit.io as endpoint, instead of using Supabase's generated URL. This makes it more flexible and more recoverable if something goes wrong. - started to migrate from
--on-error
to
--if-error
(deprecating the old methods). By convention:
--if-X
if the block provides a replacement result (
list.get --if-absent
,
int.parse --if-error
, ...).
--on-X
if it's more callback like.