Compiling snek for Arduino Uno and Mega 2560

Steps to compile snek (https://sneklang.org/) on Ubuntu for Arduino boards:

sudo apt install gcc-avr avr-libc python3-serial libreadline-dev gawk

#this is a fork from https://github.com/keith-packard/snek
git clone https://github.com/rafaelaroca/snek.git

git clone https://keithp.com/cgit/lola.git
cd lola/
make
sudo make install

cd snek/ports/uno
make
make install

snek-uno-install

minicom  -b 115200 -D /dev/ttyACM0

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s