Johny Mattsson
4a47813e20
Reduced SPIFFS cache, freeing ~0.5k RAM.
...
Also made the cache on/off configurable via user_config.h. Uncached writes
are not a very good idea, but for read-only deployments a further ~0.5k RAM
can be gained by disabling the cache.
Tweaked the file.read() workhorse to read large chunks at a time rather
than use getc(), to compensate for potential unavailability of cache.
2015-07-31 18:15:18 +10:00
Bernd Meyer
595509a7f3
More sensible cjson realloc strategy.
2015-07-31 11:36:46 +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
Johny Mattsson
06724fbb17
Renamed SHA2 support option to SHA2_ENABLE per request.
2015-06-03 11:20:16 +10:00
devsaurus
3124bcf357
Merge remote-tracking branch 'upstream/dev' into dev
2015-03-15 22:06:30 +01:00
HuangRui
4e7473bc00
Fixed flash automatic detection bug. Support 128MBit flash.
2015-03-16 01:05:06 +08:00
devsaurus
b387ba93ec
introduce u8g_config.h
2015-03-12 21:50:57 +01:00
funshine
45f6abd448
merge coap
2015-03-06 16:24:55 +08:00
funshine
bbef457e50
seperate user_config.h to speed-up compile when modules disabled/enabled
2015-03-06 11:59:04 +08:00
Markus Gritsch
484dbf2683
Changed the ws2812 byte order from GRB to RGB
...
There seems to be interest in using the more intuitive RGB byte order to
specify the LED color. Also fixed the documentation.
2015-03-03 14:51:49 +01:00
Markus Gritsch
8432e8c8be
Changed the ws2812 byte order from GRB to RGB
...
There seems to be interest in using the more intuitive RGB byte order to
specify the LED color. Also fixed the documentation.
2015-03-03 10:20:02 +01:00
devsaurus
655b06b48e
Merge remote-tracking branch 'upstream/dev' into dev
2015-02-13 21:59:34 +01:00
funshine
fab1f9560a
revert LUA_BUFFERSIZE to 1024
2015-02-14 02:17:27 +08:00
funshine
6e840a453f
add node.compile() api
2015-02-13 15:11:59 +08:00
funshine
856b8553bf
comment out ws2812 temporary. remove node.led, node.key
2015-02-12 11:05:28 +08:00
HuangRui
22d096ce7c
Remove PRINTF_LONG_SUPPORT. It is useless now.
2015-02-12 01:23:35 +08:00
HuangRui
c7c88feae4
Add 8M and 16M fixed flash size options.
2015-02-11 21:01:57 +08:00
devsaurus
f2c881db18
Merge remote-tracking branch 'upstream/dev' into dev
2015-02-10 21:40:29 +01:00
HuangRui
0f09d23714
Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware
2015-02-10 22:27:21 +08:00
Vowstar
0fe694b10f
Merge pull request #192 from dereulenspiegel/ws2812
...
Add support for WS2812 based LED strips
2015-02-09 12:39:49 +08:00
Till Klocke
0950e48925
Added support for WS2812 LEDs as a new module
2015-02-05 18:40:46 +01:00
HuangRui
cca0de9b39
Align the code of c_math.c
2015-02-05 10:20:20 +08:00
devsaurus
0c9b6f0b6b
re-enable mqtt and ow
2015-02-05 00:02:16 +01:00
devsaurus
82e126eb95
Merge branch 'master' into dev
2015-02-04 22:00:57 +01:00
funshine
1740841e4f
fix #175
2015-02-05 01:42:14 +08:00
funshine
4754064ecf
add coap module, see fragment.lua for usage
2015-02-05 01:32:57 +08:00
devsaurus
9f0b167832
improve font handling
...
* macros established to build a table of fonts which get compiled into the image
* font data is mapped to irom0 to save dram space
* quirky function to retrieve font data 4-byte aligned from irom0
2015-02-04 00:08:39 +01:00
devsaurus
a2672113aa
* add u8glib
...
* initializer for SSD1306 display with I2C driver
* disabled mqtt and ow modules to avoid irom0_0_seg overflow
check ld script to increase size
2015-02-01 17:27:19 +01:00
devsaurus
33601462ef
add u8g module stubs
2015-02-01 17:27:19 +01:00
HuangRui
c39deb2a43
Turn floating point option ON.
...
Add pre_build/0.9.5/nodemcu_20150127.bin.
2015-01-26 22:25:43 +08:00
HuangRui
646eaec29c
Fixed LUA_NUMBER_INTEGRAL definition in user_config.h.
2015-01-26 19:57:54 +08:00
HuangRui
2e513a967e
Add floating point support for output.
...
Changed %.14g to %g.
Add c_sprintf definition.
2015-01-26 17:17:04 +08:00
HuangRui
530e964d95
Try to ENABLE floating point, lack %g support.
2015-01-26 04:15:54 +08:00
funshine
ad966146fc
migrate to sdk 0.9.5 release version
2015-01-24 23:36:04 +08:00
funshine
f676825872
merge mqtt branch to master and build pre_build bin
2015-01-23 11:48:05 +08:00
funshine
df3c82391f
add spi, and some minor fix
2015-01-18 11:46:15 +08:00
iabdalkader
3c16014641
Add SPI Module
...
* Add SPI support (master mode only)
* Issue #50
2015-01-16 22:41:34 +02:00
funshine
617574d441
fix eclipse project
2015-01-09 15:58:39 +08:00
funshine
971c4b569b
fix net.socket:send(), fix file.read() when 0xFF reached
2015-01-08 16:03:21 +08:00
funshine
b65fb02cc5
add file.format() to rebuild fs system, get more ram back
2015-01-07 15:57:17 +08:00
funshine
acd9d0dc97
deep optimizing ram usage
2015-01-07 01:15:38 +08:00
funshine
729603fae7
move some buffer to local
2015-01-06 19:01:34 +08:00
HuangRui
cb4a49e0db
Changed Makefile to support Windows xcc.
2015-01-05 13:15:59 +08:00
HuangRui
c04f2578ec
Updated SDK to v0.9.5 and optimized memory.
2015-01-05 10:09:51 +08:00
HuangRui
0420b6d72f
Add definition of NODE_STORE_TYPEDEF_ATTR and NODE_STORE_ATTR.
2015-01-02 17:56:34 +08:00
HuangRui
1b9479a650
Added NODE_STORE_ATTR __attribute__((aligned(4),packed))
2015-01-01 22:22:05 +08:00
HuangRui
65058bfacd
Auto generate BUILD_DATE.
2014-12-31 15:27:27 +08:00
funshine
04a5e67443
add node.info() to get version, chipid, flash info
2014-12-31 14:26:51 +08:00
HuangRui
715ff5b7aa
NodeMCU firmware can auto detect flash size now.
2014-12-31 02:47:44 +08:00
funshine
4cf5265ccc
deal with uart.on api when required char number is 0
2014-12-30 19:33:54 +08:00
funshine
dff406e575
build latest firmware, add pre_build/latest folder
2014-12-26 11:49:39 +08:00
funshine
f21908a65d
roll back user_config.h:(
2014-12-23 12:08:32 +08:00
funshine
8a40ef40a7
readme GNU toolchain not tested
2014-12-23 11:52:09 +08:00
funshine
cdd13b1af3
source file first commit, folder structure refact
2014-12-22 19:35:05 +08:00