Tasmota Compile Build and Flashing
by AmruthKumarSala in Circuits > Microcontrollers
1384 Views, 1 Favorites, 0 Comments
Tasmota Compile Build and Flashing
To successfully complete this process following are required:
- An MS Windows PC/Laptop with sufficient resources (CPU, RAM, and HDD Space) - Compatible with VMware Workstation
- VMware Workstation
- Ubuntu Desktop 18.04 ISO file
Creation of a VM That Hosts "Ubuntu 18.04" VM
Please take help from the screenshots to create the required VM. This process is very simple and I did not feel like a step-by-step instruction is required to explain it.
Creation of a "Ubuntu 18.04" VM
Similar to the previous step, please take the necessary help from the screenshots to create the required VM. This process is also very simple and I am skipping the step-by-step instructions.
The screenshots not only contain the OS installation, but also the first-time loin and the initial welcome screen any user expects.
Reader of this document can make necessary configurations as he/she needs in different sections.
Network and Open-SSH Configuration
This section explains the simple steps of configuring a machine to fetch an IP address from a DHCP Server (My Wireless Router) and the installation commands to have OpenSSH-server installed on the VM (This will help us connect the VM via tools such as PuTTY.
Installation of Esptool, Access GIT Repo, and Test Build.
Readers of this article can take help from the screenshots and install esptool, access Tasmota Repository and test build the downloaded repo.
Following is the list of commands that the reader can take help from to have the sequence of steps explained in this article.
- sudo systemctl stop NetworkManager.service
- sudo systemctl disable NetworkManager.service
- ip addr
- sudo cp /etc/netplan/01-network-manager-all.yaml /etc/netplan/01-network-manager-all.yaml.bak
- sudo vi /etc/netplan/01-network-manager-all.yaml
- sudo netplan apply
- sudo apt install openssh-server -y
- sudo systemctl status ssh
- sudo systemctl enable ssh
- sudo systemctl enable ssh
- sudo ufw allow ssh sudo apt install esptool -y
- sudo vi /etc/modprobe.d/usb-storage
- sudo init 6
- sudo dmesg | grep FTDI
- sudo dmesg | grep USB
- wget https://raw.githubusercontent.com/platformio/plat... -O get-platformio.py
- sudo apt-get install python3-venv -y
- sudo python3 get-platformio.py
- sudo apt install git -y
- sudo git clone https://github.com/arendst/Tasmota.git
- cd Tasmota
- sudo /home/smaragdine/.platformio/penv/bin/platformio run -e tasmota32-lvgl
- sudo /home/smaragdine/.platformio/penv/bin/platformio run -e tasmota32-lvgl --target upload --upload-port /dev/ttyUSB0
Readers are also suggested to write back to amruth@smaragdine.work in case of any queries. I wish to include the configurations of different modules that can be integrated with ESP8266 & ESP32 Microcontrollers.
I wish to post my future works here, hence I would request those interested to keap a close watch on the future articles.