devsaurus
e2d770627e
use git clone --recurse-submodules for local builds
2018-07-22 13:51:12 +02:00
devsaurus
15d4311f40
add docs
2018-07-22 13:51:12 +02:00
devsaurus
1f7593538f
remove u8g
2018-07-22 13:51:00 +02:00
Lukáš Voborský
3f8faf8e55
Update lfs.md
2018-07-18 22:51:14 +02:00
Lukáš Voborský
36029a08e1
Update lfs.md
2018-07-18 22:46:46 +02:00
Lukáš Voborský
c39891f9de
Adding "LFS Quick Start" section
2018-07-16 23:08:08 +02:00
Marcel Stör
cb694d59af
Add note about Lua mDNS client
2018-07-01 21:28:08 +02:00
TerryE
2ab061f510
merge current dev to resolve update conflcts in node.c
2018-06-22 22:44:19 +01:00
TerryE
4f21224d56
LFS patch updates following review II and testing
2018-06-22 22:29:16 +01:00
dnc40085
dd02faef27
Add function node.getcpufreq() ( #2375 )
2018-05-20 09:38:33 +02:00
Marcel Stör
53e44d5ece
Add reference to deep sleep post for details
2018-04-26 22:56:43 +02:00
dnc40085
6069ebdc90
Update node.dsleep() to support longer deep sleep duration. ( #2358 )
...
* Update node.dsleep() to support longer deep sleep duration.
* Updated documentation for node.dsleepMax()
2018-04-26 22:45:24 +02:00
Marcel Stör
5e1ca234cc
Fix config reference
2018-04-24 13:58:10 +02:00
Terry Ellison
6db7414270
Merge branch 'dev' into dev-LFS
2018-04-19 16:43:55 +01:00
TerryE
88bd9e01d3
LFS patch updates following review
2018-04-19 16:27:47 +01:00
Marcel Stör
f427951f79
Editorial fix
2018-04-18 19:58:20 +02:00
dnc40085
96e5c026a8
Refactor timer suspend portion of node.sleep (pmsleep) ( #2287 )
...
* pmsleep refactor
* Shortened swtmr disabled message
* Added swtimer debug module option to user_modules.h.
* Added comments to user_config.h.
* Fixed error in documentation for node.sleep()
* remove blank sntp.c that got added in during rebase onto dev(6218b92
)
* Added #ifdefs around SWTIMER_REG_CB to prevent inclusion of disabled
code
2018-04-13 21:41:14 +02:00
Johny Mattsson
085f35da73
Tie in the EGC with the SDK's heap knowledge. ( #2319 )
...
Added `node.egc.meminfo()` to expose LVM usage (to make the regular
`node.egc.ON_MEM_LIMIT` option usable).
Extended the `node.egc.ON_MEM_LIMIT` option to also take negative limits,
in which case that's taken as a request to keep a certain amount of heap
available for non-Lua use.
2018-04-06 14:52:03 +02:00
Marcel Stör
18f33f5ff1
Reformat Lua FAQ
...
Get rid off (bullet) list where easily possible
2018-04-02 11:00:28 +02:00
Petr Stehlík
b81963a86d
net socket documentation clarification in FAQ ( #2339 )
2018-04-02 08:35:34 +02:00
dnc40085
9af4f58417
Added functions wifi.getcountry() and wifi.setcountry() ( #2330 )
2018-03-31 09:06:18 +02:00
Marcel Stör
98d5b127e0
Fix node.stripdebug level numbers (Lua vs. C)
...
Fixes #2302
2018-03-28 22:38:44 +02:00
devsaurus
519d6df62c
update nodemcu version in README.md, build.md, flash.md
2018-03-24 11:13:13 +01:00
Philip Gladstone
c7006dfb27
Ignore lookup errors on sync request unless all lookups fail ( #2298 )
2018-03-21 07:02:25 +01:00
TerryE
4ae52c232c
Alpha working wersion for third party evaluation
2018-03-17 00:43:52 +00:00
TerryE
3d3eebfd67
Turn of x bit on some non-executable source files
2018-03-17 00:43:51 +00:00
Arnim Läuger
4367e6e9e0
remove deprecated init functions in adxl345, am2320, bme280, bmp085, hdc1080, hmc58831, l3g4200d, HDC1000, lm92 ( #2276 )
2018-03-12 07:56:07 +01:00
Nathaniel Wesley Filardo
5c8af3c452
Update mbedTLS to 2.7.0 ( #2267 )
...
* mbedtls 2.7.0 (mbedtls-2.7.0-0-g32605dc8)
Wholesale import, with a few changes from earlier preserved through.
Ideally we would soon get to the point of having no divergences from
upstream.
* tls: add function to adjust mbedTLS debug level
2018-03-03 23:28:26 +01:00
Marcel Stör
c8d2937fd5
Fix invalid table item key
...
Fixes #2275
2018-02-26 23:21:23 +01:00
Philip Gladstone
97e34ce520
Fix a number of issues with the gpio.pulse family of functions ( #2260 )
...
* Fix some subtle timing issues with gpio.pulse
* Add the pulse:update method
* Allow getstate to work on stopped pulsers
* Make gpio.mode(, gpio.OUTPUT) actually set the output mode
* Added some more documentation
2018-02-23 23:12:23 +01:00
Marcel Stör
1117e9ea65
Add tiny SQLite example
2018-02-15 23:37:11 +01:00
Marcel Stör
0bf035aadc
Fix gpio.pulse admonition
2018-02-15 07:10:20 +01:00
Marcel Stör
8d2c523aab
Fix WS2812 effects documentation
2018-02-13 12:34:04 +01:00
Marcel Stör
f404627428
Mention that PyFlasher now offers .dmg for macOS
2018-02-12 12:58:51 +01:00
Marcel Stör
5c65f2790d
Remove custom favicon from docs
...
All the changes are in preparation for an eventual MkDocs 0.17 upgrade
2018-02-11 23:22:15 +01:00
Pawel Jasinski
2a944026c5
introduced sign into read and startread ( #2246 )
...
in float build, uV and sign are included in mV
in int build, uV and mV are absolute, sign is -1, 0, 1
added rounding of uV values
added optional test function
2018-02-07 21:29:17 +01:00
Marcel Stör
555b5574a2
Add sjson streaming example
...
Fixes #2209 .
2018-02-04 12:45:27 +01:00
Pawel Jasinski
f87d68ff8f
added support for ads1015 ( #2231 )
...
* ads1015 is supported, up to 4 devices can be connected at the same time
* removed debug, updated documentation
* changed to oop API
* added __gc to handle active timer cleanup
* reworked argument validation and error reporting
* stack is no longer messed up after __del
2018-01-29 22:21:16 +01:00
Konrad Hübner
ed56d949ee
ws2812 effects library ( #2215 )
...
* ws2812 effects and color utils modules added
* Added documentation for new modules to mkdocs.yml
* changed mode option to string, documentation, default modules fixed
* updated user_modules.h
2018-01-23 21:05:04 +01:00
Marcel Stör
316a5fc566
With RTD the JS search seems no longer necessary
2018-01-21 23:58:58 +01:00
Luiz Felipe Silva
df930c2d03
Add sqlite3 module ( #2008 )
...
* add final sqlite3 patch
* remove unused defines, join caching code with esp vfs code to reduce exported symbols and shrink final file size
* Modules should by default be disabled and in alphabetical order
2018-01-10 22:45:56 +01:00
Philip Gladstone
ceadd30bca
Add support for the wifi monitor mode in the SDK ( #2204 )
2018-01-10 21:24:41 +01:00
Philip Gladstone
77fe51050a
Addition of gpio.pulse functions ( #2190 )
2018-01-10 21:08:39 +01:00
Arnim Läuger
0e491e869f
remove guidance to fall back to 1.5.4.1 for 512Kb modules ( #2222 )
2018-01-10 07:17:12 +01:00
Marcel Stör
e0f811dd2b
Fix the use of the term "Lua"
2017-12-25 11:40:33 +01:00
Marcel Stör
3747d7cbe0
Minor update flashing docs
2017-12-18 21:54:41 +01:00
Philip Gladstone
9aebc84b72
Add support of counting of interrupts ( #2149 )
...
* Add support of counting of interrupts
* Update the timestamp when interrupt happens during dispatch. Also
clear out interrupts when setting up a new callback
2017-12-17 21:42:54 +01:00
Marcel Stör
368c25db8b
Add WiFi mode documentation ( #2191 )
2017-12-17 15:48:57 +01:00
Philip Gladstone
ef91580c7b
Addition of a Bloom Filter object ( #2176 )
...
* Initial checkin
* Add bloom.md into mkdocs
* Added reset and improved info
* Update bloom.c
* Update bloom.md
* Add Wikipedia link
2017-12-03 13:10:59 +01:00
Lukáš Voborský
87a6a9bdb9
Add BME680 module ( #2151 )
2017-11-19 20:49:07 +01:00
Marcel Stör
a037e842b3
Enhance setmaxtxpower description
2017-11-19 20:21:29 +01:00
Mark Deneen
4af68d8360
WiFi method to adjust maximum TX power ( #2171 )
2017-11-19 20:00:20 +01:00
Mark Deneen
b2ce0e8581
fix example which is not intended to write to flash, but actually was ( #2174 )
2017-11-18 22:40:36 +01:00
Marcel Stör
ded599f8ba
Add missing admonitions ( #2107 )
...
Amends #2064
2017-10-19 10:00:41 +02:00
dbaumgarten
ec6ed6f868
Better documentation for mqtt:lwt() ( #2128 )
2017-10-06 00:31:41 +02:00
dnc40085
7946deadab
Added boolean return value for wifi.sta.sethostname ( #2079 )
...
- simplified wifi_change_default_host_name
- refactored code that checks hostname for compliance
2017-09-15 22:38:35 +02:00
Marcel Stör
4324ea0dcd
Correct typo
...
Fixes #2103
2017-09-14 20:46:22 +02:00
Marcel Stör
ce1712d1c1
Add additional note wrt rtctime
2017-08-31 22:57:32 +02:00
Marcel Stör
ee3d72f5f2
Fix markdown syntax
2017-08-31 22:55:11 +02:00
Marcel Stör
9f022e9856
Manually applying changes from #2093
2017-08-31 22:46:57 +02:00
Marcel Stör
082015ebdc
Add doc link for bootreason EXCCAUSE
2017-08-27 21:26:14 +02:00
Marcel Stör
0a11e84f36
Add note to BME280 docs
...
A delay is required between `setup` and reading from sensor.
Fixes #1994 .
2017-08-22 22:22:36 +02:00
Marcel Stör
003c2453c3
Add note to mqtt:subscribe
...
Fixes #2039
2017-08-22 22:05:24 +02:00
Marcel Stör
c4440e47ba
Link ds18b20 C/Lua module docs
2017-08-16 21:32:04 +02:00
fetchbot
d079b842a8
add ds18b20 module ( #2003 )
...
* add ds18b20 module
* add intitial eeprom value definition
* adjust read() function and address handling
2017-08-16 21:04:23 +02:00
wolfg
61562b45bd
Fix typo in code sample ( #2063 )
2017-08-05 22:10:49 +02:00
Philip Gladstone
d93465cd86
Add tracking and control of the rate error in the clock crystal. ( #1697 )
...
* Improve RTC timekeeping -- includes clock rate tracking
* Improved division by 1M
* Fix crash in sntp
* Disable RTC debug
* Get the offset correct
* Add comments on where the mysterious numbers came from
* Fix a crash with auto repeat mode and errors on repeat
2017-07-18 22:51:20 +02:00
dnc40085
9edcce5b44
Update wifi.sta.config to save configuration to flash by default ( #1998 )
2017-07-08 22:51:33 +02:00
dnc40085
2e33abe198
Modify wifi.sta.get*config() to return AP's MAC ( #2026 )
...
* Modified wifi.sta.get*config() to return AP's MAC even if bssid_set==0
* Improved documentation for wifi.sta.getapinfo, fixes #2025
2017-07-08 22:49:02 +02:00
Marcel Stör
4ce2d68301
Add missing period
2017-07-01 18:32:44 +02:00
Gregor Hartmann
15b4fa24fd
Call HTTP callback in all cases ( #2020 )
...
* fix 2007 Call callback in all cases, call callback with errorcode -1 if no connection could be establioshed
* change logging from ERR to DEBUG
* make debug output more clear (hopefully)
* add handling of errors to docs, note error handling on every call instead of only in the main documentation
2017-07-01 18:29:54 +02:00
dnc40085
4095c26bd0
Update documentation for wifi.sta.setaplimit() ( #2017 )
2017-06-28 10:02:09 +02:00
Marcel Stör
583afc0f33
Remove hardware FAQ, fixes #2015
2017-06-27 17:17:28 +02:00
Arnim Läuger
26df4a32ad
Change default flash mode to 'dio' in fw image header ( #2013 )
2017-06-25 20:41:36 +02:00
Terry Ellison
827642b49a
Version 2.0 of the Lua Develoer FAQ ( #1899 )
2017-06-19 07:47:02 +02:00
dnc40085
2c553583ea
Fixed incorrect documentation for wifi.sta.setaplimit ( #1986 )
2017-05-24 09:37:21 +02:00
dnc40085
e90ffb4266
Add mcp4725 module ( #1966 )
2017-05-21 16:30:26 +02:00
dnc40085
169cb69ee2
Add event callbacks to wifi.sta.config() and wifi.ap.config() and more ( #1903 )
...
* Add event callbacks to wifi.sta.config() and wifi.ap.config() and more
Added option to register event callbacks during configuration of both
station and AP.
Added option to register event callbacks to `wifi.sta.connect()` and
`wifi.sta.disconnect()`
* Add note about event registration to wifi module documentation
Other minor changes to wifi documentation are also included
* Add more detail to documentation for wifi.sta.config()
2017-05-21 16:18:56 +02:00
dnc40085
7b1f0223ad
Removed wifi station event monitor ( #1900 )
...
The following functions were removed:
- `wifi.sta.eventMonReg()`
- `wifi.sta.eventMonStart()`
- `wifi.sta.eventMonStop()`
The corresponding documentation has also been removed
This PR addresses issue #1893
2017-05-21 16:17:54 +02:00
Arnim Läuger
7dae5236e6
Deprecate xyz.init() in favor of xyz.setup(), removing inherent i2c configuration ( #1887 )
2017-05-21 16:17:29 +02:00
Arnim Läuger
787379f0f5
Merge branch 'master' into dev
2017-05-21 09:34:31 +02:00
Arnim Läuger
4e4dfc1d88
Align 8 MB & 16 MB flash sizes with SDK 2.1.0. ( #1968 )
...
* align 8MB and 16MB auto flash support with sdk 2.1.0
* remove SAFE_API
* fix flash size mismatch detection logic
2017-05-16 16:50:36 +02:00
dnc40085
447fcd397d
Exposed wifi event OPMODE_CHANGED. ( #1967 )
2017-05-15 09:05:22 +02:00
Arnim Läuger
c4516f1a17
Upgrade to SDK 2.1.0. ( #1962 )
2017-05-11 07:13:23 +02:00
Frank Exoo
3aef438aa0
Documenting creating integer build ( #1961 )
2017-05-08 13:39:27 +02:00
fetchbot
faefc09595
add ads1115 module ( #1942 )
...
* add ads1115 module
* replace os_delay with os_timer
* typo
2017-05-07 09:49:57 +02:00
dnc40085
cba40213c6
Update AP_PROBEREQRECVED example message ( #1956 )
...
The example for the eventmon registration for AP_PROBEREQRECVED was displaying "STATION DISCONNECTED" when it should say "PROBE REQUEST RECEIVED".
2017-05-06 12:32:56 +02:00
Marcel Stör
cceb770d67
Add a few tiny corrections
2017-05-05 13:39:13 +02:00
dnc40085
e491f4b743
Update init.lua example to use new wifi.sta.config() implementation ( #1953 )
...
* Update init.lua example in upload.md with new station config format
* Fixed typo in description of wifi.eventmon.register()
* Fixed typo and improved example init.lua in docs/en/upload.md
2017-05-05 13:28:45 +02:00
Marcel Stör
201ba9c959
Put functions in alphabetical order
2017-04-30 20:08:37 +02:00
fetchbot
8668239640
add si7021 module ( #1921 )
...
* add si7021 module
* add settings function for resolution and heater
2017-04-27 23:16:33 +02:00
dnc40085
9dbae1c963
Expose UART 1 ( #1934 )
...
* Expose UART 1 and update uart module documentation
2017-04-24 22:06:54 +02:00
dnc40085
f5fac7a19e
Updated documentation and example for wps.start() ( #1933 )
2017-04-24 09:59:30 +02:00
Marcel Stör
572e4235fb
Unwind bit.ly link
2017-04-22 22:57:37 +02:00
Marcel Stör
ef1654fa1e
Add 'connection: close' note
2017-04-21 07:49:27 +02:00
Metin KOC
9d11543fa9
Hdc1080 Module Add ( #1880 )
...
* Hdc1080 Module Add
* for Float/Integer Build fixes
* disable module for default
* document fix
* Deprecate init() in favor of setup()
* Fix grammar and code sample
* Deprecate init() in favor of setup()
* Update hdc1080.md
* Update hdc1080.md
* Mini fix
* Update user_modules.h
2017-04-20 22:23:51 +02:00
tjhowse
d777fdc50a
Add module for TCS34725 colour sensor. ( #1895 )
...
* Add module for TCS34725 colour sensor.
* Fix implicit return.
* Fix timer disarm after init completion callback.
* Rework init() into setup() as per PR#1887.
* Add new module to mkdocs and user_modules.
* Fix unclear debug messages.
* Documentation updates.
* Cleanup comments and formatting.
* Don't auto-enable the sensor.
* Add callback function to enable.
* Simplify Read16.
* Remove Lua state argument to enable callback.
* Remove self_ref.
2017-04-19 20:16:27 +02:00
flip111
3f787ac421
Update telnet link ( #1918 )
2017-04-18 21:04:36 +02:00
dnc40085
84c5275c37
Moved the documentation for wifi.nullmodesleep to the correct spot ( #1913 )
2017-04-17 13:45:32 +02:00
dnc40085
971627f3d3
Fix admonition formatting error in wifi module docs added with #1910 ( #1912 )
...
* Fix admonition formatting error in wifi module docs added with #1910
Modified documentation for:
wifi.suspend()
wifi.resume()
* More wifi documentation changes
2017-04-17 08:27:12 +02:00