These are chat archives for esp8266/Arduino

12th
Sep 2015
Ivan Grokhotkov
@igrr
Sep 12 2015 10:06
Big changes coming from upstream
IDE will now use this as compilation driver
d-anders
@d-anders
Sep 12 2015 11:29
oh
only advantages?
Holger Lembke
@holgerlembke
Sep 12 2015 12:53
hopefully they add some easy support for using different hardware the same time. like compiling for nano in one window and for esp in another window.
Markus
@Links2004
Sep 12 2015 16:26
@igrr how about using doxygen for the function documentation, then we can simply generate a new at a release.
lately there some questions / issues for function that already exists but the most people dont find them.
by this we also dont have the problem to keep the docs in sync
Thorsten von Eicken
@tve
Sep 12 2015 17:00
arduino-builder sounds ver exciting. I've been spending the past 4 hours trying to compile a sketch for the esp on a head-less linux box...
Thorsten von Eicken
@tve
Sep 12 2015 17:17
is there a way to upload sketches over wifi?
Markus
@Links2004
Sep 12 2015 17:18
yes more then one :)
Thorsten von Eicken
@tve
Sep 12 2015 17:19
would you mind linking me to some docs/code?
Thorsten von Eicken
@tve
Sep 12 2015 17:30
WebUpdate looks like what I'm after, nice & thanks for the link! What's the story on debug output when using that? Is there also a lib that runs a telnet server that I can connect to to get debug serial in/out easily? Basically Serial.println -> TCP -> telnet/nc program.
Markus
@Links2004
Sep 12 2015 17:33
you can open a tcp connection and put you logs there. may it make sense to use UDP whit syslog protocol for example
Thorsten von Eicken
@tve
Sep 12 2015 17:35
Something I'm wondering around all this OTA update stuff... Right now the model is to re-upload the entire firmware. Would it be interesting to have a base firmware with a web server, core libraries, filesystem, and general web pages to manage wifi connectivity, for example. And then upload sketches that are linked to this base firmware? This could enable changing sketches without reboot and also have more persistence for debug, files, and such. Maybe that's more complicated and more fragile for too little gain?
Markus
@Links2004
Sep 12 2015 17:36
possible yes but needs many work, basicly the SDK works like this.
the chip has hardcoded functions on static addresses witch can bee used
Thorsten von Eicken
@tve
Sep 12 2015 17:41
I'm pretty familiar with the SDK and have written a web server that has self-update over wifi, so I'm pretty familiar with that. What I'm thinking is having 2 partitions in flash, one for the base "operating system" and one for a sketch. The sketch would be separate from the base but would statically link into it so the sketch doesn't some with all the SDK code and such. I don't think doing the linking is that difficult, at least not if it's static, the only issue I can see is that the sketch ends up linked against a specific version of the base OS image.
Markus
@Links2004
Sep 12 2015 17:41
@igrr i generate a dogygen from the current git http://links2004.github.io/Arduino/ currently looks not the best.
@tve yes on every SDK or arduino update a new linking is need.
some of the current concepts need adjustments to work but its possible.
but it costs more space so for the 512KB version its problematic
Steve Nelson
@zenmanenergy
Sep 12 2015 20:50
Is there anything special i need to do to get a nodemcu 0.9 to work with the latest version of the arduino ide on a mac? it gives me this error: warning: espcomm_send_command: wrong direction/command: 0x01 0x08, expected 0x01 0x02
i am able to upload a binary to the device via windows using the flasher tool. I made a hello world script via arduino, then copied that file over to windows and flashed it. then cam back to arduino ide opened the serial monitor… and it worked. So the device itself works. just something isn’t allowing me to upload from the mac arduino side.
antenna looks like the one on esp-13