Commit Graph

1041 Commits

Author SHA1 Message Date
Johny Mattsson 67e72c45df Imported RTC FIFO component + added Lua interface.
The rtcfifo module uses RTC memory to store sensor samples across deep-sleeps,
making it possible to batch up samples for less frequent uploads. This
component uses 9 RTC memory slots for control, and a variable number of
slots for sample storage (see rtcfifo.prepare() on how to control the
size/location of the latter).

When used together with the rtctime module, it also exposes the convenience
function rtcfifo.dsleep_until_sample() which can be used to easily take
readings on a regular basis without having to manually take into account
time spent awake to get an accurate sleep time.

The format used for storing samples is quite dense, and allows for 16 bits
of data in a fixed point format (per sample).
2015-07-10 15:12:31 +10:00
Johny Mattsson 2187424928 Imported RTC+sleep timekeeping from an internal DiUS project.
Added Lua module rtctime to interface with it.

This keeps as accurate time as is possible on the ESP8266, including across
deep sleeps (provided rtctime.dsleep() is used rather than node.dsleep()).
Intended to be used together with NTP for high accuracy time keeping. The
API is via rtctime.{get,set}timeofday(), working from Unix epoch.

Note that 160MHz CPU clock is not currently supported by the rtctime code,
as it is only aware of the 52MHz boot clock and the regular 80Mhz default
clock.

See rtctime.h for detailed info on how this all works.
2015-07-10 15:12:31 +10:00
Johny Mattsson 1a613effeb Imported RTC access from a DiUS internal project.
Added Lua access module named "rtcmem" for read/write of RTC user module.
2015-07-10 15:10:15 +10:00
Johny Mattsson 6ad2666182 Declare wifi.ap.getconfig() in the right map. 2015-07-10 14:01:38 +10:00
vowstar 67d785ffec Restore default data and init data before system restore. 2015-07-04 04:27:59 +08:00
vowstar b6e431ebed Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware into dev 2015-07-04 03:55:02 +08:00
vowstar 89aaf475d0 Add node.restore().
If NodeMCU can't connect Wi-Fi, please use it.
After reboot, all will be OK.
RESTORE ITEMS:
wifi_station_set_auto_connect, wifi_set_phy_mode, wifi_softap_set_config,  wifi_station_set_config, wifi_set_opmode.
2015-07-04 03:54:22 +08:00
Vowstar f5938dfe17 Will made some modules default off.
Need discussion. And turn off some modules by default.
May our community should build more version?
2015-07-04 02:51:41 +08:00
Vowstar 5279dc9dfc Merge pull request #525 from kbeckmann/ws2801_disable_default
Disabled WS2801 module
2015-07-04 02:48:44 +08:00
vowstar 2224f24dad Merge branch 'dev096' of https://github.com/nodemcu/nodemcu-firmware into dev 2015-07-04 02:31:15 +08:00
vowstar 638bf7b023 Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware into dev 2015-07-04 02:28:31 +08:00
vowstar fb0e4722b8 Fix and support Wi-Fi smart link (esp-touch and air-kiss).
Espressif open-source android and iOs APP,
See also https://github.com/espressifapp
Note: Must use ESP-TOUCH-V021 in espressif app history.
2015-07-04 02:27:51 +08:00
Konrad Beckmann 485e5a3140 Disabled WS2801 module 2015-07-03 12:35:47 +02:00
Konrad Beckmann 3d3c2431b3 Added WS2801 support 2015-07-02 00:50:26 +02:00
Vowstar 125d2173d6 Merge pull request #519 from md5crypt/tmr_module
rewrote the timer module from scratch
2015-06-30 15:50:08 +08:00
Luna 2691383696 added tmr.interval 2015-06-29 23:15:30 +02:00
Luna c1d2eb413b rewrote the timer module from scratch 2015-06-29 21:19:24 +02:00
Vowstar aa710d1f53 Merge pull request #513 from NodeUSB/dev096
update 433MHz transmission comment, add static ICACHE_FLASH_ATTR flag
2015-06-28 14:55:07 +08:00
Mike Wen 66ca7f6aca update 433MHz transmission comment, add static ICACHE_FLASH_ATTR flag 2015-06-27 18:14:24 -04:00
Mike Wen cf72a3203d update 433MHz transmission doc, add static ICACHE_FLASH_ATTR flag 2015-06-27 14:42:39 -04:00
vowstar dce0d2c2a8 Release build 20150627.
fixed ap/station-ap cannot connect to the device.
added wifi.ap.getconfig().
fixed net.dns.getdnsserver().
added new base64 lua example.
added node.bootreason() to inspect boot cause.
optimization of u8g.
2015-06-27 15:21:48 +08:00
vowstar 663158e4ab added wifi.ap.getconfig() by @md5crypt https://github.com/nodemcu/nodemcu-firmware/pull/500/files#diff-81824fe90d00138d98b6e9f0d7d8c7dcL1458. 2015-06-27 12:30:36 +08:00
vowstar a32df17579 Fixed net.dns.getdnsserver() by @md5crypt. 2015-06-27 12:26:24 +08:00
Vowstar 2ab4de9c09 Merge pull request #512 from jmattsson/boot-reason
Expose boot reason in Lua
2015-06-27 11:25:35 +08:00
Johny Mattsson 7bd10e8a17 Added node.bootreason() to inspect boot cause. 2015-06-27 12:34:03 +10:00
Johny Mattsson b5c6a5b1c6 Stop dhcpserver from writing to const data. 2015-06-27 12:12:21 +10:00
Vowstar d507060ecf Merge pull request #509 from devsaurus/dev-irom0
Unify memory section usage for u8g
2015-06-27 00:04:46 +08:00
vowstar dda121e5e0 Release 0.9.6-dev_20150625 2015-06-26 18:32:46 +08:00
devsaurus 277c6d0116 move u8g progmem constants to new .rodata sections
this simplifies the overall memory handling based on the irom support by @jmattsson
2015-06-25 00:38:11 +02:00
Luna 5ca807d7a1 fixed net.dns.getdnsserver() and added wifi.ap.getconfig() 2015-06-24 22:38:37 +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
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 90ca92ca6e Revert "Merge dev to dev096" 2015-06-20 01:50:29 +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 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
Orgmar b0a4e4d3e9 Changed BUILD_DATE. 2015-06-17 00:16:57 +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
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
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
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
dnc40085 353209fb4e Change comments for wifi.sta.getap 2015-05-31 22:45:43 -07:00
dnc40085 a5fe3d0146 Added option to wifi.sta.getap to allow changing output format between
new style and old style
2015-05-31 21:43:03 -07:00
Vowstar d8a8746b9e Merge pull request #447 from creationix/dev
Add crypto module.
2015-05-29 15:05:37 +08:00
dnc40085 01d90f1cb0 revert app/spifs folder to commmit 8f925e6 2015-05-28 23:54:07 -07:00
dnc40085 1f798dabf7 Revert "Update spiffs to latest." 2015-05-28 17:38:08 -07:00
= 2128c42f02 Add headers for discovered rom functions 2015-05-28 15:10:12 -05:00
= 59df376a3a Rename base64Encode to toBase64 and hexEncode to toHex 2015-05-28 09:00:13 -05:00
= c8145434c3 Add crypto.hexEncode and crypto.mask 2015-05-28 07:47:09 -05:00
= ca78b9ea2c Add crypto module initially containing sha1 and base64_encode. 2015-05-28 07:46:57 -05:00
makefu c29edf7a22 app/modules/ws2812.c: re-add ws2812.write()
Add the original ws2812.write() function which does not scramble the
buffer while preserving the 'new' ws2812.writergb.

With this everybody should be happy again
2015-05-26 23:12:38 +02:00
Vowstar f7a6183853 Merge pull request #437 from dnc40085/dev096_adc.vdd33_fix
Added fix to adc.readvdd33() to prevent crashing in station mode
2015-05-24 07:23:16 +08:00
Vowstar 2d0689142c Merge pull request #438 from dnc40085/dev096_wifi.getchannel
added wifi.getchannel
2015-05-24 07:23:07 +08:00
dnc40085 6477f5f389 added wifi.getchannel 2015-05-22 19:42:21 -07:00
dnc40085 dd00e31027 Added fix to adc.readvdd33() to prevent crashing in station mode while
connected
2015-05-22 18:01:05 -07:00
HuangRui 5261fb1948 Update spiffs to latest. 2015-05-21 15:18:35 +08:00
HuangRui c66cced7f4 Merge branch 'dev096' of https://github.com/nodemcu/nodemcu-firmware 2015-05-21 10:59:30 +08:00
HuangRui 8887085ef8 Revert file.format method. 2015-05-21 10:58:58 +08:00
HuangRui c82cc3f7c5 Testing use all modules. 2015-05-21 10:42:28 +08:00
HuangRui a1e67c5cf0 Try to use latest spiffs but not success. 2015-05-21 10:39:02 +08:00
dnc40085 7244d51b38 Fixed bug in wifi_scan_done 2015-05-20 02:21:46 -07:00
HuangRui fc8fa2cc91 Fixed readvdd33 bug. 2015-05-19 20:11:15 +08:00
HuangRui 0f3ade36d8 Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware
Conflicts:
	app/modules/net.c
2015-05-19 20:06:03 +08:00
dnc40085 546bca00c1 changed wifi_setip() to allow setting SoftAP gateway to 0.0.0.0 2015-05-17 19:29:26 -07:00
Jorge Mesquita 70580dc4ae added net.dns.setdnsserver('ip',[index]), net.dns.getdnsserver([index]), net.dns.resolve('domain.com', function cb('ip' or nil if fail) )
modified:   app/modules/net.c
2015-05-16 20:53:31 -04:00
Vowstar 61f65fb02a Merge pull request #420 from devsaurus/dev
Add missing functions for u8g
2015-05-16 20:26:50 +08:00
devsaurus 5b588b7bd3 implement getStrWidth() and setFontLineSpacingFactor() 2015-05-15 21:32:28 +02:00
devsaurus de56cb084e sort member functions 2015-05-15 21:13:59 +02:00
HuangRui 71469dd70f Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware
Conflicts:
	app/include/user_version.h
	app/modules/node.c
	app/modules/wifi.c
2015-05-15 08:13:46 +08:00
Vowstar 43d06459a6 Merge pull request #409 from dnc40085/dev096-wifi_scan_done
Change format of table that is output by wifi_scan_done function
2015-05-15 07:54:48 +08:00
Vowstar 60e1e8ba7d Merge pull request #408 from dnc40085/dev096-wifi.ap.config
Additions and changes to wifi module
2015-05-15 07:54:42 +08:00
Vowstar 55cff23f64 Merge pull request #405 from dnc40085/dev096-wifi.setmac_fix
Fix for inability to use standard formatted MAC address with wifi.setmac()
2015-05-15 07:54:34 +08:00
Vowstar d30fea9bd0 Merge pull request #413 from dnc40085/dev096-tmr.alarm_memory_leak_fix
Fix for issue #382
2015-05-15 07:49:49 +08:00
Vowstar a5d96f4719 Merge pull request #404 from dnc40085/dev096-wifi.sta.getconfig
Add function wifi.sta.getconfig() and more parameters to wifi.sta.config()
2015-05-15 07:45:56 +08: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
dnc40085 894fcc4799 minor change 2015-05-14 04:59:55 -07:00
dnc40085 4f097cf063 Fixed memory leak in tmr.alarm() 2015-05-14 04:40:57 -07:00
dnc40085 cf32376467 Minor change to wifi.sta.getap() 2015-05-11 21:02:46 -07:00
dnc40085 e9081a81a5 Remove conflict 2015-05-11 20:03:02 -07:00
dnc40085 3941977550 Removed commented lines from previous commit 2015-05-11 18:45:27 -07:00
dnc40085 78cb215bb2 Changed output format of table that is output by wifi_scan_done 2015-05-11 18:26:16 -07:00
dnc40085 f31671044d Fixed error in wifi_station_listap 2015-05-11 17:59:51 -07:00
dnc40085 aca2b7724b Added description to wifi_station_listap 2015-05-11 05:38:23 -07:00
dnc40085 cf54f85549 Added ability to set scan configuration to wifi.sta.getap 2015-05-11 05:12:34 -07:00
dnc40085 5b375cfe50 Copied changes from dev branch, commit f13c5c6 from Wayne Bartnick
wifi.sta.config (wifi_station_config):

- range checking password length (8~64)

wifi.ap.config (wifi_ap_config):
- range checking ssid length (1~32)
- range checking pwd length (8~64)
- new params:
  - auth: wifi.OPEN, wifi.WPA_PSK, wifi.WPA2_PSK, wifi.WPA_WPA2_PSK
    - default WITH pwd: wifi.WPA_WPA2_PSK
    - default WITHOUT pwd: wifi.OPEN
  - channel: 1~13 (default: 6)
  - hidden: 0/1 (default: 0)
  - max: 1~4 (default: 4)
  - beacon: 100~60000ms (default: 100)

wifi.ap.getclient (wifi_ap_listclient):
- returns table(mac,ip) of all connected clients

wifi.ap.dhcp:
- new submodule
- config (wifi_ap_dhcp_config), returns start/end ips
  - params:
    - start (e.g., "192.168.1.100")
  - end ip calculated from wifi.ap.config.max
- start (wifi_ap_dhcp_start), returns boolean
- stop (wifi_ap_dhcp_stop), returns boolean
2015-05-11 05:06:48 -07:00
dnc40085 c6c8bd84a0 minor change to wifi.sta.config() 2015-05-11 00:05:28 -07:00
dnc40085 7533a6afba Fix for inability to use standard formatted MAC address with
wifi.setmac() also changed wifi.getmac() to use macro
2015-05-09 04:29:18 -07:00
dnc40085 f9e0e0cc61 Added examples to description of wifi.sta.config() 2015-05-09 04:17:35 -07:00
dnc40085 e667b2029d Added function wifi.sta.getconfig()
Added more parameters to wifi.sta.config()
2015-05-09 01:50:35 -07:00
trilader bc7b9f86c4 Allow connecting to unsecured WiFi networks 2015-05-07 15:12:57 +02:00
dnc40085 700ba55d26 Fix for memory leak in function wifi.sta.getap() 2015-05-07 05:02:59 -07:00
Vowstar 749e71d9cb Fixed strange SPI flash API error. Added word_of_aligned_array. 2015-05-05 23:59:30 +08:00
vowstar 32e9ac204a Fix PWM init bug, set all initial duty to 0. 2015-05-01 18:35:30 +08:00
Vowstar 1923280572 Merge pull request #365 from nodemcu/master
Add ICMP ping to net module
2015-05-01 14:57:50 +08:00
dnc40085 f4a9de4886 Added comments for setphymode and getphymode functions in wifi module
Added constants PHYMODE_B, PHYMODE_G, PHYMODE_N to wifi module
2015-04-29 00:06:06 -07:00
dnc40085 900c43d520 Add setphymode and getphymode to wifi module 2015-04-26 20:03:44 -07:00
Kevin Uhlir f68d41608e Add multicastJoin and multicastLeave to net module
net.multicastJoin(if_ip, multicast_ip)
net.multicastLeave(if_ip, multicast_ip)

if_ip is a string containing the interface ip to join/leave the
multicast group.  multicast_ip is the multicast ip of the group to
join/leave. if_ip can be "" or "any" to affect all interfaces.
2015-04-15 03:41:13 -05:00
zeroday 81d9f8893a fix #353 2015-04-12 23:34:11 +08:00
Kirill f19e24c7ac Update tmr.c
According to NodeMCU team recommendations.
2015-04-10 14:56:17 +05:00
Vowstar e61ad9d7ba Merge pull request #339 from wladurner/issue_321
fixes issue #321 "ws2812.writergb scrambles buffer" reported by makefu.
2015-04-06 21:26:04 +08:00
zeroday 68607e3d2e Merge pull request #334 from model101/buf1kdev
LUAL_BUFFERSIZE back to 1K and warning notice added
2015-04-06 00:01:12 +08:00
zeroday a333d6a9b9 Merge pull request #333 from wbartnick/dev
wifi submodule enhancements, thanks to @wbartnick
2015-04-05 23:09:33 +08:00
cal 06193090e6 LUAL_BUFFERSIZE back to 1K and warning notice added 2015-04-05 16:14:52 +02:00
Wolfram Ladurner ff85cf4371 fixes issue #321 "ws2812.writergb scrambles buffer" reported by makefu.
Don't modify Lua-internal lstring - use a copy instead.
2015-04-05 15:49:32 +02:00
Wayne Bartnick f13c5c61e6 wifi.sta.config (wifi_station_config):
- range checking password length (8~64)

wifi.ap.config (wifi_ap_config):
- range checking ssid length (1~32)
- range checking pwd length (8~64)
- new params:
  - auth: wifi.OPEN, wifi.WPA_PSK, wifi.WPA2_PSK, wifi.WPA_WPA2_PSK
    - default WITH pwd: wifi.WPA_WPA2_PSK
    - default WITHOUT pwd: wifi.OPEN
  - channel: 1~13 (default: 6)
  - hidden: 0/1 (default: 0)
  - max: 1~4 (default: 4)
  - beacon: 100~60000ms (default: 100)

wifi.ap.getclient (wifi_ap_listclient):
- returns table(mac,ip) of all connected clients

wifi.ap.dhcp:
- new submodule
- config (wifi_ap_dhcp_config), returns start/end ips
  - params:
    - start (e.g., "192.168.1.100")
  - end ip calculated from wifi.ap.config.max
- start (wifi_ap_dhcp_start), returns boolean
- stop (wifi_ap_dhcp_stop), returns boolean
2015-04-05 09:21:16 -04:00
funshine bcbde08bf7 fix mqtt keepalive ping, add a example for mqtt in lua_examples. 2015-04-05 02:22:51 +08:00
funshine 8558641190 add gpio.serout() api to help serialize bit out 2015-04-03 16:05:14 +08:00
funshine 1c2ee75a00 fix mqtt, do a format when wrong flash size is detected 2015-04-03 00:51:02 +08:00
funshine 32e062f523 polish mqtt module 2015-03-31 23:38:28 +08:00
funshine dcb6e53af7 add auto-reconnect option to mqtt:connect api 2015-03-31 00:36:44 +08:00
funshine 09750b5653 add queue to mqtt module 2015-03-30 00:24:09 +08:00
HuangRui 3dd1ac3739 Move node.readvdd33 to adc.readvdd33, fix #162. 2015-03-27 00:52:55 +08:00
funshine e1f8b604a0 fix init_data detect flash api 2015-03-24 23:21:40 +08:00
funshine 52ca40b8ea add init.lua examples 2015-03-22 21:09:37 +08:00
funshine d5731dd9bd merge from dev 2015-03-20 20:15:38 +08:00
funshine 4332b21ef3 minor fix 2015-03-20 19:42:10 +08:00
Vowstar 1562215905 Merge pull request #301 from devsaurus/dev
Use correct function for stop in U8G_COM_MSG_WRITE_BYTE
2015-03-19 12:17:11 +08:00
devsaurus 2d254bd47c use correct function for stop in U8G_COM_MSG_WRITE_BYTE 2015-03-18 22:33:16 +01:00
funshine 3d14530b80 fix cjson.encode() when in integer version 2015-03-18 19:37:47 +08:00
funshine 3aead6d230 try to fix cjson.encode in integer only version 2015-03-18 17:01:01 +08:00
funshine a70709268b merge cjson and dev to master, make a stable release 2015-03-18 14:22:17 +08:00
zeroday a01bda03dd Merge pull request #294 from nodemcu/json
Json branch merged to master
2015-03-18 13:11:11 +08:00
devsaurus 09b650be41 disable untested pcd8544 driver for the moment 2015-03-17 20:52:47 +01:00
devsaurus 87598c5dfe Merge remote-tracking branch 'upstream/dev' into dev 2015-03-17 20:35:39 +01:00
funshine 808a359eb8 quick fix when wide charactor issue 2015-03-17 22:42:22 +08:00
Markus Gritsch b648e9a8db Added node.setcpufreq(mhz) function.
This function allows setting the CPU frequency to node.CPU80MHZ or
node.CPU160MHZ.
2015-03-17 10:23:45 +01:00
funshine 45e7f270cc Merge branch 'dev' into json 2015-03-17 00:13:15 +08:00
funshine 4d3c1a930f code clean up for cjson 2015-03-17 00:12:25 +08:00
funshine 54004a4beb fix cjson bugs and reduce mem usage 2015-03-16 23:59:57 +08:00
funshine c0d690ce7e under development 2015-03-16 17:11:48 +08:00
funshine d425dd7127 under develop 2015-03-16 17:09:43 +08:00
funshine 83f53c23c1 json port from cjson. not work yet, add cjson folder 2015-03-16 09:19:06 +08:00
funshine c9912f1d82 json port from cjson. not work yet, delete folder 2015-03-16 09:17:21 +08:00
funshine 9c0c960e84 json port from cjson. not work yet 2015-03-16 09:00:33 +08:00
Vowstar 4d5242e1b7 Merge pull request #284 from nodemcu/dev
Sync from dev to dev096.
2015-03-16 05:44:51 +08:00
HuangRui 5c84359b5c ROM flash size can changed with detected size, fixed #283. 2015-03-16 05:40:43 +08:00
devsaurus 3124bcf357 Merge remote-tracking branch 'upstream/dev' into dev 2015-03-15 22:06:30 +01:00
HuangRui f7eed2b53b Changed e9 to magic_e9. 2015-03-16 01:44:54 +08:00
HuangRui 0b01f28c62 Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware
Conflicts:
	app/include/user_modules.h
	app/include/user_version.h
2015-03-16 01:13:03 +08:00
HuangRui 4e7473bc00 Fixed flash automatic detection bug. Support 128MBit flash. 2015-03-16 01:05:06 +08:00
HuangRui dfce182622 Paste new version, make it can get correct flash size. 2015-03-16 00:51:47 +08:00
HuangRui ed87cbd96f Try to fix flash auto detection bug. 2015-03-16 00:48:28 +08:00
funshine 0b95ae08a2 default build with coap, reduce coap module mem usage 2015-03-15 20:12:29 +08:00
Vowstar e3c31d0629 Merge pull request #280 from nodemcu/master
Merge master to dev096.
2015-03-15 20:04:55 +08:00
funshine 394cced84b fix #273 2015-03-15 16:06:35 +08:00
funshine f510e658d5 merge master solve conflicts 2015-03-15 15:01:07 +08:00
funshine c46000069d reduce coap module memory usage 2015-03-15 13:44:50 +08:00
Erant 0a4049767a Fix getFSF to abide by the function contract 2015-03-14 09:00:25 -07:00
devsaurus 3b37f0920c res optional 2015-03-13 22:22:57 +01:00
devsaurus 429bf57d67 add pcd8544 2015-03-12 23:09:41 +01:00
devsaurus b387ba93ec introduce u8g_config.h 2015-03-12 21:50:57 +01:00
devsaurus 7b160da1a3 Merge remote-tracking branch 'upstream/dev' into dev 2015-03-12 21:16:39 +01:00
funshine 8638863ac8 update readme 2015-03-12 14:20:40 +08:00
funshine 9f006acd8a update readme 2015-03-12 14:05:47 +08:00
devsaurus 4f55ee4e34 validate SPI comm interface with ssd1306_128x64_spi 2015-03-11 21:53:45 +01:00
funshine d28a2c9eda add interger version release, fix #234, #252, #246 2015-03-11 13:21:19 +08:00
funshine 24411d34c1 fix tmr.time() 2015-03-11 08:59:00 +08:00
funshine 27c0620912 fix bugs for spiffs from pellepl/spiffs 2015-03-10 23:07:47 +08:00
funshine 81ea8d9597 add math, add file.fsinfo(), update spiffs. 2015-03-10 01:12:36 +08:00
devsaurus 76a499313f Merge remote-tracking branch 'upstream/dev' into dev 2015-03-07 21:54:37 +01:00
funshine 8369f74bd0 comment out math.fmod to reduce code size 2015-03-06 17:00:37 +08:00
funshine 9d0c733073 Merge branch 'dev' into dev096 2015-03-06 16:46:37 +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
HuangRui 6ea3d6390c Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware
Conflicts:
	app/include/user_config.h
	ld/eagle.app.v6.ld
2015-03-06 14:02:58 +08:00
funshine bbef457e50 seperate user_config.h to speed-up compile when modules disabled/enabled 2015-03-06 11:59:04 +08:00
devsaurus 315d1a1696 Merge remote-tracking branch 'upstream/dev' into dev 2015-03-04 22:18:26 +01:00
Markus Gritsch ab1eb0b93b Accidentally removed ROM_MODULES_U8G
I am sorry, I made an error in my last pull request and accidentally
removed ROM_MODULES_U8G.  Here is it back again.
2015-03-03 20:51:16 +01: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 5f1d324059 remove caching 2015-03-01 23:45:25 +01:00
devsaurus 32774d428c handle font data as light userdata 2015-03-01 23:11:24 +01:00
devsaurus 7ae293d566 set free'd pointer to NULL 2015-02-25 23:17:08 +01:00
Ezekiel-DA c869eddb8a Update file.c
Made file.seek() return nil on error / EOF, as specified in documentation, instead of returning true.
2015-02-25 14:34:07 -05:00
HuangRui 7c820b4e8f Update header of flash binary definition. 2015-02-25 23:08:08 +08:00
devsaurus 2cfb86b5b5 improve device and page buffer initialization 2015-02-20 21:15:38 +01:00
devsaurus e3ed4fc0da fix typo 2015-02-20 18:24:53 +01:00
devsaurus 6c0adbf980 SPI comm function, untested 2015-02-20 11:07:52 +01:00
devsaurus 81be529d68 preparation for adding more display devices: allocate and construct page buffer
dynamically to save heap for unused device types
2015-02-19 16:47:41 +01:00
devsaurus 8e42631a81 implement drawBitmap 2015-02-19 12:12:14 +01:00
devsaurus a287020096 implement drawXBM 2015-02-18 23:57:34 +01:00
HuangRui 37d2c9f6c1 Revert and remove EGC in user_config.h 2015-02-17 23:44:05 +08:00
HuangRui c05fc843f4 Enable EGC. 2015-02-17 02:25:05 +08:00
HuangRui cb9828e357 Add newline at the file end of dummy.c 2015-02-16 22:14:37 +08:00
HuangRui bb0a5b1d7c Re enabled open-source LWIP using dummy.c
Fixed the RAM issue.
2015-02-16 21:50:08 +08:00
devsaurus 4fd11fdfa9 Merge remote-tracking branch 'upstream/dev' into dev 2015-02-16 14:37:53 +01:00
HuangRui 86f0a7307f Roll back system_get_vdd33 to readvdd33.
Bug not fixed in this version =(
2015-02-16 13:08:37 +08:00
HuangRui 05fe3ea9f1 Update to SDK 0.9.6_b1
The open source LWIP is broken, use espressif's liblwip.a.
Uses system_get_vdd33 instead of readvdd33.
The espressif's sdk0.9.6 beta1 (2015.02.15) release note
1、Optimize smartconfig to version v0.8;
2、Optimize AT to version 0.22.b1;
1>、Fixed bugs;
2>、Optimize the speed of transparent transmission;
3、Optimize boot to version 1.3(b3);
1>、Fix compatibility problem of dual flash ;
4、Solve problem of the large current in deep sleep;
5、Fixed problem “check mem fail”;
6、Fixed problem of UDP socket may stop listening broadcast packet after a long time running under some special router;
7、Fixed bug related to wifi_station_scan;
8、Other optimize to make the software more reliable;
2015-02-16 11:37:39 +08:00
HuangRui 378398d41d Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware 2015-02-15 02:14:53 +08:00
HuangRui 0232c13b83 Emergency update, fix flash size auto detection bug.
64Mbit and 128Mbit supported by hardware, but not supported by this SDK 0.9.5. Waiting SDK update.
2015-02-15 02:13:58 +08:00
HuangRui f6b1d3a399 Test what caused flash AUTO_SIZE bug. 2015-02-15 00:02:53 +08:00
funshine 1798c6b78c minor update 2015-02-14 16:59:45 +08:00
devsaurus 05997cb477 remove superfluous files 2015-02-13 22:01:52 +01:00
devsaurus 655b06b48e Merge remote-tracking branch 'upstream/dev' into dev 2015-02-13 21:59:34 +01:00
funshine 2c5c00a56a add net.socket:getpeer() api, returns peer ip,port 2015-02-14 02:38:15 +08:00
funshine fab1f9560a revert LUA_BUFFERSIZE to 1024 2015-02-14 02:17:27 +08:00
funshine 6c1c6805b3 modify loadfile to malloc memory according to file size 2015-02-13 19:23:30 +08:00
funshine 6e840a453f add node.compile() api 2015-02-13 15:11:59 +08:00
HuangRui 059a5eebdd wifi.ap.setip() can set ip address now, fixed #199. 2015-02-12 22:43:48 +08:00
HuangRui 960032ddd8 Fixed compilation fails, adjust redefined #define __P(x) x,closed #206. 2015-02-12 20:03:27 +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 f60f446300 Floating point good. Revert LUA_NUMBER_FMT to "%.14g". 2015-02-12 01:21:26 +08:00
HuangRui f3540ffe29 Fixed many floating point bug.
Fixed #148 String:format Floating point, width.precision not working.
Fixed #140 string.format not working since 0127(float version) #140.
2015-02-12 01:15:30 +08:00
HuangRui b86bb49576 Move powersOf10 to spi-flash. 2015-02-11 23:07:08 +08:00
HuangRui d49182c1ab Move powersOf10 array to global. 2015-02-11 23:05:46 +08:00
HuangRui db43b1e005 Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware 2015-02-11 22:51:33 +08:00
HuangRui d2cdba255f Supported more baudrate. 2015-02-11 22:50:26 +08:00
funshine a34e6e8e3d Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware into dev 2015-02-11 21:21:37 +08:00
funshine 2d711bbc0d update spiffs to 0.2.2, add file.rename api 2015-02-11 21:20:54 +08:00
HuangRui 5d9caf23b6 Support 64Mbit and 128Mbit flash size auto detection. 2015-02-11 21:16:48 +08:00
HuangRui c7c88feae4 Add 8M and 16M fixed flash size options. 2015-02-11 21:01:57 +08:00
devsaurus 5fa0a0bc46 cache pgm read data 2015-02-10 22:04:43 +01:00
devsaurus f2c881db18 Merge remote-tracking branch 'upstream/dev' into dev 2015-02-10 21:40:29 +01:00
HuangRui f1f508ca98 Optimization of floating point Memory usage again. 2015-02-11 00:39:03 +08:00
HuangRui 7fda5bdf76 Use more powerful UART baudrate list from RTOS driver. 2015-02-10 22:39:50 +08:00
HuangRui 0f09d23714 Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware 2015-02-10 22:27:21 +08:00
zeroday a9398b1dd4 Merge pull request #196 from Point-less/master
Added the hold and unhold methods to tcp socket
2015-02-09 22:17:13 +08:00
Santiago 929d4aed5c Added the hold and unhold methods to tcp socket 2015-02-09 03:00:18 -03: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
devsaurus fdab682776 implement begin() 2015-02-08 21:41:02 +01:00
devsaurus 0b7ef1f485 implement further functions 2015-02-08 21:21:26 +01:00
devsaurus 27d99643df rotation functions 2015-02-08 17:59:09 +01:00
devsaurus 145a0f01c8 add scaling functions 2015-02-08 17:17:04 +01:00
devsaurus c1662a9932 use __XTENSA__ 2015-02-08 14:51:41 +01:00
funshine dec47d5372 fix #185 2015-02-07 23:45:01 +08:00
funshine c529d56a8f minor fix to debug mode 2015-02-07 23:08:25 +08:00
Till Klocke 0bbaedac89 Renamed lgpio_ws2812 to match lua method name and fixed formatting 2015-02-07 07:05:41 +01:00
devsaurus d7f04a1de8 further reduce RAM usage, consolidate font memory and "PROGMEM" 2015-02-06 23:02:56 +01:00
Till Klocke 284ee8c46e Added attribution and fixed documentation in comments 2015-02-05 18:47:08 +01:00
Till Klocke c30002b8df Fixed typo in method name 2015-02-05 18:43:29 +01:00
Till Klocke 0950e48925 Added support for WS2812 LEDs as a new module 2015-02-05 18:40:46 +01:00
HuangRui 361bedf0b9 Optimization of memory usage when using double pow(double x, double y). 2015-02-05 12:26:20 +08:00
HuangRui cca0de9b39 Align the code of c_math.c 2015-02-05 10:20:20 +08:00
HuangRui bb244d47ab Move array about pow form local to global. 2015-02-05 10:06:22 +08:00
devsaurus 0c9b6f0b6b re-enable mqtt and ow 2015-02-05 00:02:16 +01:00
devsaurus 5fbc4b2b2f route i2c sla to com driver function via u8g_t struct 2015-02-04 23:57:13 +01:00
devsaurus 82e126eb95 Merge branch 'master' into dev 2015-02-04 22:00:57 +01:00
funshine 3077990a66 remove FLASH_ATTR 2015-02-05 01:58:47 +08: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 12a546ce3d Merge remote-tracking branch 'upstream/master' 2015-02-03 20:49:18 +01:00
Simon John f6161230a6 Fixes BIT_RATE typo's so 9600 isn't defined 3 times 2015-02-03 17:47:33 +00:00
cle69 4c785fc979 Update platform.c
Add  Bit Rate 1200,2400,4800
2015-02-03 10:18:58 +01:00
cle69 d48168b920 Update uart.h
Add  Baudrate 1200, 2400,4800
2015-02-03 09:26:21 +01:00
devsaurus 6dfb82dbba factor out integer argument processing 2015-02-03 00:29:11 +01:00
devsaurus 18a44e7c60 reduce executable size (-fdata-sections and -Wl,--gc-sections) 2015-02-02 22:48:15 +01:00
Tuan PM c5e9d800a1 Add support multiple subscriptions, resolve nodemcu/nodemcu-firmware#152 2015-02-02 16:58:54 +07:00
devsaurus ed8681f956 implemented full graphics_test 2015-02-01 17:27:20 +01:00
devsaurus 6b3abb004a * increase irom0_0_seg size to accomodate u8glib code
* implement first functions for graphics test
2015-02-01 17:27:19 +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 b440b686f2 u8glib v1.17 2015-02-01 17:27:19 +01:00
devsaurus 33601462ef add u8g module stubs 2015-02-01 17:27:19 +01:00
Tuan PM fb0938db2e fixes nodemcu/nodemcu-firmware#155 lwt qos, retain, change header support MQTT 3.1.1 2015-01-31 11:49:24 +07:00
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
alonewolfx2 f4214294d3 new sleep set options added (from 0.9.5 sdk)
usage:
-- no wakeup until rst pin to low 
node.dsleep(0) 

-- 4 mean no RF after deepsleep.
node.dsleepsetoption(4)
2015-01-28 18:13:19 +02:00
funshine 1346cbbc38 fix string.format, maybe partialy 2015-01-27 21:48:44 +08:00
funshine 6a0599d22c fix alignment 2015-01-27 21:02:54 +08:00
funshine 425e664114 fix #132, #113, switch to lib/libssl.a 2015-01-27 20:47:41 +08:00
HuangRui c16d62e926 Fix UPGRADE_DBG when in DEVELOP_VERSION. 2015-01-27 13:48:10 +08: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 cf4cd8f450 Merge branch 'master' of https://github.com/nodemcu/nodemcu-firmware into devfloat 2015-01-26 20:00:30 +08:00
HuangRui 646eaec29c Fixed LUA_NUMBER_INTEGRAL definition in user_config.h. 2015-01-26 19:57:54 +08:00
alonewolfx2 4af0873122 for reading internal vdd33 pin voltage.
example usage and result
```
print(node.readvdd33())
3348
> 
```
2015-01-26 12:17:15 +02:00
HuangRui e11721ebfd Support floating point.
Add PRINTF_LONG_SUPPORT to %g option.
2015-01-26 17:21:43 +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 9b472a465b move nodemcu init stage after user_init(), rebuild bin 2015-01-23 13:25:54 +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 a2d1e5ff2b move eclipse project file to root, now eclipse can see all files 2015-01-12 21:04:43 +08:00
zeroday 59a67e543d Merge pull request #94 from kmpm/esptool
adjustments for esptool.py.
2015-01-12 19:33:38 +08:00
zeroday 1e83bd9f87 Update Makefile
roll back
2015-01-12 19:33:01 +08:00
funshine 724d3be198 combine getnetmask and getip 2015-01-12 19:23:55 +08:00
zeroday 94b643079e Merge pull request #82 from rkoffer/master
WifI wifi.xx.getnetmask & wifi.xx.getbroadcast methods added
2015-01-12 19:13:45 +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
unknown e86e8a650c WifI wifi.xx.getnetmask & wifi.xx.getbroadcast methods added 2015-01-09 14:18:27 +01: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
HuangRui 7839e9ba55 Merge branch 'dev095' of https://github.com/nodemcu/nodemcu-firmware into dev095 2015-01-06 19:34:15 +08:00
HuangRui 3c6ebea059 Use safe flash options. 2015-01-06 19:32:17 +08:00
funshine 729603fae7 move some buffer to local 2015-01-06 19:01:34 +08:00
funshine 7e51c5d67e replace SPIWrite with flash_write 2015-01-05 23:57:07 +08:00
funshine ff6e5e9924 build pre-build bin, auto save flash init data 2015-01-05 21:56:55 +08:00
funshine 4851618f9c add project file for eclipse 2015-01-05 21:04:45 +08:00
HuangRui 93b6b9162c Auto select OBJDUMP and OBJCOPY. 2015-01-05 17:13:49 +08:00
funshine 1f644592b3 modify gen_misc and gen_appbin to support gcc toolchain 2015-01-05 15:21:27 +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
funshine b0ec34567c align flash read/write addr 2014-12-31 20:20:38 +08:00
funshine 35e89a43a4 Merge branch 'dev094' of https://github.com/nodemcu/nodemcu-firmware into dev094 2014-12-31 16:55:28 +08:00
funshine 1105b95175 add newline to flash_api.c for win vm 2014-12-31 16:54:44 +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
funshine 2553795b1e add file.read() api, read(n) will read n byte. 2014-12-31 13:53:26 +08:00
funshine eb27c4fb27 fix a uart readline bug, which echo 2 CR+LF mistakenly 2014-12-31 12:19:53 +08:00
HuangRui a93e62c444 Add node.flashid() and node.flashsize(). 2014-12-31 08:08:31 +08:00
HuangRui 956455e8f2 Add new line to flash_api.c for tool chain on windows vm. 2014-12-31 02:51:36 +08:00
HuangRui 715ff5b7aa NodeMCU firmware can auto detect flash size now. 2014-12-31 02:47:44 +08:00
funshine 72f60d3e5a rebuild bin, add setip, setmac, sleeptype api to wifi module, fix #62 2014-12-30 20:17:16 +08:00
zeroday a2e357f1c1 Merge pull request #64 from alonewolfx2/patch-1
for set wifi issue
2014-12-30 20:04:16 +08:00
funshine c7e83e50eb build bins 2014-12-30 20:00:50 +08:00
alonewolfx2 26a554ffe1 for set wifi issue
dhcp client must be stop before setting station ip
2014-12-30 13:57:08 +02:00
funshine 4cf5265ccc deal with uart.on api when required char number is 0 2014-12-30 19:33:54 +08:00
funshine ee2e791282 serial input now accept non-ascii chars 2014-12-30 19:00:36 +08:00
funshine 5209c099a0 modify uart.on api to read raw data from uart 2014-12-30 15:42:24 +08:00
funshine a331438c9b add setip setmac api 2014-12-29 21:57:37 +08:00
funshine ee8daad393 add rtc time 2014-12-29 09:29:19 +08:00
funshine f1d87ee7ee replace custom stdarg.h header file with the one in toolchain 2014-12-26 21:24:28 +08:00
funshine dff406e575 build latest firmware, add pre_build/latest folder 2014-12-26 11:49:39 +08:00
funshine 1a7884c24e fix a bug when readline from uart 2014-12-26 11:17:54 +08:00
funshine 2321ee972b fix file api issue when compile using gcc toolchain 2014-12-26 00:03:48 +08:00
Simon John 0c345f41fc Made python/shell scripts executable 2014-12-22 16:28:16 +00:00
funshine cdd13b1af3 source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00