- 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.
-
- 15 Jul, 2021 1 commit
-
-
Johny Mattsson authored
Yet to come: - part 2: dealing with deprecated and removed APIs - part 3: making it actually work again
-
- 17 Sep, 2020 1 commit
-
-
Marcel Stör authored
Undos changes from #3135
-
- 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
-
- 29 Oct, 2019 1 commit
-
-
f4grx authored
Fixes #2933
-
- 12 Oct, 2019 1 commit
-
-
Johny Mattsson authored
* Fix uart regressions & bugs. Using `uart.on()` with a search character was broken in that it did not invoke the callback on a full UART buffer as documented. Logic reworked to match docs again. Fixed memory leak on `task_post()` failure (eep!). Improved logic to attempt to coalesce input bytes to reduce the number of `task_post()` slots used up by the platform uart. Finally, added a semaphore to prevent the platform uart from overrunning the `task_post()` slots all the time on high baud rates (e.g. 1mbit). With the semaphore in there, the LVM RTOS task gets a chance to actually process the received data and free up a `task_post()` slot or two. The above mentioned read coalescing then allows the platform uart to immediately catch up. Also added an error log message if the `task_post()` actually does fail. * Don't cache the uart delims. Doing so makes reconfiguring those settings from within the callback not take effect until the currently buffered bytes have been processed.
-
- 22 Jul, 2019 1 commit
-
-
Johny Mattsson authored
* Port LFS from ESP8266 to ESP32
-
- 31 May, 2019 1 commit
-
-
devsaurus authored
remove ESP_INTR_FLAG_IRAM to fix #2564
-
- 28 Apr, 2019 1 commit
-
-
devsaurus authored
- new displays - binding for updateDisplay() and updateDisplayArea() - use user_ptr instead of hal workaround
-
- 29 Jan, 2019 1 commit
-
-
Javier Peletier authored
-
- 17 Jan, 2019 1 commit
-
-
devsaurus authored
-
- 30 Nov, 2018 1 commit
-
-
Skirmantas Lauzikas authored
* ESP32: add support for RS485 This commit adds support for switching UART mode to RS485/IRDA. Also included are patches for memory leaks then handling UART events other than data. * ESP32: Documentation for uart.setmode()
-
- 23 Nov, 2018 1 commit
-
-
Arnim Läuger authored
-
- 04 Nov, 2018 1 commit
-
-
devsaurus authored
- implement file.size for spiffs (#1516) - fix vfs_lseek() result checking in enduser_setup and clarify SPIFFS_lseek() return value (#1570) - Handle error condition in file.read() (#1599)
-
- 03 Nov, 2018 1 commit
-
-
devsaurus authored
-
- 07 Oct, 2018 2 commits
- 15 Apr, 2018 1 commit
-
-
devsaurus authored
-
- 04 Apr, 2018 1 commit
-
-
devsaurus authored
-
- 02 Apr, 2018 1 commit
-
-
devsaurus authored
-
- 18 Dec, 2017 1 commit
-
-
devsaurus authored
-
- 12 Sep, 2017 1 commit
-
-
devsaurus authored
-
- 02 Sep, 2017 1 commit
-
-
devsaurus authored
-
- 27 Jul, 2017 1 commit
-
-
devsaurus authored
-
- 13 Jul, 2017 1 commit
-
- 20 Jun, 2017 1 commit
-
-
devsaurus authored
-
- 13 Jun, 2017 2 commits
- 05 May, 2017 1 commit
-
-
devsaurus authored
-
- 30 Apr, 2017 1 commit
-
-
devsaurus authored
-
- 27 Apr, 2017 1 commit
-
-
devsaurus authored
-
- 24 Apr, 2017 1 commit
-
-
zelll authored
* added adc extension * add adc_number, for adc2
-
- 18 Apr, 2017 1 commit
-
-
devsaurus authored
-
- 14 Apr, 2017 3 commits
- 13 Apr, 2017 1 commit
-
-
devsaurus authored
-