Commit Graph

2426 Commits

Author SHA1 Message Date
Sébastien Roy 15fc8c8049 Add support for open networks to enduser_setup (#3392) 2024-02-25 10:08:08 +01:00
SebSeb11 2c50f23149 Update link to ESP8266 product page README.md (#3622)
Updates old link to ESP8266 product page which referred to a 404 page.
2024-02-25 10:08:08 +01:00
Marcel Stör 84c4f273b9 Update RTD config 2024-02-25 10:08:08 +01:00
Rex 1be63d294f Fix typo in spi.md (#3613) 2024-02-25 10:08:08 +01:00
Nathaniel Wesley Filardo d5a2ee7e2a app/lua53: catch up to lua 5.3.6 (#3415)
Adapt https://www.lua.org/work/diffs-lua-5.3.5-lua-5.3.6.html to
NodeMCU.  Mostly a straight application, but some small tweaks were
required and, in lundump.c, some changes were elided and some additional
diff reduction applied, as we have heavily diverged from upstream.
2024-02-25 10:08:08 +01:00
Josef Fröhle d04d024bfc Fix Typo in ds18b20-web.lua (#3561) 2024-02-25 10:08:08 +01:00
Gregor Hartmann f5ad76acb3 Fix some bugs and problems in gossip (#3527)
* Allow configuration of debugOutput to be performed

* don't send to own IP or update own data

* Use same socket to send and receive. Avoid problems in many opened and closed sockets to send

* Add callback for REMOVEed hosts

* Send broascast messages if seedList is empty

* Adapt yeelink to new luacheck rules

* Fix building of luac.cross for win to win2019 and VS 2019
2024-02-25 10:08:08 +01:00
Arnie97 d0ddcc6dac Fix dead link (#3518)
The header files were moved into `include` in the commit 87d7b110d6
2024-02-25 10:08:08 +01:00
Marcel Stör 6f9e994ae7 Pin jinja2, see https://twitter.com/readthedocs/status/1507388916013314048 2024-02-25 10:08:08 +01:00
Nathaniel Wesley Filardo 7c675e8443 Switch GET_BYTE_FN to LUA_LOAD_BYTE_FN
This is intended to be a more portable abstraction: rather than
hard-coding offsets in the macro invocations, it relies on the existence
of __builtin_offset and its availability even within inline asm blocks.

While here, rename some of the functions involved to hopefully improve
clarity
2024-02-25 10:08:08 +01:00
Ilkka Poutanen 06c99e556c Fix build for WSL users (#3499)
This change prevents the shell from erroring out with `$PATH` values that contain e.g. parentheses, as is likely for WSL users.
2024-02-25 10:08:08 +01:00
Marcel Stör 4294be0717 Fix the handling of relative links
Do not change the URL to artifacts that reside inside the `/docs`
folder as they are correctly managed by MkDocs.

Fixes #3495
2024-02-25 10:08:08 +01:00
Marcel Stör e519478632 Fix spelling 2024-02-25 10:08:08 +01:00
Andreas Deininger bf13302d12 Fix several typos (#3491) 2024-02-25 10:08:08 +01:00
Nathaniel Wesley Filardo 5701347ff8 docs: node: point at telnet module now (#3489)
* docs: node: point at telnet module now

See 8d091c476e

* Fix links

Co-authored-by: Marcel Stör <marcelstoer@users.noreply.github.com>
2024-02-25 10:08:08 +01:00
Gregor 48d7cf9daa set windows and ubuntu versions of build VM to fixed version instead of latest 2024-02-25 08:36:40 +01:00
Marcel Stör f25dc56d3c Bump MkDocs 2021-12-30 08:46:20 +01:00
Michael Currin 0b9785585e Update PULL_REQUEST_TEMPLATE.md 2021-12-28 18:33:45 +00:00
Johan Ström b91368594d
MQTT: trigger conn failure callback if DNS success but connection failed (#3477) 2021-12-06 13:38:48 +01:00
Johny Mattsson 1965a12efc
Minor Lua fixes. (#3467)
Discovered over on the dev-esp32-idf4 branch.

- Off by one error in loadLFS, leading to slight memory leak and
  potential corruption.

- Insufficient return value check in loadLFS, where uzlib may return
  one of two success conditions, one of which would result in an
  out-of-bounds access and related pain.

- One case of a side effect within a lua_assert(), leading to
  silently broken LFS image handling when compiling without asserts
  enabled, the issue showing up as module names being shuffled around.

- Incorrect encoding of TValues in LFS when 64bit numbers in use.
2021-11-19 22:50:27 +01:00
Johan Ström f7b48b9214
Fix IGMP timer (#3476)
LWIP_RAND() return type is int, value returned is sometimes negative.
This causes timer to sometimes (often) go outside of max_time, which in turn causes IGMP snoopers or IGMP routers to drop the subscription
2021-11-19 22:47:54 +01:00
Johan Ström 77e5359087
ow: add alarm scans and timing tweaking (#3461) 2021-09-08 22:34:43 +02:00
Roger D. Winans 9b477e0aae
Update link to `flashchips.h` (#3464) 2021-09-08 07:58:38 +02:00
Marcel Stör a23a07a8f7
Bump to Ubuntu 20.04 (#3463)
Bump to Ubuntu 20.04
2021-09-07 23:24:55 +02:00
Lukáš Voborský c72d6083ef
Fix crash in sntp.sync() (#3460) 2021-08-27 12:09:43 +02:00
Marcel Stör bc9cba2430
Update RTD MkDocs (#3458) 2021-08-19 07:44:56 +02:00
Marcel Stör d2f08f54d2 Remove Travis CI remnants 2021-08-04 12:20:56 +02:00
Lukáš Voborský 949875d590
File LFS Lua module initial commit (#3332)
* File LFS module initial commit

* LFS file module update #1

* LFS file module update #2 - doc update and file.stat() returning read only attribute

* Implementing file.list()

* Fine-tuning `file_lfs` module

* Adding `file_lfs` to mkdocs.yml

* Implementing file.list() update #1

* Fine-tuning

* Fine-tuning #2
2021-05-06 06:52:39 +02:00
Michael Grünewald af689a606a
Fix i2c docs formatting (#3425) 2021-04-25 07:45:58 +02:00
黄文鉴 8e5109d46e
Add extra online XBM format converter (#3411) 2021-04-01 21:48:42 +02:00
Marcel Stör c8e2e18e4f Update docs/modules/node.md
Co-authored-by: Gregor Hartmann <HHHartmann@users.noreply.github.com>
2021-04-01 21:46:17 +02:00
Marcel Stör 34ad3370bd Document node.setonerror()
Fixes #3381
2021-04-01 21:46:17 +02:00
Marcel Stör 4f978118f5 Fix docs link 2021-03-17 21:29:50 +01:00
Lukáš Voborský d528333eee NmraDcc port to NodeMCU Lua
Merging @pjsg's ack functionalities and other fixes
2021-03-12 12:55:59 +01:00
Lukáš Voborský 3bf8db1306 NmraDcc upstream version 2021-03-12 12:55:59 +01:00
Gregor Hartmann e96078e6db
Handle impact of excluding pixbuf from build (#3398) 2021-02-14 08:41:17 +01:00
Marcel Stör 6643cb4697
Add note about GPL (#3400)
Fixes #3025
2021-02-14 08:40:16 +01:00
Marcel Stör e416045485 Add missing test board render 2021-02-03 22:57:01 +01:00
Marcel Stör b1af3fe0d6 Fix broken link 2021-02-03 22:45:05 +01:00
Marcel Stör 5e00b43000 Add missing periods 2021-02-03 22:25:56 +01:00
Marcel Stör 593a549eef Fix admonitions 2021-02-02 22:17:26 +01:00
Nathaniel Wesley Filardo 136e09739b Merge dev into release
While we intend our release strategy to be that we just fast-forward our
`release` branch to `dev`, things have come a little off the wheels.
This is a "git merge -s recursive -X theirs" of `dev` into `release`
instead.
2021-02-01 01:45:52 +00:00
Gregor Hartmann c212b30a03
Add Auto create release (#3385) 2021-01-25 15:27:17 +01:00
Fivefold 2f452b22b4
Doc update for bme280.lua (#3384)
- Changed the note about bme280_math dependency into a blue note box, like in the [bh1750 documentation](https://nodemcu.readthedocs.io/en/release/lua-modules/bh1750/)
- Added a paragraph on differentiating between BMP280 and BME280 sensors. It put it in an orange caution box for now, might be too visible for a rare problem.
- Small fixes in bme280.setup() description
2021-01-24 20:33:46 +01:00
Philip Gladstone fc1085084f
Add test board documentation (#3359) 2021-01-21 21:38:38 +01:00
Nathaniel Wesley Filardo 6316b33296
More NTest prep work for eventual test harness (#3353)
* Rename to tests/README.md

* Expand tests/README.md a bit

* NTest: remove report() in favor of named fields

Use a metatable to provide defaults which can be shadowed by the calling
code.

* NTest: remove old interface flag

I think we have few enough tests that we can verify not needing this
alert for ourselves.

* NTest tests: new standard prelude

Allow for NTest constructor to be passed in to the test itself.
The test harness can use this to provide a wrapper that will
pre-configure NTest itself.

* NTest output handler for TAP messages

* expect tests: core library functions

* expect tests: file xfer TCL module

* expect tests: add TAP-based test runner

* Begin documenting TCL goo

* Add .gitattributes to make sure lineends are correct ...

... if checked out under windows and executed under linux (say docker)

* tests/README: enumerate dependencies

* tests: more README.md

Co-authored-by: Gregor Hartmann <HHHartmann@users.noreply.github.com>
2021-01-16 21:26:22 +00:00
Nathaniel Wesley Filardo c3dd27cf9c
LiquidCrystal robustness and test (#3369)
* LiquidCrystal I2C 4-bit robustness

- Fix up some formatting
- Initialization is now more conformant with the datasheet.
- Read-backs don't needlessly (or erroneously!) store back

While here, document some unexpected behaviour of read-back commands.

* liquidcrystal i2c 4bit NTest
2021-01-13 02:36:00 +00:00
Nathaniel Wesley Filardo 109f500be7
More LED fixes (#3368)
* apa102: remove dead code

We can't store strings of hundreds of thousands of characters in RAM, so
this can't possibly have fired, historically.  Pixbufs are still RAM
objects, so that's still out.  With LFS, it would take a pathological
example to hit the required 400KB TSTRING.

* Add IRQ management functions

* ws2812: fill UART FIFOs with IRQs off

Refactor code to make the use of two fill loops less gross.
2021-01-10 17:19:10 +00:00
Gregor Hartmann 4023df7e60
fix regression in luaL_typerror and Change NTest so it can run tests on the host emulating node.task.post (#3357)
* Change NTest so it can run tests on the host emulating node.task.post
* Add executing first host test
* Regression: fix luaL_typerror
2021-01-09 22:25:22 +01:00
Gregor Hartmann 53fc7170bd
Add CI check to verify MkDocs menu items (#3367) 2021-01-08 23:39:47 +01:00