These are chat archives for esp8266/Arduino

12th
Aug 2015
Anwar Hahj Jefferson-George
@anwarhahjjeffersongeorge
Aug 12 2015 04:13
@igrr What's your policy on adding espressif documents to the repo or linking to them in src files? For instance, i found this handy page : http://bbs.espressif.com/viewtopic.php?f=51&t=817&hilit=i2s Are these kinds of documents something you'd prefer to go in the community wiki ?
Ivan Grokhotkov
@igrr
Aug 12 2015 04:26
the chip info should probably go into wiki.
Anwar Hahj Jefferson-George
@anwarhahjjeffersongeorge
Aug 12 2015 04:49
@igrr OK, спасибо
Ivan Grokhotkov
@igrr
Aug 12 2015 06:37
@projectgus NodeMcu 1.0 board (CP2102-based) works at 921600 about 90% of the time for me. Not with every USB cable though, with some cables it's much worse.
You just cut the CTS line and patch in RTS from the edge of the board, all signals for managed upload in one 6 pin inline socket.
Angus Gratton
@projectgus
Aug 12 2015 07:14
igrr h4rm0n1c: interesting, thanks. my nodemcu v1 is ch341 based and only works 100% at 230400, a bit at 460800 and not at all at higher speeds.
i have one of those ft232 adapters and a nodemcu v2 coming to me, and a pcb design foran FT2232H based board (to have JTAG and usb/serial side by side) in progress, so I'll see what kind of speeds I can hit then
Ivan Grokhotkov
@igrr
Aug 12 2015 07:15
v.1 is actually v.0.9 (yellow one) and v.2 is v.1.0 (black one) :)
my ch341-based one also doesn't work above 230400
Angus Gratton
@projectgus
Aug 12 2015 07:18
oh, right. lol
brutzler
@brutzler
Aug 12 2015 10:18
like discussed in the forum: No automatic download possible (NodeMCU1.0) since upgrade of the last staging.
Is this only at my side, or do others have similiar problems?
Here the link to the thread http://www.esp8266.com/viewtopic.php?f=32&t=4476 (No idea how to make a real link of the URL)
(Oh ... link is done automatically) :clap:
Mario Mikočević
@mozgy
Aug 12 2015 11:20
NodeMCU v1.0 (black one) upload works fine for me
Ivan Grokhotkov
@igrr
Aug 12 2015 11:21
works for me as well. @brutzler which OS are you using?
oh i see in the forum thread that you are using "Generic ESP8266" as your board selection. This won't work.
You need to select "NodeMCU 1.0"
There was an issue with NodeMCU 0.9 (yellow one) — i haven't changed reset method from ck to nodemcu in boards.txt file.
Have just fixed that today.
brutzler
@brutzler
Aug 12 2015 16:34
@igrr: that was the idea I needed. Like we discussed here: http://www.esp8266.com/viewtopic.php?f=32&t=4432 the generic module has more parameters especially for spiffs. I just changed the reset method for the generic esp8266 to nodemcu, like you described. And voila....working :-)
brutzler
@brutzler
Aug 12 2015 16:39
Not to loose the origin, I just made a duplicate of the "Generic ESP8266". Changing the all "generic." to "generic2." Also given a new name: "generic2.name=Generic ESP8266 Module (Autoflash)"
Victor Aprea
@vicatcu
Aug 12 2015 17:00
hey all, how's it going
Russ Mathis
@RussMathis
Aug 12 2015 19:20
@igrr Im getting a an error ::fs already in scope when #include <FS.h>, any ideas? I'm using staging...
brutzler
@brutzler
Aug 12 2015 19:26
@RussMathis : Is there a #include <SPI.h> ... #include <SD.h> in the sketch?
Russ Mathis
@RussMathis
Aug 12 2015 19:28
no
Ivan Grokhotkov
@igrr
Aug 12 2015 19:28
can you show your sketch? and the compiler output?
Russ Mathis
@RussMathis
Aug 12 2015 19:29
ok, give me a sec.

include <ESP8266WiFi.h>

include <ESP8266WebServer.h>

include <EEPROM.h>

include <FS.h>

\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\1.6.5-1044-g170995a\cores\esp8266/FS.h:112:11: error: 'FS' is already declared in this scope
using fs::FS;
^
Error compiling.
Ivan Grokhotkov
@igrr
Aug 12 2015 19:34
ok, the workaround is to put #include <ESP8266WebServer.h> after #include <FS.h>
Russ Mathis
@RussMathis
Aug 12 2015 19:34
Gotcha! thankx!