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

User avatar
By ludagad
#16539 Any chance next DevKit version has the esp-ginx HTTP Server as part of the examples? :D

I had to install Python + PySerial on top of the DevKit to build that. The makefile is quite different and I could not addapt any of the examples to build that.
If it'd be of any help - I can send the .cproject & .project that I use to build in Eclipse + amended makefile to account for this DevKit paths. The huge *but* is that it will build only if you install Python 2.7.9 & serial scripts.

So ... any chance of a python-free ginx example OR extended DevKit with Python steps added?
User avatar
By kenn
#16583
Vleis Walker wrote:Hi there

I would like to IMPORT into Eclipse (CHERTS Setup) the project from https://github.com/eadf/esp_mqtt_lcd

What I have done....
1. D/l the zip from GIT
2.Unzip it
3.Moved the folder to Espressif\examples
4.Started Eclipse
5.Select Import > General>Import Existing Projects into Workspace
6.Selected the c:\Espressif\examples as root directory
7.However, my copied folder not in list.....

Did I place it in the wrong folder?

Where should one have the Eclipe Workspace?


Hi,

You put the esp_mqtt_lcd folder in the right spot.

The problem is - esp_mqtt_lcd is not yet an 'Eclipse project' - it's missing the .project and .cproject files. So instead, in Eclipse you will be creating a new project from existing source.

I don't have Eclipse installed here, but this article describes the process. You may have to tweak the makefile to work in the CHERTS environment.

Another thing that has worked for me is to copy the .cproject, .project files and the main makefile from a working example into the new project, then hand editing them to fit the new project... but this is tricky.

(still loving this devkit - thanks again Mikhail! :) )
User avatar
By scargill
#16968 Can anyone help. I am running the TuanPM code - with lots of extra code added. When blowing the chip it ends up flashing here.

Writing at 0x00072500... (100 %)

I'm compiling in Windows 8 no problem using Eclipse... with the SDK 0.96 I can run my code on ESP-01, ESP-07, ESP12 no problem. With SDK 1.0 and 1.1, the code will not run in ESP-01 or ESP-07 - the initial 78k info is produced then nothing - the board just sits there. I understand that the ESP-12 may have more FLASH - yet this runs perfectly using SDK 0.96...

Is there a change I can make to the MAKE file to fix this?

Pete.