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