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

User avatar
By CHERTS
#6927
ihouses wrote:What is the default status of RTS and DTR?
Connecting both signals like it is descrived in the schematic prevents normal serial communication with Hyperterminal, for instance?
Thanks!


Do not use Hyperterminal or Putty, they do not work correctly with the signals RTS and DTR. Use the Terminal (C:\Espressif\utils\terminal.exe)
User avatar
By CHERTS
#6928
ihouses wrote:First of all thanks so much for all this great job that you are doing, definetly I will support with some paypal donation.


If you want to support my project Unofficial Espressif DevKit, then on the first page there is a button donations.

ihouses wrote:Looking at the schematic for connecting the board to the USB to serial converter I see that GPIO5 and GPIO0 are needed, but in my board there are only GPIO2 and GPIO0. Is it OK connect GPIO2 instead of GPIO5?


The board ESP-01 output GPIO5 = EXT_RESET, see picture below.

Image
*Click for larger image
User avatar
By Alex_S
#6952
CHERTS wrote:
alonewolfx2 wrote:can we use make htmlflash in esphttp example?


File webpages.espfs (htmlflash) can only be done under linux, utility mkespfsimage for windows is working not correctly.
I tried to compile it in Visual Studio 2012 project is located in the directory C:\Espressif\examples\esphttpd\mkespfsimage_vs2012 or attachment, but the utility creates an invalid webpages.espfs
You can view the source code and may be able to find the error and correct it.

The resulting file is corrupted because stdout stream has TEXT mode. As result - it adds "\r\n" line endings instead of "\n".
The binary mode of stdout stream can be set by the "setmode" command:
_setmode( _fileno( stdout ), _O_BINARY );

If you will add this command to the main() function - the utility will provide correct file system image. So it is working for windows too!
Thanks!