Commit Graph

935 Commits

Author SHA1 Message Date
devsaurus 947068cd8b Merge pull request #3 from DiUS/loadnon32
Loadnon32
2015-06-24 23:28:01 +02:00
Luna ba39d0961a tottaly found a bug 2015-06-24 23:01:58 +02:00
Luna 6f7542c1a9 working lua impl. of base64 2015-06-24 22:50:20 +02:00
Luna 5ca807d7a1 fixed net.dns.getdnsserver() and added wifi.ap.getconfig() 2015-06-24 22:38:37 +02:00
Marcel Stör 0ea12bdd3a Keep SDK internally rather than fetching the one from GeorgHahn, fixes #497 2015-06-24 21:47:34 +02:00
Johny Mattsson b0f9788a6d Move constants to ROM. Frees up 16k+ of RAM.
Accessing 8bit and 16bit constants from ROM rather than RAM comes with a
performance cost, as these loads go through the load/store exception
vector. Any performance critical constants can be forced back into RAM
as RAM_CONST_ATTR.

The entry point has changed from call_user_start() to user_start_trampoline()
in order for the exception handler to be installed early enough.
2015-06-23 15:41:14 +10:00
Johny Mattsson 0c924e56c6 Support for loading sub-32 wide data from irom. 2015-06-23 15:41:14 +10:00
Vowstar 58081e59b1 Add section Write Lua script to filesystem 2015-06-22 18:39:15 +08:00
Vowstar a41a9cc778 Add Marcel's NodeMCU custom builds service. 2015-06-22 18:26:54 +08:00
Vowstar 972a6229e0 Merge pull request #492 from nodemcu/dev
Merge dev to dev096
2015-06-20 19:16:41 +08:00
Vowstar 74901c566b Merge pull request #491 from MarsTechHAN/dev
@jorgempy We change the API of DNS callback format back
2015-06-20 19:15:29 +08:00
MarsTechHAN 04c03b00ae @jorgempy We change the API of DNS callback format back
Make the net api universe  Callback Format -> function(conn,ip)
2015-06-20 19:10:01 +08:00
vowstar 75c3cf29c2 Disable interrupts while communicating with DHTxx. 2015-06-20 02:08:20 +08:00
Vowstar 234885e365 Merge pull request #490 from nodemcu/dev
Merge dev to dev096
2015-06-20 01:54:54 +08:00
Vowstar 5c84ea1b74 Merge pull request #489 from nodemcu/revert-488-dev
Revert "Merge dev to dev096"
2015-06-20 01:50:47 +08:00
Vowstar 90ca92ca6e Revert "Merge dev to dev096" 2015-06-20 01:50:29 +08:00
Vowstar dfc4687293 Merge pull request #488 from nodemcu/dev
Merge dev to dev096
2015-06-20 01:49:28 +08:00
vowstar 3430e5f826 Add __attribute__((optimize("O2"))) to ws2812 module. 2015-06-20 01:40:45 +08:00
vowstar cda7992c1a Fix DHTLIB bug of DHT22, DHT21, DHT33, DHT44. 2015-06-20 00:26:59 +08:00
vowstar c56659e84d Using __attribute__((alias("dht_read"))) reduce code size. 2015-06-19 01:05:19 +08:00
vowstar 87341547d7 Update DHTlib, supported DHT11 or DHTxx automatic detection.
Using @MarsTechHAN 's method.
New usage:
status, temp, humi, tempdec, humidec = dht.read( id )
print( dht.read( id ) )
= dht.read( id )
2015-06-18 20:53:52 +08:00
Vowstar 0186758ce1 Merge pull request #485 from nodemcu/dev
Merge dev to dev096
2015-06-18 18:13:16 +08:00
vowstar 98a2c9fdb6 Align all TAB=8 in app/Makefile, make sure it fit for github display. 2015-06-18 17:36:27 +08:00
vowstar af56aea1e8 Update dhtlib api, support both integer and float version. 2015-06-18 17:19:55 +08:00
vowstar 899935e60b Add DHT Lua Module for interfacing with the DHTxx sensors (xx = 11-21-22-33-44). 2015-06-18 16:31:40 +08:00
vowstar 515a7bf1ab Add dhtlib for DHT11/21/22/33/44, port from Arduino. 2015-06-17 16:30:12 +08:00
Vowstar dceed526c9 Merge pull request #470 from nodemcu/dev096
* Update SDK to 0.9.6
* Fix some bugs
* Update examples
* Add crypto module by @creationix
2015-06-17 11:31:13 +08:00
Orgmar b0a4e4d3e9 Changed BUILD_DATE. 2015-06-17 00:16:57 +08:00
Orgmar 07543a074b Merge branch 'dev096' of https://github.com/nodemcu/nodemcu-firmware into dev 2015-06-17 00:15:05 +08:00
Vowstar 9b7728160f Merge pull request #478 from NodeUSB/dev096
Dev096 - 433MHz transmit code
2015-06-17 00:13:00 +08:00
Mike Wen d955c8815b add 433MHz transmission 2015-06-11 18:07:16 -04:00
Mike Wen 7df0a45b07 add 433MHz transmission 2015-06-11 18:05:27 -04:00
Mike Wen a8622795a7 add 433MHz transmission 2015-06-11 18:05:18 -04:00
Vowstar 8044014f96 Merge pull request #471 from nodemcu/dev
Merge dev into dev096
2015-06-08 14:04:28 +08:00
HuangRui 47bbbb8d38 Merge branch 'dev096' of https://github.com/nodemcu/nodemcu-firmware into dev 2015-06-08 13:43:05 +08:00
Vowstar c5a07d4327 Merge pull request #469 from cal101/dev
Problem with multiple MQTT subscriptions #459
2015-06-08 11:23:43 +08:00
cal 9dc71cfec0 Trying to fix
Problem with multiple MQTT subscriptions #459
	https://github.com/nodemcu/nodemcu-firmware/issues/459

Fix possible wrong buffer pointer increment.
2015-06-07 12:45:55 +02:00
Vowstar ef4e6fa95f Merge pull request #467 from DiUS/newcrypto
Crypto module improvements
2015-06-05 13:01:38 +08:00
Vowstar 3118fa5761 Merge pull request #465 from cal101/dev096
Fix Problem with multiple MQTT subscriptions #459
2015-06-05 13:00:59 +08:00
Johny Mattsson 7867fd083c Move crypto things to irom0.text segment.
This releases 1168 bytes back to the heap.
2015-06-05 13:03:08 +10:00
Johny Mattsson 223a936779 Switched crypto module to use ROM SHA1/MD5.
Also disabled MD2 support by default (see MD2_ENABLE in user_config.h).
2015-06-05 12:12:24 +10:00
cal fdcb982351 Trying to fix
Problem with multiple MQTT subscriptions #459
	https://github.com/nodemcu/nodemcu-firmware/issues/459

Fix possible wrong buffer pointer increment.
2015-06-04 11:46:20 +02:00
HuangRui 3cd5a6a1ed Merge branch 'master' of https://github.com/bruceme/nodemcu-firmware into dev
Conflicts:
	app/modules/net.c
2015-06-04 15:04:12 +08:00
Vowstar 18e84623c5 Merge pull request #463 from DiUS/newcrypto
Crypto module, take 2
2015-06-03 22:02:11 +08:00
Vowstar 1eea5ab1a0 Merge pull request #460 from dnc40085/dev096_wifi.sta.getap_output_select
Added option to wifi.sta.getap to allow changing output format
2015-06-03 22:01:46 +08:00
Johny Mattsson d855584bae Fixed off-by-one error from refactoring. 2015-06-03 17:20:55 +10:00
Johny Mattsson 06724fbb17 Renamed SHA2 support option to SHA2_ENABLE per request. 2015-06-03 11:20:16 +10:00
Johny Mattsson 2d1e69151e Extended Lua crypto module with hash & hmac. 2015-06-02 18:17:30 +10:00
Johny Mattsson 32dd9b7b7a Crypto library with unified interface.
Uses both existing MD2/MD5/SHA1 and the Gifford SHA256-512, unless WITHOUT_SHA2
is defined.
2015-06-02 18:15:18 +10:00
Johny Mattsson 68ef22ace5 Imported Aaron Gifford's SHA{256,384,512} implementation. 2015-06-02 17:02:14 +10:00