#esp32forth — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #esp32forth, aggregated by home.social.
-
fallen down another rabbit hole: porting the #python #server #code to load/save programs to/from the #Minstrel4th via #serial I/O (as provided by @nihirash ) to #esp32forth to eleminate the need for using a PC / Mac and staying true to #Forth
-
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 ... 🥱
-
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 ... 🥱
-
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 ... 🥱
-
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 here: