How to compile and burn the code to STM32 chip on Linux (Ubuntu)

This is tutorial for beginners that shows how to install tools, compile the code with gcc-arm-none-eabi and send it to the STM32 using st-flash. It also introduce basics of automation of this task by putting all instructions into Makefile. A few, complete code examples can be found on GitHub: stm32f401 stm32f072 stm32f042 1. Installing compiler … Read more

ESP32 – flashing the chip

Once the ESP32 Toolchain is built, we’re ready to compile and flash the example program. This short tutorial shows how to compile and burn the code into ESP32. Compilation Before compilation part we’re able to change menu options, i.e. we can configure the serial port to be used for uploading, etc. For the test, let’s … Read more

ESP32 – building the toolchain for Linux (Ubuntu)

This quick tutorial shows how to build a complete development environment for the ESP32 processors on Linux (Ubuntu).  These instructions have been tested successfully on Ubuntu 16.04  (32 and 64 bit). Update: 18-05-2017. Building Toolchain with Bash One-Liner I recommend to use this handy bash one-liner command to build ESP32 Tolchain. To override ESP32 Toolchain … Read more

How to compile and burn the code to AVR chip on Linux/MacOSX/Windows ?

This is a quick tutorial for beginners that aims to show how to install tools, compile the code with avr-gcc and send it to the MCU with avrdude. It also introduce basics of automation of this task by putting the all instructions into Makefile. The example files (main.c, main.bin, main.hex, Makefile) has been packaged as … Read more