Running Prolog code on a microcontroller
- Clone this repository. You'll need to include the
--recurse-submodules
as this repository has submodules - Navigate to the
<repository root>/wam
directory - Configure the project using
make menuconfig.
TheProlog on ESP32 Configuration
menu contains WAM specific configuration - Connect your ESP32 and build, flash, and monitor the project using
make flash monitor
- Connect your machine to the WiFi AP on the ESP32 (the name and password are configurable in step 3)
- In a separate terminal, navigate to the
<repository root>/terminal
directory - Run the terminal using
swipl terminal.pl
. The terminal predicates are documented interminal/terminal.pl