(the board I'm using is the top board of a Witty from which I desoldered the ams1117 regulator, LDR and RGB LED)
@igrr alright thanks. Crap.
@igrr this is very strange. on my machine it works fine, I can link against libmain.a... Are you sure environment is not passing something strange?
Keith Andrew Hill
How are callbacks done for MQTT? In nodemcu this seems to be a lot easier.
seems like timers in general are much more difficult in C than in NodeMCU too...
@igrr is it possible to enable the lwip debug output with the gcc-compiled version? The bug above has been fixed by @me-no-dev and stability has greatly improved but we're still seeing crashes that seem to happen after the _error callback has finished.
or just try to use relative path to ~/e/esp_iot_sdk_v1.5.2/lib/libmain.a
@igrr Nevermind... Somerhing is wrong.
@kireevco relative path doesn't seem to make a difference
(getting the same error)
yeah.. I'm looking into binutils... looks like LD thing
@Makuna same here...ha
I have an arduino ide question. I'd like to add a build script that converts some SPIFFS files into "production" mode. Unfortunately, arduino ide seems to insist on compiling everything in the project folder- include build script, node_npm folder etc. Can I force arduino to ignore files and folders in the build process?
Another general Arduino IDE question: When I install an Arduino core from Baords Manager, on OS X, what folder does it get installed to?
@igrr aha, thanks, was trying to figure out how to override boards manager installed core (arduino-nRF5) with latest git core.
seems like, <sketchbook>/hardware does take priority over installed one though
hey guys, i got into a bootloop/crash loop
would that be because i inadvertently applied 5v to the esp earlier? :(
skorokithakis: possibly, but FWIW I've applied 5V to ESPs a few times without incident
hmm, yeah, i thought so too, but this is odd
nah, i keep getting watchdog reset
i can flash it fine, it just won't run for some reason
i keep getting a long memory dump, does anyone know what that's about?
turns out the tx/rx connections weren't secure enough and data was getting corrupted
is there a way to parse a string like "10 20 30" to ints easily?
atoi() three times?
that would require me to also know where to split the string, though
i'm looking for something like sscanf, but that doesn't seem to exist
i see it in a branch @igrr wrote, but it doesn't seem to be merged