- 04 Nov, 2021 1 commit
-
-
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.
-
- 16 Sep, 2021 1 commit
-
-
Johny Mattsson authored
-
- 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.
-
- 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
-
- 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
-
- 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
-
- 20 Jul, 2019 1 commit
-
-
Arnim Läuger authored
Ethernet module added.
-
- 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... >.>
-
- 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)
-
- 18 Jan, 2019 1 commit
-
-
Javier Peletier authored
-
- 26 Nov, 2018 1 commit
-
-
Skirmantas Lauzikas authored
* ESP32: Add time modules New time module for manipulating system time/ calendar and controlling SNTP server * ESP32: Time module documentation & style fixes * added documentation for time modules * style fixes as pointed out by @devsaurus * ESP32: Time module small fixes * Couple small fixes
-
- 22 Nov, 2018 1 commit
-
-
Skirmantas Lauzikas authored
* Esp32: Add SJSON module This adds SJSON module taken directly from master * ESP32: Fixes for sjson lib Fixed compilation not including config header, thus braking some of libs functionality * ESP32: Upgraded SJSON to master
-
- 15 Nov, 2018 2 commits
-
-
tomsci authored
* Adding qrcodegen module for generating QR Codes * Added LUA_MODULE_QRCODEGEN KConfig * Changed qrcodegen.encodeText() to use an options table Created common.h with new option table helper fns. * Reworked http.c to use new common.h options table APIs
-
tomsci authored
* Add Sodium module * Split sodium API into subtables; updated docs * Fixed refactored names of crypto_box fns
-
- 08 Nov, 2018 1 commit
-
-
tomsci authored
* ESP32: Added http module * add asynchronous flavor for context:request() (cherry picked from commit e65b90cc8fc5296f7fe6cae1978835e06a9f44bb) * http: More asynchronous support, more options * Fix docs typo * Code review comments from @devsaurus Fixes some cleanup issues with asynchronous mode * Added http.md to mkdocs.yml * Align connection:close() to template
-
- 14 Oct, 2018 1 commit
-
-
devsaurus authored
-
- 13 Oct, 2018 1 commit
-
-
zelll authored
-
- 07 Oct, 2018 2 commits
- 14 Jul, 2018 1 commit
-
-
Ryan Hartlage authored
-
- 01 Feb, 2018 1 commit
-
-
Andrew Gough authored
-
- 11 Aug, 2017 1 commit
-
-
larsstenberg authored
* Inital commit for supporting ledc driver * Added documentation. More fade functions and better naming of constants * Better field checking during setup. Updated documentation * Reworked LEDC module to be used with an object model to decrease repetition of parameters
-
- 13 Jun, 2017 2 commits
- 14 May, 2017 1 commit
-
-
devsaurus authored
-
- 07 May, 2017 1 commit
-
-
zelll authored
* can extension * can extension: bit timing and filter * can -> CAN * post CAN data callback * CAN docs * CAN: fixed receive, filter, extended frame * reorder fn in can.md, remove driver_can/Kconfig * fixed a leak when can.stop()
-
- 30 Apr, 2017 1 commit
-
-
devsaurus authored
-
- 24 Apr, 2017 1 commit
-
-
zelll authored
* added adc extension * add adc_number, for adc2
-
- 14 Apr, 2017 2 commits
- 17 Mar, 2017 1 commit
-
-
devsaurus authored
-
- 07 Mar, 2017 2 commits
- 02 Feb, 2017 1 commit
-
-
devsaurus authored
-
- 13 Jan, 2017 1 commit
-
-
devsaurus authored
-
- 26 Nov, 2016 1 commit
-
-
Johny Mattsson authored
The gpio ISR needs to go into the platform layer most likely, but that's for later.
-
- 17 Nov, 2016 1 commit
-
-
Johny Mattsson authored
-