Program Esp01 with a Raspberry Pi

Connect module as in http://www.esp8266.com/wiki/doku.php?id=raspberrypi:getting_started

sudo apt install picocom

sudo systemctl stop serial-getty@ttyS0.service
sudo systemctl disable serial-getty@ttyS0.service

sudo nano /boot/config.txt
Add enable_uart=1

sudo nano /boot/cmdline.txt
Remove console=serial0,115200

sudo apt-get install git-core
git clone git://git.drogon.net/wiringPi

cd wiringPi
./build