Commit Graph

965 Commits

Author SHA1 Message Date
Lio李欧 310b5cde91 Added HW SPI and UART ports 2015-09-14 13:08:52 +10:00
Robert Foss 3a05c3e402 Moved CONST data to occupy flash, and remove storage instructions for functions. 2015-09-12 12:07:53 -04:00
Robert Foss 0f883b1842 Added ROM_CONST_ATTR attribute for forcing constants to live in flash. 2015-09-12 12:07:01 -04:00
Robert Foss e2ada487f3 Added ENDUSER_SETUP module.
The module will start a SoftAP, DNS, HTTP server acting as a captive portal.
The portal will have the SSID SetupGadget and will serve a website where
credentials for the end users WLAN can be submitted.

Once valid credentials have been submitted and used to connect to the
local WLAN this module will stop.

This module requires USE_DNS to enabled in dhcpserver.h
2015-09-10 18:40:39 -04:00
Jonathan karras 524cec539f Added mqtt clean session support. 2015-09-05 12:54:13 -06:00
Vowstar 0606d9c4a9 Merge pull request #629 from zunzu/dev
Fixed bug WIFI AUTH_OPEN #623
2015-09-01 15:27:45 +08:00
Jakub 52ef3c9102 Fixed bug WIFI AUTH_OPEN #623
Fixed a bug which prevented from setting unprotected AP
2015-08-31 17:53:38 +02:00
Vowstar 2775ca6ef0 Merge pull request #611 from Aeprox/devTSL2561
Implement TSL2561 module
2015-08-31 01:45:18 +08:00
aeprox 537cd68078 Made device package and address configurable at runtime 2015-08-23 15:59:49 +02:00
aeprox 0f6a0c59a1 Documentation update 2015-08-23 14:52:15 +02:00
aeprox fd93a09a88 Code formatting fixes 2015-08-23 02:29:52 +02:00
aeprox 0caf745d8e Improve lua API interface 2015-08-23 01:42:39 +02:00
aeprox 29ee02f680 Revert version change 2015-08-22 22:34:54 +02:00
aeprox 4df5d5c166 Fix channel1 reading
Give sensor more time to integrate (400ms => 404ms)
2015-08-22 21:43:29 +02:00
aeprox 7095c42477 Attempt to fix reading of registers 2015-08-22 21:19:27 +02:00
aeprox 159e9c6ace make modulename lowercase 2015-08-22 17:55:07 +02:00
aeprox d1758aee1b return correct number of variables 2015-08-22 17:54:26 +02:00
aeprox 483dbebe24 Return error when calling functions before init
TSL2561_ERROR_NOINIT
2015-08-22 14:26:42 +02:00
aeprox 335ea87964 Glue to integrate with nodeMCU
makefiles etc
2015-08-22 14:25:47 +02:00
aeprox 223a1c8b86 Small change 2015-08-22 12:46:53 +02:00
aeprox 6cb90ea924 First commit 2015-08-22 00:15:28 +02:00
Johny Mattsson 5a0f6a597f Merge pull request #608 from DiUS/onewire-powerup
Unbreak 1-Wire after the consts-to-flash change.
2015-08-21 11:34:46 +10:00
Johny Mattsson 346251dca6 1-Wire power fix, by Thomas Shaddack. 2015-08-20 11:09:12 +10:00
Vowstar 77297662fd Merge pull request #604 from kbeckmann/pr_bmp085_b5-fix
BMP085: Fix B5 calculation
2015-08-18 23:08:06 +08:00
Konrad Beckmann 1287a8cdd6 BMP085: Fix B5 calculation
B5 was calculated with some precision loss before.
2015-08-16 11:57:12 +02:00
Vowstar 40111c1046 Merge pull request #600 from devsaurus/dev-node_compile
Add write error detection in node_compile()
2015-08-11 09:36:35 +08:00
Vowstar c61c348558 Merge pull request #599 from devsaurus/dev
u8g: clean up code and list supported display types
2015-08-11 09:35:28 +08:00
devsaurus d0e6ab38df add write error detection in node_compile() 2015-08-11 00:08:49 +02:00
devsaurus ab872dd71b list supported u8glib display types 2015-08-10 22:15:27 +02:00
devsaurus ca1bc2cb18 clean u8g 2015-08-09 16:38:08 +02:00
zeroday 4a69d24205 Merge pull request #592 from devsaurus/dev
Fix u8g device destructor
2015-08-06 10:56:08 +08:00
devsaurus 02294955c5 Merge remote-tracking branch 'upstream/dev' into dev 2015-08-05 21:55:35 +02:00
devsaurus 9d8c3a7b82 fix u8g device destructor
don't free unallocated memory
2015-08-05 21:52:56 +02:00
Vowstar ad49c5dd3b Merge pull request #589 from kbeckmann/pr_bmp085
Implemented BMP085 module
2015-08-05 23:21:03 +08:00
Vowstar d97d7df8ec Merge pull request #588 from robertfoss/dev
Use #if instead of #ifdef.
2015-08-05 23:20:38 +08:00
Vowstar a1bb3a6ad8 Merge pull request #586 from DiUS/ram-saving
Reclaim ~1.5k RAM by tuning down SPIFFS cache, use dynamic DNS table names
2015-08-05 23:19:24 +08:00
Johny Mattsson 00527237f9 Remove now-unnecessary alignment constraints in SPIFFS.
With platform_s_flash_read() now properly handling unaligned destination
buffers, there is no need to shim SPIFFS any more.
2015-08-04 16:30:58 +10:00
Johny Mattsson 9f9b323fb5 Ensure flash write bounce buffer is used if source is also flash.
When using the flash write API, the flash is unmapped/uncached, and as
such it's not possible to source data directly from flash (e.g. string
literals).
2015-08-04 16:30:54 +10:00
Bernd Meyer 1259f8d776 Deal with unaligned destination parameter to flash read
(Occurs e.g. when SPIFFS cache is disabled.)

Implementation mirrors the existing handling in the write path.
2015-08-04 16:30:46 +10:00
Konrad Beckmann 0b28056959 Implemented BMP085 module 2015-08-03 17:07:56 +02:00
Robert Foss f9510eda49 Merge branch 'dev' of github.com:robertfoss/nodemcu-firmware into dev
Conflicts:
	app/lwip/app/dhcpserver.c
2015-08-03 01:15:20 +02:00
Robert Foss 93be1b7998 Merge branch 'dev' of github.com:robertfoss/nodemcu-firmware into dev
Conflicts:
	app/lwip/app/dhcpserver.c
2015-08-03 01:13:30 +02:00
Robert Foss 428d3b37e4 Merge branch 'dev' of github.com:robertfoss/nodemcu-firmware into dev
Conflicts:
	app/lwip/app/dhcpserver.c
2015-08-03 01:12:17 +02:00
Robert Foss 579dc27ee0 Use #if instead of #ifdef. 2015-08-03 01:09:49 +02:00
Robert Foss 8f05556ab9 Use #if instead of #ifdef. 2015-08-02 19:17:36 +02:00
zeroday 9e6c62aa4d Add notice to use json module in readme, due to the merged PR #584 2015-08-02 23:58:37 +08:00
zeroday c19596cae8 Merge pull request #581 from robertfoss/dev
Added USE_DNS define.
2015-08-02 23:40:37 +08:00
zeroday 53a035411e Merge pull request #584 from DiUS/cjson-lua-mem-wrap
Improvements to cjson memory handling, Note that when cjson fails a memory allocation, it leaks a bit of memory, it's possible to detect that it did fail, and schedule a restart.
2015-08-02 23:38:13 +08:00
zeroday 6751811ffb Merge pull request #585 from DiUS/hmac-key-fix
Fix for HMAC with long keys
2015-08-02 23:36:26 +08:00
Johny Mattsson 125db6595d Use dynamic memory for DNS table names, saving ~1k RAM. 2015-07-31 18:15:18 +10:00