decdiv.bsky.social
@decdiv.bsky.social
Always fun when 'memcpy' isn't working. Toit's RMT encoder wasn't working on the esp32c3 because the data wasn't correctly copied.

Not sure yet if it's a known issue or limitation.

#esp32c3 #toit
December 7, 2025 at 2:12 PM
Just modded my Super Coolscan 5000 negative scanner. The negative feeder is now recognized as a SA-30, allowing to scan 40 negatives at once.

Tutorials: www.shtengel.com/gleb/convert...
www.stockholmviews.com/coolscan-rol...

#scanning #nikon #modding #negatives
Converting Nikon SA-21 adaptor to SA-30
www.shtengel.com
December 4, 2025 at 10:31 AM
Just had to commit plenty of dependabot PRs (update of the checkout action).

Here are my scripts that made it a bit easier:
gist.github.com/floitsch/4d3...

#github #dependabot
Scripts to automatically commit dependabot PRs.
Scripts to automatically commit dependabot PRs. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
November 30, 2025 at 3:06 PM
Always fun when you go through the trouble of writing a bug repro, just to find out that the main already has a bug-fix for it...

I even looked at the GitHub repository, but somehow ended looking at the wrong branch there.
November 23, 2025 at 3:42 PM
Lots of package updates after the SDK changed `--on-error` to `if-error` (and yes: there is a logic behind that change).

I hope I have updated all packages under my control.

#toit
October 29, 2025 at 7:12 PM
Windows...
When doing a `stat` on a directory that is in the process of being created/removed one can hit a permission-denied error.

I just implemented a directory-based lockfile approach, and hit this issue with Windows. Now I need to retry when hitting that error...

#toit #toitlang
October 29, 2025 at 2:52 PM
Reposted
Toit v2.0.0-alpha.189 has been released.
Enjoy!

#toitlang #toit
October 28, 2025 at 11:53 AM
Good progress on my lockfile package. Should be ready for a release as soon as the Toit SDK and host package have been updated.

This was the last major blocker for a pure Toit-based package manager.

#toit #lockfile
September 20, 2025 at 7:21 PM
Just fixed an issue with BLE notifications. NimBLE was running out of resources, and instead of waiting and retrying we just gave up.

With that fixed my HID keyboard library seems to work nicely.

#toit #ble
September 14, 2025 at 7:40 PM
Don't know what I would do without my oscilloscope.

Just looked at an issue where a modem would wake up when the ESP32 went into deep-sleep. Turns out, there was a 10us spike on the modem's reset line during shut-down. These kind of things are almost impossible to debug without an oscilloscope.
September 14, 2025 at 11:23 AM
Playing around with BLE HID.
On the one hand quite simple, but on the other hand finicky. Very frequently I have Android that works fine, but not Linux, and then Linux that works, but not Android...

#toit #ble
September 7, 2025 at 7:46 PM
DSB (Danish railroad operator):
===
[...] buy your tickets on our website [...] - these tickets cannot be transferred to the app, as they are two different systems.

An app ticket is a digital ticket and a print-it-yourself ticket is a pdf file [...].

They can't be synchronized.
===

#dsb #fail
July 18, 2025 at 10:01 AM
Reposted
We just got the confirmation: Toit will have a booth at Maker Faire Hannover 2025 (August 23-24).

If you're attending, make sure to drop by!
June 3, 2025 at 12:04 PM
TIL that tar archives can fail to extract on Windows if the target of a symlink appears later than the actual symlink (inside the same archive).
May 28, 2025 at 2:48 PM
It's amazing how much effort goes into supporting Windows. `\` as delimiters for paths; a different way of spawning programs (without a way of passing arguments as array), ...
And today I spent the whole day trying to get Toit to work nicely on Windows systems with non-UTF-8 code pages.
May 27, 2025 at 5:58 PM
Managed to create a debian package for Toit today. Hopefully the next release will build it automatically.
I also looked into a homebrew package, and that looks good too. (Still needs more testing).
May 23, 2025 at 7:31 PM
Reposted
Toit v2.0.0-alpha.180 was released.
See toitlang.org (latest news) for more details.
Toit programming language
toitlang.org
May 9, 2025 at 3:28 PM
Just implemented RMT encoder support for Toit.
Users will be able to provide a start|between|stop-sequence (where "between" is between bytes), and then sequences for 1/2/4 bits.
Just implemented a UART using this approach. Pretty neat.

#Toit #RMT #ESP32
April 30, 2025 at 4:59 PM
Still working on rewriting the RMT driver of Toit to the "new" API of the ESP-IDF.
I believe I made a bit of progress today. Pretty sure I found a race condition in the ESP-IDF driver.

#Toit #RMT
April 23, 2025 at 4:32 PM
Shootout to GitHub. Our GitHub account had unpaid invoices from the previous owner. We filed a support ticket, and GitHub voided the missing payments without any issues. Thanks!

#GitHub
April 17, 2025 at 6:26 AM
My external USB drive is acting up.
I used `UDF`, so it's platform independent. I'm regretting that decision now. The `fsck` for UDF consists of `int main() { return 0; }`. :(

github.com/pali/udftool...
github.com
April 14, 2025 at 11:50 AM
Bought two of these arms (designed for laptops) for my desk. One for my oscilloscope, and one for my soldering station.

They are now out of my way when I don't need them, but still easily accessible.
April 3, 2025 at 5:43 AM
Found two issues in the i2c slave implementation of the esp-idf today. Explains why I couldn't get the Toit implementation to work.
Hopefully progress will be faster with those out of the way.

github.com/espressif/es...
github.com/espressif/es...

#Toit #I2C #buffer-overrun #ESP-IDF
Buffer overrun in the I2C driver (IDFGH-14934) · Issue #15643 · espressif/esp-idf
Answers checklist. I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there. I have updated my IDF branch (master or release) to the latest version and checked t...
github.com
March 24, 2025 at 5:20 PM
Currently using wedrivers to write a test for some code that has a web-page.

For debugging I'm not running the browser in headless mode, and I have to say: it's pretty cool to see the browser change in front of me.

#webdriver
March 22, 2025 at 2:39 PM