- 29 Jul, 2021 1 commit
-
-
Johny Mattsson authored
I2S constants have changed; docs updated.
-
- 28 Jul, 2021 2 commits
-
-
Johny Mattsson authored
- Added support for WPA3 - Evicted left-over broken WiFi auto-reconnect - Updated docs
-
Johny Mattsson authored
-
- 26 Jul, 2021 1 commit
-
-
Johny Mattsson authored
-
- 22 Jul, 2021 1 commit
-
-
Johny Mattsson authored
Updated docs to reflect new WiFi station connect behaviour.
-
- 21 Jul, 2021 1 commit
-
-
Johny Mattsson authored
Plus addressing some warnings.
-
- 20 Jul, 2021 1 commit
-
-
Johny Mattsson authored
Only compile-tested so far. Of note is that the WiFi auto-connect (flag) functionality has been removed from the IDF, and as a follow-on so has the "auto" field in the wifi config. On the Ethernet side, support for the TLK110 PHY seems to have been removed, but on the other hand there is now new support for several others.
-
- 19 Jul, 2021 1 commit
-
-
Johny Mattsson authored
Some parts dry-coded in the disabled modules; to be fixed when sorting out the deprecated/removed APIs used in said modules. Still untested beyond compile/linking.
-
- 15 Jul, 2021 2 commits
-
-
Johny Mattsson authored
-
Johny Mattsson authored
Yet to come: - part 2: dealing with deprecated and removed APIs - part 3: making it actually work again
-
- 02 Apr, 2021 1 commit
-
-
Marcel Stör authored
-
- 22 Jan, 2021 1 commit
-
-
jmdasnoy authored
-
- 17 Jan, 2021 1 commit
-
-
tomsci authored
Supporting wakeup from (non-EXT1) GPIO, UART, ULP, timer and touch
-
- 05 Jan, 2021 2 commits
- 23 Aug, 2020 1 commit
-
-
Nathaniel Wesley Filardo authored
Using the NODEMCU_ namespace prefix makes it obvious that these are not part of Lua proper (contrast, e.g., LUA_BUILTIN_STRING). Using "CMODULE" gives us room to differentiate between modules whose implementation is in C and whose implemenation is in Lua ("LMODULE"). The ESP8266 branch can adopt the same convention when it moves to Kconfig; see https://github.com/nodemcu/nodemcu-firmware/issues/3130
-
- 22 Aug, 2020 1 commit
-
-
tomsci authored
-
- 03 Aug, 2020 1 commit
-
-
David Thornley authored
Manifests as multiple definition of esp_event_send during compilation, as bthci triggers inclusion of `event_loop.c`. Also improved lbth_init() to support BTDM or BLE_ONLY controller modes.
-
- 27 Jul, 2020 1 commit
-
-
Javier Peletier authored
-
- 08 Jul, 2020 1 commit
-
-
Marcel Stör authored
-
- 18 May, 2020 1 commit
-
-
tomsci authored
-
- 01 May, 2020 1 commit
-
-
Tom Sutcliffe authored
-
- 27 Apr, 2020 1 commit
-
-
tomsci authored
Fixes #2880
-
- 27 Oct, 2019 1 commit
-
-
John Lauer authored
* Touch module 1st checkin * ESP32. Check-in 2 for Touch sensor module * ESP32: Touch module. Sample Lua code. * ESP32: Latest YouTube vid * ESP32: Touch docs update * Added opt_* methods for value retrieval
-
- 27 Sep, 2019 1 commit
-
-
f4grx authored
-
- 12 Aug, 2019 1 commit
-
-
Arnim Läuger authored
* fix handling of optional power pin * add init example for wESP32 * add example for eth.on()
-
- 22 Jul, 2019 1 commit
-
-
Johny Mattsson authored
* Port LFS from ESP8266 to ESP32
-
- 20 Jul, 2019 1 commit
-
-
Arnim Läuger authored
Ethernet module added.
-
- 14 Jul, 2019 1 commit
-
-
Johny Mattsson authored
To avoid races between the lwIP callbacks (lwIP RTOS task) and the Lua handlers (LVM RTOS task), the data flow and ownership has been simplified and cleaned up. lwIP callbacks now have no visibility of the userdata struct. They are limited to creating small event objects and task_post()ing them over to the LVM "thread", passing ownership in doing so. The shared identifier then becomes the struct netconn*. On the LVM side, we keep a linked list of active userdata objects. This allows us to retrieve the correct userdata when we get an event with a netconn pointer. Because this list is only ever used within the LVM task, no locking is necessary. The old approach of stashing a userdata pointer into the 'socket' field on the netconn has been removed entirely, as this was both not thread/RTOS-task safe, and also interfered with the IDFs internal use of the socket field (even when using only the netconn layer). As an added benefit, this removed the need for all the SYS_ARCH_PROTECT() locking stuff. The need to track receive events before the corresponding userdata object has been established has been removed by virtue of not reordering the "accept" and the "recv" events any more (previously accepts were posted with medium priority, while the receives where high priority, leading to the observed reordering and associated headaches). The workaround for IDF issue 784 has been removed as it is now not needed and is in fact directly harmful as it results in a double-free. Yay for getting rid of old workarounds! DNS resolution code paths were merged for the two instances of "socket" initiated resolves (connect/dns functions). Also fixed an instance of using a stack variable for receiving the resolved IP address, with said variable going out of scope before the DNS resolution necessarily completed (hello, memory corruption!). Where possible, moved to use the Lua allocator rather than plain malloc. Finally, the NodeMCU task posting mechanism got a polish and an adjustment. Given all the Bad(tm) that tends to happen if something fails task posting, I went through a couple of iterations on how to avoid that. Alas, the preferred solution of blocking non-LVM RTOS tasks until a slot is free turned out to not be viable, as this easily resulted in deadlocks with the lwIP stack. After much deliberation I settled on increasing the number of available queue slots for the task_post() mechanism, but in the interest of user control also now made it user configurable via Kconfig.
-
- 11 Jul, 2019 1 commit
-
-
Johny Mattsson authored
The netbuf_data() function only returns data from the first pbuf in the chain. We need to use netbuf_first() and netbuf_next() to walk the pbuf chain and act on each in turn.
-
- 06 Jul, 2019 1 commit
-
-
Johny Mattsson authored
* Implemented otaupgrade module. * Added partition table example for otaupgrade. * Copy-paste omission. Whoops. * Updated otaupgrade docs after review.
-
- 04 Jul, 2019 1 commit
-
-
Johny Mattsson authored
* Leaner, meaner crypto module; now with HMAC Based on my testing, mbedtls pulls in all its algorithm regardless of whether the NodeMCU crypto module was using them or not. As such, the space savings from omitting algorithms were only in the tens of bytes. By switching to using the mbedtls generic message digest interface, the crypto module itself could be shrunk in size and complexity. Despite adding support for HMAC on all algorithms (plus including RIPEMD160), this version is 330 bytes smaller. * Updated crypto module docs. * Removed superfluous brackets in crypto docs. Copy-paste considered harmful... >.>
-
- 03 Jul, 2019 1 commit
-
-
devsaurus authored
-
- 21 Jun, 2019 1 commit
-
-
devsaurus authored
-
- 12 Jun, 2019 1 commit
-
-
John Lauer authored
* ESP32: Added pulsecnt module The pulsecnt module let's you use the ESP32's pulse counter capabilities from Lua. * ESP32: Pulsecnt module. Better/faster callback. Reduced the amount of callback variables to speed things up and shift more logic to Lua than in the C code. * ESP32: Completed docs for pulsecnt * ESP32: Final release of pulsecnt * ESP32: Production release of pulsecnt * ESP32: Release (tweaked docs) * ESP32: Pulse Counter Release. Cleaned up .gitignore * ESP32: Pulse counter release (changed ch1 gpio to int to match ch0)
-
- 10 Jun, 2019 1 commit
-
-
Skirmantas Lauzikas authored
* ESP32: Add option to set IP/dns config This commit adds support for setting: * Hostname * Static IP / Dns server (Sta mode) * Changing AP network ip config * Setting DNS server IP for DHCP * ESP32: Documentation for setting IP/dns/hostname config * Documented new functions * sethostname() now returns true if success
-
- 28 Apr, 2019 2 commits
- 20 Feb, 2019 1 commit
-
-
Javier Peletier authored
* file: remove use of luaM_free * added safe pushlstring function
-
- 12 Feb, 2019 1 commit
-
-
Arnim Läuger authored
* mqtt: add ceritificate handling to support server verification and mutual authentication * remove superfluous include
-