These are chat archives for esp8266/Arduino
looks like USB upload fails if you use an auth password
Which version of PlatformIO do you use?
does uploadlazy ALWAYS upload without rebuilding?
make platformio only build the firmware if source files actually changed
It does it by default
firmware.binand want to use PlatformIO only for uploading"
PING google.com (126.96.36.199) 56(84) bytes of data. 64 bytes from wn-in-f138.1e100.net (188.8.131.52): icmp_seq=1 ttl=44 time=58.9 ms 64 bytes from wn-in-f138.1e100.net (184.108.40.206): icmp_seq=2 ttl=44 time=58.2 ms 64 bytes from wn-in-f138.1e100.net (220.127.116.11): icmp_seq=3 ttl=44 time=59.8 ms
Guys, could someone re-test this SPIFFS? platformio/platformio#382
I want to release 2.7.0 today
library.json1 year ago
I followed the guid here and there is nothing about the source code location.
What do you mean? See
If a library source code is located at GitHub, then you need to specify only these fields in the library.json:That is kinda misleading if I have to specify
srcdirectory, then you no need to specify
λ platformio lib register https://raw.githubusercontent.com/FWeinb/NTPClient/master/library.json
The library has been successfully registered and is waiting for moderation
library.jsonfrom your PR.
library.jsonshould be merged/located in the lib
Trying to compile the master branch with platformio is resulting in this:
~/.platformio/packages/framework-arduinoespressif/tools/sdk/lib/libcrypto.a(aes-internal.o):(.irom0.text+0x0): undefined reference to `rcons'
Are lib dependencies always global and not project based?
You can make them dependent per project. See http://docs.platformio.org/en/latest/projectconf.html#lib-install
void onEvent(WiFiEventCb cbEvent, WiFiEvent_t event = WIFI_EVENT_MAX); ^ .pioenvs/nodemcu/ESP8266WiFi/ESP8266WiFiGeneric.h:44:14: note: no known conversion for argument 2 from '<anonymous enum>' to 'WiFiEvent_t' scons: *** [.pioenvs/nodemcu/ESPmanager/ESPmanager.o] Error 1
WiFi.onEvent(onEvent, WIFI_EVENT_STAMODE_DISCONNECTED);is working fine.
But I get this warning when compiling @Links2004 WiFi class :
core_esp8266_phy.c:248:7: warning: incompatible implicit declaration of built-in function 'memcpy'
wifi_station_set_configwill result in a connecting try.
wifi_station_set_auto_connectis used but this all needs testing.
wifi_station_connectmay it work, for your case.
wifi_station_set_auto_connecttoo, can you test it for you use case?
connectwould be worth it. It could be useful to yield control back to the sketch in order to blink LEDs while waiting for the first server connection.
The tcp_connect() function returns immediately; it does not wait for the connection to be properly setup. Instead, it will call the function specified as the fourth argument (the "connected" argument) when the connection is established.
sys_check_timeoutsin the main loop
esp_yieldin there, would the sketch yield back control the the OS eventually?
esp_yieldis used at every point to "stop" the sketch, if we wait for an event.
esp_schedule()call at the end of
loop_wrapper, it will never comes back to the sketch unless something else call