Line 3: Line 3:
  
 
This ''hello world'' prints  the string on UART (eventually on the computer terminal). We will first look at the ESP-IDF structure. Then look at the hello world example and modify it blink an LED while still continuously printing the 'hello world' string.
 
This ''hello world'' prints  the string on UART (eventually on the computer terminal). We will first look at the ESP-IDF structure. Then look at the hello world example and modify it blink an LED while still continuously printing the 'hello world' string.
 +
 +
<syntaxhighlight>
 +
         
 +
  esp-idf
 +
|
 +
|
 +
+ - - components
 +
|
 +
+ - - docs
 +
|
 +
+ - - examples
 +
|
 +
+ - - make
 +
|
 +
+ - - tools
 +
         
 +
 +
</syntaxhighlight>

Revision as of 08:42, 24 December 2016

The Espressif Internet Development Framework (ESP-IDF) uses FreeRTOS to make better use of the two high speed processors and manage the numerous built-in peripherals. It is done by creating tasks. Let's look at the hello world, that looks a little different from the ones that you might have seen.

This hello world prints the string on UART (eventually on the computer terminal). We will first look at the ESP-IDF structure. Then look at the hello world example and modify it blink an LED while still continuously printing the 'hello world' string.

 
			   esp-idf
				|
				|
				+ - - components
				|
				+ - - docs
				|
				+ - - examples
				|
				+ - - make
				|
				+ - - tools