Johny Mattsson
52e121f469
Merge pull request #887 from vowstar/dev-all-in-one
...
Add HTTP client module and documents.
2016-01-15 17:44:41 +11:00
Huang Rui
88bae3ed22
Remove all version data and combine 33 commits to 1.
...
Add http module and documention, including fix httpclient bug.
2015-12-29 19:25:37 +08:00
Johny Mattsson
a6c0873a28
Upgrade to SDK 1.5.0 + Espressif's Open LWIP 1.5.0.
...
Removed earlier TCP port randomisation fix - the new SDK has its own fix
even though Espressif told me they wouldn't fix it. Yay?
2015-12-23 11:17:05 +11:00
Johny Mattsson
9003d3e8fb
Rework NODEMCU_MODULE() to not pull in extra gunk.
...
Third time lucky. I hope. Hi Terry.
2015-12-18 13:10:48 +11:00
Johny Mattsson
7e02935a27
Deal with ld's overly eager discarding of globals.
2015-12-17 12:37:01 +11:00
Johny Mattsson
6b6456be47
Major cleanup of module registration.
...
As per #810 & #796 , only LUA_OPTIMIZE_MEMORY=2 & MIN_OPT_LEVEL=2 are
supported when building. This commit effects that limitation.
With this change modules/auxmods.h no longer needs to be updated for
every new module, nor do module writers need to cater for a hypothetical
LUA_OPTIMIZE_MEMORY < 2 scenario.
2015-12-12 15:03:40 +11:00
Johny Mattsson
711d464a2b
Re-enabled open source LWIP.
2015-10-12 13:26:05 +11:00
Johny Mattsson
67a711931a
Switch to SDK LWIP until issues with the open one can be resolved.
2015-10-12 13:26:05 +11:00
Johny Mattsson
30380f6cff
Further cleanup of ld directory.
...
Renamed the main linker script to make it clear it is customised for NodeMCU
and not to be confused with the standard linker SDK linker scripts.
Changed to using the eagle.rom.addr.v6.ld file from the SDK.
2015-10-12 13:26:04 +11:00
Johny Mattsson
8bdde6e28d
Sorted out linker scripts & options.
...
Now boots to Lua prompt, but promptly reboots itself before input.
2015-10-12 13:26:04 +11:00
Johny Mattsson
c1cd58e096
Build using 1.4.0 SDK + remove old SDK includes/libs.
...
Leaving the linker scripts intact for now, as they're quite customised.
2015-10-12 13:00:38 +11:00
devsaurus
6dc0dfc068
import ucglib v1.3.3
...
https://github.com/olikraus/Ucglib_Arduino
2015-09-17 21:53:47 +02:00
aeprox
fd93a09a88
Code formatting fixes
2015-08-23 02:29:52 +02:00
aeprox
335ea87964
Glue to integrate with nodeMCU
...
makefiles etc
2015-08-22 14:25:47 +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
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
515a7bf1ab
Add dhtlib for DHT11/21/22/33/44, port from Arduino.
2015-06-17 16:30:12 +08: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
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
robertfoss
4c2ad0f545
Add -Os flag to release and debug builds
...
To fit the build on boards with 512K of flash, build using -Os flag.
2015-05-14 11:27:43 -04:00
funshine
9c0c960e84
json port from cjson. not work yet
2015-03-16 09:00:33 +08:00
funshine
45f6abd448
merge coap
2015-03-06 16:24:55 +08:00
funshine
13b08cdacf
add macro to control built-in lib for lua, add libm.a
2015-03-06 15:55:24 +08:00
funshine
4754064ecf
add coap module, see fragment.lua for usage
2015-02-05 01:32:57 +08:00
devsaurus
18a44e7c60
reduce executable size (-fdata-sections and -Wl,--gc-sections)
2015-02-02 22:48:15 +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
funshine
425e664114
fix #132 , #113 , switch to lib/libssl.a
2015-01-27 20:47:41 +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
Peter Magnusson
32ea83c224
adjustments for esptool.py.
...
Can now do make && make flash directly from root.
2015-01-10 21:53:29 +01:00
funshine
2709258c44
using esptool.py in all platform, fix makefile on windows
2015-01-11 04:11:40 +08:00
Simon John
a1e9e58a1e
Vastly simplified generating and flashing firmware.
...
Uses the new elf2image features of esptool.py to do away with the
myriad of shell scripts and binaries.
Fixed permissions on esptool.py
2015-01-10 12:30:52 +00: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
funshine
cdd13b1af3
source file first commit, folder structure refact
2014-12-22 19:35:05 +08:00