- 30 Aug, 2022 1 commit
-
-
Joo Aun Saw authored
-
- 29 Aug, 2022 2 commits
-
-
Joo Aun Saw authored
-
Joo Aun Saw authored
-
- 04 Jun, 2022 1 commit
-
-
h2zero authored
The return value from fwrite was being checked against the size of the data rather than the number of bytes written. This caused node.compile() to falsely return failure.
-
- 20 May, 2022 1 commit
-
-
Philip Gladstone authored
-
- 05 Mar, 2022 2 commits
-
-
Philip Gladstone authored
* Adding the first version of the rmt documentation. * Stub RMT module compiles. * This version seems to work in (at least) simple cases. * CLean up the docs * Minor fixes * Give the SPI module a chance of working... * Update to the released version of idf4.4 * Try to get the CI Build to work in all cases * Try to get the CI Build to work in all cases * FIx a ringbuffer return issue * Remove bogus comment * Review comments * Better example of transmission * Review comments * Add table send example * Improved documentation * Documentation comments * Install the driver correctly. * A couple of doc updates * Fix typo
-
Johny Mattsson authored
* Added httpd module. Lua-interface to the standard esp_http_server component. * Added eromfs module.
-
- 27 Jan, 2022 1 commit
-
-
Philip Gladstone authored
-
- 26 Jan, 2022 1 commit
-
-
Philip Gladstone authored
* Update to the released version of idf4.4 * Try to get the CI Build to work in all cases
-
- 02 Jan, 2022 1 commit
-
-
Johny Mattsson authored
-
- 13 Nov, 2021 1 commit
-
-
Johny Mattsson authored
-
- 04 Nov, 2021 2 commits
-
-
Johny Mattsson authored
Also removed old, very unsafe node.osoutput(). We're now integrating cleanly with the IDF/newlib way of redirecting stdout. Added necessary depends in Kconfig to ensure VFS support is enabled, as otherwise you'd only get a mysterious crash when attempting to enable output redirection.
-
Johny Mattsson authored
-
- 22 Oct, 2021 1 commit
-
-
Johny Mattsson authored
-
- 20 Oct, 2021 1 commit
-
-
Johny Mattsson authored
The IDF-provided VFS resolves several issues: - The IDF components having a different view of the (virtual) file system compared to the Lua environment. - RTOS task/thread safety. Our legacy VFS was only ever safe to use from the LVM thread, which limited its usability. Upgrading it would have effectively required a reimplementation of the IDF VFS, which would have been a bigger task with larger on-going maintenance issues. - We're no longer needing to maintain our own SPIFFS component. - We're no longer needing to maintain our own FATFS component. - The legacy of the 8266's lack of standard C interface to the file system is no longer holding us back, meaning that we can use the standard Lua `io` module rather than the cobbled-together swiss army knife also known as the file module. Of course, the downside is that we'll either have to declare a backwards breakage in regard to the file module, or provide a Lua shim for the old functions, where applicable. Also included is some necessary integer type fixups in unrelated code, which apparently had depended on some non-standard types in either the SPIFFS or FATFS headers. A memory leak issue in the sdmmc module was also found and fixed while said module got switched over to the Espressif VFS. Module documentation has been updated to match the new reality (and I discovered in some places it wasn't even matching the old reality).
-
- 05 Oct, 2021 1 commit
-
-
Marcel Stör authored
Replaces setpostdata() with setbody().
-
- 16 Sep, 2021 2 commits
-
-
Johny Mattsson authored
Search-and-replace considered harmful. I completely missed the need to explicitly declare "fast" tag functions (__xyz) in the mask field to LROT_BEGIN()/LROT_END() when I brought over the 5.1+5.3 support. Without those flags set properly, the LVM doesn't even bother going looking for those methods, which in this case led to garbage collection not calling the __gc functions, among other horrible things. Mea culpa.
-
Johny Mattsson authored
-
- 09 Sep, 2021 2 commits
-
-
Johny Mattsson authored
Effectively the esp_netif version of the recent tcpip_adapter based support added on dev-esp32 in fa6fd1a4.
-
Johny Mattsson authored
-
- 01 Sep, 2021 1 commit
-
-
Johny Mattsson authored
-
- 26 Aug, 2021 1 commit
-
-
Johny Mattsson authored
Now properly triggering restart on non-interactive errors.
-
- 25 Aug, 2021 1 commit
-
-
Johny Mattsson authored
-
- 23 Aug, 2021 3 commits
-
-
Johny Mattsson authored
-
Johny Mattsson authored
Bring on that stacktracey goodness!
-
Johny Mattsson authored
The IDF provides all we need these days, and the old driver was just needlessly conflicting with the IDF settings and setup. This also simplifies our uart input path as we no longer need to duplicate the raw byte handling for when "run_input" is false.
-
- 22 Aug, 2021 1 commit
-
-
Johny Mattsson authored
-
- 21 Aug, 2021 1 commit
-
-
Johny Mattsson authored
Changes have been kept to a minimum, but a serious chunk of work was needed to move from 8266isms to IDFisms. Some things got refactored into components/lua/common, in particular the LFS location awareness. As part of this work I also evicted our partition table manipulation code, as with the current IDF it kept breaking checksums and rendering things unbootable, which is the opposite of helpful (which was the original intent behind it). The uart module got relocated from base_nodemcu to the modules component properly, after I worked out how to force its inclusion using Kconfig alone.
-
- 11 Aug, 2021 1 commit
-
-
Johny Mattsson authored
The uzlib and parts of Lua had to be switched over to use the C standard int types, as their custom typedefs conflicted with RISC-V toolchain provided typedefs. UART console driver updated to do less direct register meddling and use the IDF uart driver interface for setup. Still using our own ISR rather than the default driver ISR. Down the line we might want to investigate whether the IDF ISR would be a better fit. Lua C modules have been split into common and ESP32/ESP32-S specific ones. In the future there might also be ESP32-C3 specific modules, which would go into components/modules-esp32c3 at that point. Our old automatic fixup of flash size has been discarded as it interferes with the checksumming done by the ROM loader and results in unbootable systems. The IDF has already taken on this work via the ESPTOOL_FLASHSIZE_DETECT option, which handles this situation properly.
-
- 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
-