Commit Graph

2411 Commits

Author SHA1 Message Date
Marcel Stör cb694d59af Add note about Lua mDNS client 2018-07-01 21:28:08 +02:00
Marcel Stör 8dc6eb62df Update comments 2018-06-30 21:50:38 +02:00
Marcel Stör 784058fa11 Work around RTD issue with new MkDocs 2018-06-30 21:13:15 +02:00
Marcel Stör 3f396cba22 Fix TOC structure and LCD/LFS links 2018-06-30 12:27:59 +02:00
Terry Ellison 27a83feb52
Merge pull request #2301 from TerryE/dev-LFS
LFS evaluation version -- second release
2018-06-29 12:21:32 +01:00
TerryE a3c2f48fc9 Fix makefile whitespace as per dnc40085 review 2018-06-26 15:54:56 +01:00
TerryE 17ae6e20c7 Fix Travis build failure 2018-06-23 00:37:31 +01: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
Marcel Stör 8181c3be7a
Update ISSUE_TEMPLATE.md 2018-06-22 12:10:42 +02:00
Terry Ellison 8b84445aef
Merge pull request #2391 from nodemcu/dev
Next master snap
2018-06-08 13:30:19 +01:00
Gergo Huszty 2cc195d5c9 webap_toggle_pin.lua HTML warnings and typos fixed (#2394) 2018-06-04 13:16:20 +02:00
Terry Ellison 994e8faa2b
Merge pull request #2383 from dnc40085/dev_file.read()_retval_fix
Fix for lack of nil return in file.read() when EOF is reached
2018-05-27 10:52:25 +01:00
Arnim Läuger 7a54ae06c7 Set safe defaults for scan config (#2378) 2018-05-22 14:55:14 +02:00
dnc40085 07ced63969 Dev wifi/wifi_eventmon malloc/free update (#2318)
* updated wifi_eventmon to store events in LUA_REGISTRYINDEX

* updated wifi_eventmon debug comments

* Updated wifi.c to remove c_free()

In wifi_ap_listclient(app/modules/wifi.c), c_free() was replaced with
wifi_softap_free_station_info()

* Removed unnecessary line of code from app/modules/wifi_eventmon.c
2018-05-20 09:46:04 +02:00
dnc40085 dd02faef27 Add function node.getcpufreq() (#2375) 2018-05-20 09:38:33 +02:00
dnc40085 cbcb1b1a9f Fixed lack of nil return in file.read() when EOF is reached 2018-05-18 22:08:42 -07:00
Arnim Läuger 914a4afc96 Fix MQTT connect leak (#2368)
* fix application of patch 0018-feat-espconn-Modification-for-espconn.patch in #2269
espconn_tcp_reconnect() was removed instead of espconn_list_delete()
2018-05-15 20:55:31 +02:00
dnc40085 106841c26c Add message indicating that node.sleep() was disabled during build. (#2367) 2018-05-08 22:43:12 +02:00
dnc40085 6a261aecdb Fixed bug that caused crash when printing wifi.suspend disabled msg (#2365) 2018-05-07 13:55:59 +02:00
Terry Ellison 3ec252df6a
Merge pull request #2357 from dnc40085/dev_cb_register_task_id_fix
Fixed coding errors in app/pm/swtimer.c
2018-04-27 19:19:35 +01:00
Terry Ellison 45fea23d66
Merge pull request #2322 from peturdainn/peturdainn-patch-1
fix for ds18b20 negative decimals
2018-04-27 11:35:07 +01: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
dnc40085 da2bc7395d Changed out of memory response from system halt to system restart 2018-04-22 22:18:36 -07:00
dnc40085 2735426fc0 Removed pragma defines that were mistakenly left in 2018-04-22 22:02:55 -07:00
dnc40085 2e201cd835 Fixed coding errors in app/pm/swtimer.c 2018-04-22 18:36:23 -07:00
TerryE 4f7af452a8 corrections to dev merge 2018-04-20 02:34:52 +01: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
Terry Ellison 4c3d501b58
Merge pull request #2353 from pjsg/fix-rotary
Missed setting the ID into the data block
2018-04-13 06:31:09 +01:00
philip 81435ceecf Missed setting the ID into the data block 2018-04-12 22:09:52 -04:00
Philip Gladstone cda8da622d Put each ICACHE_RAM_ATTR function in its own section. (#2334)
* Put each ICACHE_RAM_ATTR function in its own section.

* Chached the macro names to be less likely to cause problems
2018-04-07 22:44:42 +02:00
Marcel Stör cb2808835d Fix Markdown syntax issues, fixes #2347 2018-04-06 17:35:23 +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 67027c0d05
Merge pull request #2340 from nodemcu/dev
2.2 master snap
2018-04-02 20:20:01 +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
Terry Ellison 477116f79f
Merge pull request #2320 from TerryE/devLuaStackFix
Fix Lua stack corruption problem
2018-03-26 18:22:15 +01:00
TerryE d78c54accd Fix Lua stack corruption problem 2018-03-26 03:44:10 +01:00
petur a1e02fc6a8
fix for ds18b20 negative decimals
ds18b20 decimals do not take into account the sign bit. Since the original calculation was not so readable, rewritten in readable way that also fixes the bug. Same code as PR against master.
2018-03-25 22:56:01 +02:00
devsaurus 519d6df62c update nodemcu version in README.md, build.md, flash.md 2018-03-24 11:13:13 +01:00
Arnim Läuger 3db6479c3c Patch SDK to 2.2.x branch, commit f8f27ce (#2312) 2018-03-24 09:29:49 +01:00
Arnim Läuger 6218b9263b
initialize new memebers in station_config and scan_config (#2309)
Initialize new members in station_config and scan_config
2018-03-23 07:27:31 +01:00
Arnim Läuger f8311855d1 revert os_delay_us() usage to uint32 (#2310) 2018-03-21 07:04:59 +01:00