flagxor / ueforth

Apache License 2.0
96 stars 26 forks source link

µEforth / ESP32forth

This EForth inspired implementation of Forth is bootstraped from a minimalist C kernel.

Building from Source

To build from source:

sudo apt install ninja-build gcc-arm-none-eabi
git clone https://github.com/flagxor/ueforth
cd ueforth
./configure.py
ninja

The resulting output will have this structure:

Individual platforms can be built as follows:

ninja posix
ninja esp32
ninja pico-ice
ninja win32
ninja win64
ninja web

A build that excludes the slower components can be configured with:

./configure.py -f

To install to /usr/bin on Linux / POSIX do:

ninja install

ESP32 boards can be compiled and flashed with:

ninja esp32-flash
ninja esp32s2-flash
ninja esp32s3-flash
ninja esp32c3-flash
ninja esp32cam-flash

Set PORT=com3 etc. to select board.