shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

255
active users

#esp32

5 posts5 participants0 posts today

Yay! 🥳

I just made my #TTGO #VGA32 use the #esp32forth variant with #fabgl enabled (a.k.a. #ESP32forthStation ) *and* properly recognize the onboard #sdcard !!

In the end the modification was quite simple, I had to tell the TTGO VGA32 the proper SPI pin configuration for the sd card via SPI.begin() and added that code to the SD.begin word definition.

By default, SD.begin would use the #esp32 default SPI pin configuration which is not being used on the TTGO VGA32 (see TTGO VGA32 pinout).

EDIT: but it took me hours to realize that I used a video resolution which consumed too much memory, causing each attempt to do a "SD.begin" in ESP32forth to fail ... lowering the resolution to 640x200@60 did do the trick! 😎

Time to go to bed ... 🥱

#Arduino
#Forth

My first RISC-V program, running on an ESP32-S3 Arduino Nano, driven through a haptic piezoelectric motor, playing a Bo Diddley beat at 140 BPM with a 30 Hz vibration. Need to listen closely... It's a haptic motor after all, not a speaker.

#foss#fosh#riscv

One of the things that annoyed me when using #ESP32forth is that with recent versions of the #ArduinoIDE it is no longer possible to use plugins for uploading additional files to the #SPIFFS partition of the ESP32.

There is a workaround solution for ESP32forth that allows a user to copy-paste code into the terminal, which is then stored on the filesystem - but that didn't convince me.

So I spent the last two days tinkering with mkspiffs and esptool.py and finally found a way to not only upload files to the SPIFFS partition but also dumping files *from* that partition back to your computer. All from the command line, no ArduinoIDE and plugins required - see below:

* Prerequisites:

- Compile mkspiffs with SPIFFS_OBJ_META_LEN set to 4 in include/spiffs_config.h

( github.com/igrr/mkspiffs.git )

- esptool.py installed on your system

* Info on ESP32forth SPIFFS partition:

SPIFFS offset (start of fs): 0x210000
SPIFFS size: 0x1E0000 (decimal: 1966080)
SPIFFS end of fs: 0x3effff

* Build SPIFFS image and flash to ESP32:

mkspiffs -c <some_directory_containing_files> -b 4096 -p 256 -s 0x1e0000 spiffs.bin
esptool.py --port /dev/<ESP32_serial_device> --chip esp32 write_flash -z 0x210000 spiffs.bin

* Dump SPIFFS partition from ESP32 to disk:

esptool.py --port /dev/<ESP32_serial_device> --baud 921600 read_flash 0x210000 0x1e0000 data.img

* Extract files from dumped partition:

mkspiffs -u <some_directory> data.img

#ESP32
#Forth
#ueforth

Tool to build and unpack SPIFFS images. Contribute to igrr/mkspiffs development by creating an account on GitHub.
GitHubGitHub - igrr/mkspiffs: Tool to build and unpack SPIFFS imagesTool to build and unpack SPIFFS images. Contribute to igrr/mkspiffs development by creating an account on GitHub.
Continued thread

Woot, just finished implementing my first GitHub / Forgejo Actions which allows me to programmatically push meshcore builds to my radios on the roof from the comfort of my browser.

It currently only supports deploying to esp32s3 based LoRa devices so far.