Skip to content

max22-/uxn-esp32

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lib
 
 
src
 
 
 
 
 
 
 
 
 
 

Uxn-Esp32

A port of the Uxn virtual machine and Varvara environment to the esp32 platform.

How to build it

Install PlatforimIO Core if you want to use the command line only. It is also available as a plugin for several IDEs/editors (Emacs, vim, VSCode, Atom, etc).

git clone https://github.com/max22-/uxn-esp32
cd uxn-esp32
pio run

Then edit User_Setup.h in the TFT_eSPI lib directory which should have appeared in .pio/libdeps/esp32dev/TFT_eSPI after the build is complete.

Rename wifi_credentials.sample.h to wifi_credentials.h and modify its contents. Idem for the configuration at the top of main.cpp. Wifi is used only to get time from an NTP server for the datetime device. You can comment out USE_WIFI if you dan't want to use it.

Then it is time to upload everything on the device :

pio run -t uploadfs
pio run -t upload

I will try to make it buildable with Arduino IDE as well in the future.

The roms must be in the "data" folder. (they are uploaded with "pio run -t uploadfs").

Devices available

Console, screen, file, datetime, mouse (touch screen). More to come later !

About

A port of the Uxn virtual machine to the ESP32

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published