nodemcu-firmware/app
HuangRui 5894df1da6 Combined dsleep_set_options(option) to dsleep( us, option )
* dsleep( us, option )
Hardware has to support deep-sleep wake up (XPD_DCDC connects to EXT_RSTB with 0R). system_deep_sleep(0) ,set no wake up timer,connect a GPIO to pin RST, the chip will wake up by a falling-edge on pin RST.
** us: Integer
time to sleep.
if us = 0, it will sleep forever.
** option: Integer
option=0, init data byte 108 is valuable;
option>0, init data byte 108 is valueless.
More details as follows:
0, RF_CAL or not after deep-sleep wake up, depends on init data byte 108.
1, RF_CAL after deep-sleep wake up, there will belarge current.
2, no RF_CAL after deep-sleep wake up, there will only be small current.
4, disable RF after deep-sleep wake up, just like modem sleep, there will be the smallest current.
2015-01-29 14:21:38 +08:00
..
driver migrate to sdk 0.9.5 release version 2015-01-24 23:36:04 +08:00
include Turn floating point option ON. 2015-01-26 22:25:43 +08:00
json source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
libc fix string.format, maybe partialy 2015-01-27 21:48:44 +08:00
lua Add floating point support for output. 2015-01-26 17:17:04 +08:00
lwip migrate to sdk 0.9.5 release version 2015-01-24 23:36:04 +08:00
modules Combined dsleep_set_options(option) to dsleep( us, option ) 2015-01-29 14:21:38 +08:00
mqtt merge mqtt branch to master and build pre_build bin 2015-01-23 11:48:05 +08:00
platform add spi, and some minor fix 2015-01-18 11:46:15 +08:00
smart Updated SDK to v0.9.5 and optimized memory. 2015-01-05 10:09:51 +08:00
spiffs fix alignment 2015-01-27 21:02:54 +08:00
ssl deep optimizing ram usage 2015-01-07 01:15:38 +08:00
upgrade Fix UPGRADE_DBG when in DEVELOP_VERSION. 2015-01-27 13:48:10 +08:00
user move nodemcu init stage after user_init(), rebuild bin 2015-01-23 13:25:54 +08:00
wofs Updated SDK to v0.9.5 and optimized memory. 2015-01-05 10:09:51 +08:00
.gitignore source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
Makefile fix #132, #113, switch to lib/libssl.a 2015-01-27 20:47:41 +08:00