Johny Mattsson
5a0f6a597f
Merge pull request #608 from DiUS/onewire-powerup
...
Unbreak 1-Wire after the consts-to-flash change.
2015-08-21 11:34:46 +10:00
Johny Mattsson
346251dca6
1-Wire power fix, by Thomas Shaddack.
2015-08-20 11:09:12 +10:00
Vowstar
77297662fd
Merge pull request #604 from kbeckmann/pr_bmp085_b5-fix
...
BMP085: Fix B5 calculation
2015-08-18 23:08:06 +08:00
Konrad Beckmann
1287a8cdd6
BMP085: Fix B5 calculation
...
B5 was calculated with some precision loss before.
2015-08-16 11:57:12 +02:00
Vowstar
40111c1046
Merge pull request #600 from devsaurus/dev-node_compile
...
Add write error detection in node_compile()
2015-08-11 09:36:35 +08:00
Vowstar
c61c348558
Merge pull request #599 from devsaurus/dev
...
u8g: clean up code and list supported display types
2015-08-11 09:35:28 +08:00
devsaurus
d0e6ab38df
add write error detection in node_compile()
2015-08-11 00:08:49 +02:00
devsaurus
ab872dd71b
list supported u8glib display types
2015-08-10 22:15:27 +02:00
devsaurus
ca1bc2cb18
clean u8g
2015-08-09 16:38:08 +02:00
zeroday
4a69d24205
Merge pull request #592 from devsaurus/dev
...
Fix u8g device destructor
2015-08-06 10:56:08 +08:00
devsaurus
02294955c5
Merge remote-tracking branch 'upstream/dev' into dev
2015-08-05 21:55:35 +02:00
devsaurus
9d8c3a7b82
fix u8g device destructor
...
don't free unallocated memory
2015-08-05 21:52:56 +02:00
Vowstar
ad49c5dd3b
Merge pull request #589 from kbeckmann/pr_bmp085
...
Implemented BMP085 module
2015-08-05 23:21:03 +08:00
Vowstar
d97d7df8ec
Merge pull request #588 from robertfoss/dev
...
Use #if instead of #ifdef.
2015-08-05 23:20:38 +08:00
Vowstar
a1bb3a6ad8
Merge pull request #586 from DiUS/ram-saving
...
Reclaim ~1.5k RAM by tuning down SPIFFS cache, use dynamic DNS table names
2015-08-05 23:19:24 +08:00
Johny Mattsson
00527237f9
Remove now-unnecessary alignment constraints in SPIFFS.
...
With platform_s_flash_read() now properly handling unaligned destination
buffers, there is no need to shim SPIFFS any more.
2015-08-04 16:30:58 +10:00
Johny Mattsson
9f9b323fb5
Ensure flash write bounce buffer is used if source is also flash.
...
When using the flash write API, the flash is unmapped/uncached, and as
such it's not possible to source data directly from flash (e.g. string
literals).
2015-08-04 16:30:54 +10:00
Bernd Meyer
1259f8d776
Deal with unaligned destination parameter to flash read
...
(Occurs e.g. when SPIFFS cache is disabled.)
Implementation mirrors the existing handling in the write path.
2015-08-04 16:30:46 +10:00
Konrad Beckmann
0b28056959
Implemented BMP085 module
2015-08-03 17:07:56 +02:00
Robert Foss
f9510eda49
Merge branch 'dev' of github.com:robertfoss/nodemcu-firmware into dev
...
Conflicts:
app/lwip/app/dhcpserver.c
2015-08-03 01:15:20 +02:00
Robert Foss
93be1b7998
Merge branch 'dev' of github.com:robertfoss/nodemcu-firmware into dev
...
Conflicts:
app/lwip/app/dhcpserver.c
2015-08-03 01:13:30 +02:00
Robert Foss
428d3b37e4
Merge branch 'dev' of github.com:robertfoss/nodemcu-firmware into dev
...
Conflicts:
app/lwip/app/dhcpserver.c
2015-08-03 01:12:17 +02:00
Robert Foss
579dc27ee0
Use #if instead of #ifdef.
2015-08-03 01:09:49 +02:00
Robert Foss
8f05556ab9
Use #if instead of #ifdef.
2015-08-02 19:17:36 +02:00
zeroday
9e6c62aa4d
Add notice to use json module in readme, due to the merged PR #584
2015-08-02 23:58:37 +08:00
zeroday
c19596cae8
Merge pull request #581 from robertfoss/dev
...
Added USE_DNS define.
2015-08-02 23:40:37 +08:00
zeroday
53a035411e
Merge pull request #584 from DiUS/cjson-lua-mem-wrap
...
Improvements to cjson memory handling, Note that when cjson fails a memory allocation, it leaks a bit of memory, it's possible to detect that it did fail, and schedule a restart.
2015-08-02 23:38:13 +08:00
zeroday
6751811ffb
Merge pull request #585 from DiUS/hmac-key-fix
...
Fix for HMAC with long keys
2015-08-02 23:36:26 +08:00
Johny Mattsson
125db6595d
Use dynamic memory for DNS table names, saving ~1k RAM.
2015-07-31 18:15:18 +10:00
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
Johny Mattsson
b583af94a5
Fixed long key bug in HMAC calculation.
2015-07-31 14:11:09 +10:00
Johny Mattsson
eae72699d0
Fixed broken linear growth allocation in cjson.
2015-07-31 13:17:05 +10:00
Bernd Meyer
595509a7f3
More sensible cjson realloc strategy.
2015-07-31 11:36:46 +10:00
Johny Mattsson
719abca418
Stop cjson from killing the node on out-of-mem.
2015-07-31 11:36:46 +10:00
Robert Foss
1b8e015f33
Removed some whitespace.
2015-07-28 16:34:25 +02:00
Robert Foss
5822d4c4ed
Add define for advertising DNS in the DHCP OFFER message.
2015-07-28 16:32:38 +02:00
Vowstar
00e1e6bcbe
Merge pull request #572 from devsaurus/dev
...
Upgrade u8g module and add display bindings
2015-07-26 22:55:52 +08:00
Vowstar
95ee0c68f9
Merge pull request #570 from skybus-io/tsl2561
...
Lua module for TSL2561 I2C Digital Light Sensor
2015-07-22 10:47:01 +08:00
devsaurus
311283124d
u8g doc update
2015-07-21 21:32:42 +02:00
devsaurus
f4f62fb255
fix display table construction
2015-07-21 20:37:44 +02:00
Marius Schmeding
f343af9683
adding lua_module for Grove Digital Light Sensor ( http://www.seeedstudio.com/wiki/Grove_-_Digital_Light_Sensor )
2015-07-21 18:56:29 +02:00
devsaurus
6fd106afac
added more displays:
...
sh1106_128x64_i2c
ssd1306_64x48_i2c
ssd1309_128x64_i2c
ssd1327_96x96_gr_i2c
uc1611_dogm240_i2c
uc1611_dogxl240_i2c
ld7032_60x32_hw_spi
pcd8544_84x48_hw_spi
pcf8812_96x65_hw_spi
sh1106_128x64_hw_spi
ssd1306_64x48_hw_spi
ssd1309_128x64_hw_spi
ssd1322_nhd31oled_bw_hw_spi
ssd1322_nhd31oled_gr_hw_spi
ssd1325_nhd27oled_bw_hw_spi
ssd1325_nhd27oled_gr_hw_spi
ssd1327_96x96_gr_hw_spi
ssd1351_128x128_332_hw_spi
ssd1351_128x128gh_332_hw_spi
ssd1351_128x128_hicolor_hw_spi
ssd1351_128x128gh_hicolor_hw_spi
ssd1353_160x128_332_hw_spi
ssd1353_160x128_hicolor_hw_spi
st7565_64128n_hw_spi
st7565_dogm128_hw_spi
st7565_dogm132_hw_spi
st7565_lm6059_hw_spi
st7565_lm6063_hw_spi
st7565_nhd_c12832_hw_spi
st7565_nhd_c12864_hw_spi
uc1601_c128032_hw_spi
uc1608_240x128_hw_spi
uc1608_240x64_hw_spi
uc1610_dogxl160_bw_hw_spi
uc1610_dogxl160_gr_hw_spi
uc1611_dogm240_hw_spi
uc1611_dogxl240_hw_spi
uc1701_dogs102_hw_spi
uc1701_mini12864_hw_spi
2015-07-20 23:11:13 +02:00
devsaurus
ce271f24f7
update u8glib version and site
2015-07-20 22:11:20 +02:00
devsaurus
b837726013
simplify device/display macros
2015-07-20 22:07:59 +02:00
devsaurus
05e3267f24
update to u8glib 1.18.1
2015-07-19 23:22:50 +02:00
devsaurus
8bd3d7d2bf
introduce lua_api_name parameter when building the display table
...
keeps the API as before and gets rid of hw_spi vs sw_spi topics
2015-07-19 21:57:14 +02:00
Vowstar
849407b275
Merge pull request #558 from DiUS/spiffs-0.3.2
...
Updated SPIFFS to 0.3.2.
2015-07-18 00:48:00 +08:00
Johny Mattsson
8d68ad7e15
Updated SPIFFS to 0.3.2, plus alignment fix.
2015-07-17 13:40:55 +10:00
devsaurus
1bc156e4d1
move display constructors into template-based functions
...
+ uniform generaration
+ addition of further displays
- slight unneccesary heap allocation when display drivers are included but not used
2015-07-16 23:23:43 +02:00
devsaurus
02d473dab0
revert local changes to u8glib
2015-07-16 21:31:00 +02:00