Discuss here different C compiler set ups, and compiling executables for the ESP8266

Moderator: alonewolfx2

User avatar
By CHERTS
#4639 Hi

Based on a series of my articles I publish my assembly Espressif DevKit for developing firmware on Windows, all further discussion propose to write here.

Article on the assembly firmware

Wiring scheme USB-to-RS232 to the ESP-01
Image
Image
*Click for larger image

Current Version: 2.0.9 on 02/12/2015
Beta version: 2.1.0 on 25/05/2016

Official website of the project Unofficial Development Kit for Espressif ESP8266

Official source code repo

Instructions for installing and configuring the Unofficial Development Kit for Espressif ESP8266:
1. To download the Windows (147Mb) and install my Unofficial Development Kit for Espressif ESP8266.
2. Download and install the Java Runtime x86 (jre-7uXX-windows-i586.exe)
3. Download and install Eclipse Mars x86 to develop in C ++ (eclipse-cpp-mars-R-win32.zip). Unpack the archive to the root of drive C.
4. Download and install MinGW. Run mingw-get-setup.exe, the installation process to select without GUI, ie uncheck "... also install support for the graphical user interface".
5. Download the (84Mb) my scripts to automate the installation of additional modules for MinGW.
6. Run from my file install-mingw-package.bat. He will establish the basic modules for MinGW, installation should proceed without error.
7. Start the Eclipse Luna from the directory c:\eclipse\eclipse.exe
8. In Eclipse, select File -> Import -> General -> Existing Project into Workspace, in the line Select root directory, select the directory C:\Espressif\examples and import work projects.
Further, the right to select the Make Target project, such as hello-world and run the target All the assembly, while in the console window should display the progress of the build. To select the target firmware flash.

Donate $5
Image

Donate $10
Image

Donate custom $
Image

Video: Unofficial Espressif ESP8266 DevKit v1.0.3 + Eclipse Luna
https://www.youtube.com/watch?v=eWGjADdjH98


Video: Creating a new project in Eclipse Luna for ESP8266 using Unofficial DevKit
https://www.youtube.com/watch?v=y9uk-3A1acM


Changelog:
v2.1.0 Beta (24.05.2016):
* Updated compiler xtensa-lx106-gcc and xtensa-lx106-g++ up to version 5.2 (added latest patches from jcmvbkbc);
* Update RTOS SDK v1.4.0 (folder ESP8266_RTOS_SDK);
* Update SDK v1.5.4 (folder ESP8266_SDK);
* SDK version 1.5.3 moved to a folder ESP8266_SDK_153;
* SDK version 1.5.2 moved to a folder ESP8266_SDK_152;
* SDK version 1.5.1 moved to a folder ESP8266_SDK_151;
* SDK version 1.5.0 moved to a folder ESP8266_SDK_150;
+ Added patch liblwip for SDK 1.5.0 (espconn_abort issue on ESP8266_NONOS_SDK_V1.5.0);
* Documentation moved to a subfolder docs\ESP8266;
* Examples moved to a subfolder examples\ESP8266;
* Utils moved to a subfolder utils\ESP8266;
* Updated documentation:
- Delete files:
2A_ESP8266_SDK Getting_Started_Guide_EN_v1.5_20151118.pdf
2C-ESP8266__SDK__Programming Guide__EN_v1.5.pdf
2C-ESP8266__SDK__API Guide__EN_v1.5.2.pdf
4A-ESP8266__AT Instruction Set__EN_v0.40.pdf
4B-ESP8266__AT Command Examples__EN_v0.6.pdf
5A-ESP8266__SDK__SSL_User_Manual__EN_v1.1.pdf
9B-ESP8266__Sleep__Function Description__EN_v1.0.pdf
20A-ESP8266__RTOS_SDK__Programming Guide__EN_v1.3.0.pdf
20B-ESP8266__RTOS_SDK_API Reference__v1.3.0.pdf
30A_ESP8266__Mesh_User Guide__EN_v1.0.pdf
99A-ESP8266__Flash_RW_Operation__EN_v0.2.pdf
99C-ESP8266__OTA_Upgrade__EN_v1.5.pdf
+ Added files:
2A-ESP8266-SDK__Getting_Started_Guide__EN.pdf
2C-ESP8266-SDK__API Guide__EN_V1.5.3.pdf
4A-ESP8266__AT Instruction Set__EN_v1.5.3.pdf
4B-ESP8266__AT_Command_Examples__EN_v1.3.pdf
5A-ESP8266__SDK__SSL_User_Manual__EN_v1.4.pdf
9B-ESP8266-Sleep_Mode_Low_Power_Solutions__EN_V1.1_20160415.pdf
20A-ESP8266__RTOS_SDK__Programming_Guide__EN_v1.3.0_20160321.pdf
20B-ESP8266__RTOS_SDK_API Reference.pdf
30A-ESP8266_NONOS_MESH_API_Reference_PDF_V1.0_20160203.pdf
30A-ESP8266__Mesh_User_Guide__EN_V1.2_20160402.pdf
30B-ESP-TOUCH_User_Guide__EN_V1.1_20160412.pdf
30C_ESP-NOW__User_Guide_EN.pdf
40C-ESP_Smart_Plug__User_Guide__EN_V1.2_20160413.pdf
99A-SDK-Espressif IOT Flash RW Operation__EN_v1.0.pdf
99C-ESP8266__OTA_Upgrade__EN_v1.6.pdf
* Updated file:
2B-ESP8266__SDK__IOT_Demo__EN_v1.3.pdf
* Updated examples:
lwip_open_demo_app;
ESP8266_Relay_Board;
at;
smart_config;
IoT_Demo;
rboot;
+ Added examples:
wps;

v2.0.9 (02.12.2015):
* Update SDK v1.5.0 (folder ESP8266_SDK);
* Update RTOS SDK v1.3.0 (folder ESP8266_RTOS_SDK);
* Update Espressif MESH SDK (beta) (folder ESP8266_MESH_SDK);
* SDK version 1.3.0 moved to a folder ESP8266_SDK_130;
* SDK version 1.4.1 Pre5 moved to a folder ESP8266_SDK_141;
* Update a utility "utils\esptool-ck.exe" to version 0.4.6-2:
* Updated documentation:
- Delete files:
2A-ESP8266__IOT_SDK_User_Manual__EN_v1.3.0.pdf
2B-ESP8266__SDK__IOT_Demo__EN_v0.6.pdf
2C-ESP8266__SDK__Programming Guide__EN_v1.3.0.pdf
20A-ESP8266__RTOS_SDK__Programming Guide__EN_v1.0.5.pdf
+ Added files:
2A-ESP8266__IOT_SDK_User_Manual__EN_v1.4.pdf
2B-ESP8266__SDK__IOT_Demo__EN_v1.3.pdf
2C-ESP8266__SDK__Programming Guide__EN_v1.5.pdf
3A_ESP8266_Flash_tool_user_manual_EN_v1.0.pdf
20A-ESP8266__RTOS_SDK__Programming Guide__EN_v1.3.0.pdf
20B-ESP8266__RTOS_SDK_API Reference__v1.3.0.pdf
* Updated examples:
sysinfo;
esp_mesh_sdk_app_controller;
esp_mesh_sdk_app_light;
esp_mesh_sdk_app_switch;
esp_rtos_sdk_example;
esp_rtos_sdk_example_2;
nodemcu-firmware;
at;
lwip_open_demo_app;
dht22_thingspeak;
+ Added examples:
rboot;
SPI_slave;
I2S_Demo;
PWM_Demo;
UART_TCP_Passthrough_Demo;
Last edited by CHERTS on Tue May 24, 2016 2:18 am, edited 41 times in total.