- Install AtomVM to /usr/local using
cmake
,make
andmake install
. - erlang OTP/20, 21 or 22 is required.
- esp-idf v3.2 is required for ESP32 code.
cd esp32
git clone https://github.com/bettio/AtomVM.git
cd components/
git clone https://github.com/IHCcamp/gnuboy.git
cd ..
make flash
cd ..
cd core
mkdir avm_deps
cp /usr/local/lib/AtomVM/ebin/*.beam avm_deps
mix atomvm.esp32.flash
cd ..
cd simulator
cmake -DATOMVM_INSTALL_PREFIX=/usr/local/ .
make
cd simulator
AtomVM ../core/pocketos.avm