FreeRtos on Esp8266

The objective of this tutorial is installing a basic example of FreeRtos inside and Esp8266 12-E.

Introduction

FreeRTOS is a popular real-time operating system kernel for embedded devices, that has been ported to 35 microcontrollers. It is distributed under the GPL with an additional restriction and optional exception. The restriction forbids benchmarking while the exception permits users’ proprietary code to remain closed source while maintaining the kernel itself as open source, thereby facilitating the use of FreeRTOS in proprietary applications.

Installation process

First of all you have to install Esp Open Sdk. After that you have to compile and flash the program inside the Esp.

Installing Open Sdk

First of all have a look to to this post in order to install Esp Open Sdk.

Installing FreeRtos

More than installing is just downloading it from git and compiling/flashing to the Esp.

git clone --recursive https://github.com/Superhouse/esp-open-rtos.git
cd esp-open-rtos/examples/blink 
make flash

After that you would see:

esptool.py -p /dev/ttyUSB0 --baud 115200 write_flash -fs 16m -fm qio -ff 40m \
	0x0 ../../bootloader/firmware_prebuilt/rboot.bin 0x1000 ../../bootloader/firmware_prebuilt/blank_config.bin 0x2000 ./firmware/blink.bin 
esptool.py v1.2
Connecting...
Running Cesanta flasher stub...
Flash params set to 0x0030
Writing 4096 @ 0x0... 4096 (100 %)
Wrote 4096 bytes at 0x0 in 0.4 seconds (89.3 kbit/s)...
Writing 4096 @ 0x1000... 4096 (100 %)
Wrote 4096 bytes at 0x1000 in 0.4 seconds (89.3 kbit/s)...
Writing 237568 @ 0x2000... 237568 (100 %)
Wrote 237568 bytes at 0x2000 in 20.9 seconds (90.9 kbit/s)...
Leaving...

References

  1. Esp Open Rtos

Jorge Corredera

Jorge Corredera
I am a Spanish telecommunication engineer.I like social robotics, computers and almost everything with wires. Right now, I am working as a Software Engineer. Furthermore I am always happy to be involved in challenging projects.

Pcb Working Process

Published on April 30, 2018

Cyclone Pcb Factory

Published on January 01, 2018