Commit Graph

1826 Commits

Author SHA1 Message Date
devsaurus 587bfd4084 fix unitialized value error in release build 2017-04-21 14:53:54 +02:00
devsaurus ebee637a53 Update to latest IDF. 2017-04-20 22:44:22 +02:00
Arnim Läuger 7386f342b5 ESP32: Use fwrite() instead of printf() for printing strings from Lua. (#1919)
* use fwrite() instead of printf() for printing strings from Lua

Fixes #1914.
2017-04-20 09:40:53 +10:00
Johny Mattsson 8ee61c51cc Merge pull request #1920 from devsaurus/uart_flush
ESP32: Establish flushing of uart to leverage buffering putchar().
2017-04-19 10:16:45 +10:00
devsaurus 018a67a710 establish flushing of uart to leverage buffering putchar() 2017-04-18 22:43:03 +02:00
Arnim Läuger b72cb34d6e Add gpio doc. (#1909)
* Add gpio doc.
2017-04-15 20:07:55 +10:00
Arnim Läuger 2c30644835 Fix list formatting in ws2812 doc. 2017-04-14 20:08:38 +02:00
devsaurus 066e8d60fa install rmt isr as shared for dht and onewire 2017-04-14 19:56:36 +02:00
devsaurus 1866e6f457 Add ws2812 module. 2017-04-14 19:56:27 +02:00
devsaurus 61bd4821b3 reduce verbosity, otherwise travis ci terminates job due to 4mb log constraint 2017-04-14 19:42:16 +02:00
devsaurus 927ee7fc5f Add dht module. 2017-04-14 19:18:38 +02:00
devsaurus c8e99d50a5 Updated to latest IDF. 2017-04-14 00:22:33 +02:00
devsaurus 90f5b7696b handle undefined CONFIG_CONSOLE_BIT_RATE_AUTO 2017-04-06 21:09:22 +02:00
devsaurus 3694ffa957 ow: update rmt handover when switching pins 2017-04-01 14:12:58 +02:00
Arnim Läuger 13cfd69396 Increase main task stack size to 8kB. 2017-04-01 10:10:44 +02:00
devsaurus e2fdd4adbe Manage RMT channel resources with alloc()/release(). 2017-04-01 10:09:10 +02:00
Johny Mattsson e33fb81b77 Decouple LUAL_BUFFERSIZE from BUFSIZ, revert to 1024.
The IDF has dropped BUFSIZ to 128, which is not a good thing for our Lua.
2017-03-29 11:56:17 +11:00
devsaurus cffa94d104 Increase main task stack size to 6kB. 2017-03-28 10:39:13 +02:00
Arnim Läuger 666b62c784 Note about timer resolution 2017-03-27 10:31:25 +02:00
Arnim Läuger 1935a642b2 Add ESP32 README.md and build/flash docs (#1873) 2017-03-24 23:51:13 +01:00
devsaurus 1116bb2c71 ow: handle misconfigured bus gracefully with timeout 2017-03-20 22:20:45 +01:00
Arnim Läuger 21e1cadf05 ESP32: Fix event id for post_net_accept() (#1869)
* ESP32: Fix event id for post_net_accept()
2017-03-20 00:51:51 +11:00
devsaurus 4b647d007f Remove IRAM requirement from gpio/single_pin_isr 2017-03-17 17:38:17 +01:00
devsaurus fe11abdea5 remove tmr.wdclr 2017-03-17 07:50:32 +01:00
Arnim Läuger cbad19be8e Fix float version, auto-detect int/float, OO tmr (#1866) 2017-03-17 07:50:32 +01:00
Arnim Läuger 214be1625a Fix self.pin when specifying lpin for readTemp() (#1865) 2017-03-17 07:50:32 +01:00
Jonathan Karras 784fefebe7 Update DS18b20 examples (#1851)
- Remove old non-async examples from `lua-examples`.
- Rename `ds18b20.EN.md` to `README.md`
- Change remaining `toBase64` calls to the more standard `toHex` call.
- Fix some spelling and markdown formatting issues in README file.

Addresses issue #1841
2017-03-17 07:50:31 +01:00
Jonathan Karras d53ac8db90 Change address printing to Hex from Base64. (#1840) 2017-03-17 07:50:31 +01:00
vsky 52f41a840c Re-write DS18B20 asynchronous example (#1820) 2017-03-17 07:50:31 +01:00
devsaurus 961c1c72b2 Add ow module. 2017-03-17 07:50:31 +01:00
devsaurus a3dc13e3fb fix tmr.interval() 2017-03-09 23:31:02 +01:00
devsaurus b3ec03e1fe fix i2c and wifi doc formatting 2017-03-08 17:56:46 +01:00
devsaurus 2b98037fa9 refine ack handling for i2c hw master 2017-03-08 16:38:43 +01:00
devsaurus d4b6180cd2 fix sigma_delta component naming 2017-03-07 23:05:09 +01:00
devsaurus e203a5829c add tmr module 2017-03-07 20:54:48 +01:00
devsaurus e3e0d88fc1 fix i2c doc 2017-03-02 21:47:22 +01:00
devsaurus 0b1e58d6dd correct portYIELD 2017-03-02 21:37:32 +01:00
devsaurus 859e1a3004 first draft implementation of i2c slave 2017-03-02 21:37:13 +01:00
Johny Mattsson dbc8d791c6 Added node.chipid() based on esptool's formula. 2017-03-02 22:29:40 +11:00
Johny Mattsson 602979bfa8 Updated to latest IDF & toolchain.
Using new BATCH_BUILD flag for CI build.
2017-03-02 21:37:03 +11:00
devsaurus f5632f41f9 extend i2c master with hardware interfaces for synchronous and asynchronous operation 2017-02-04 20:14:13 +01:00
devsaurus 381726f103 add i2c module 2017-02-02 21:40:36 +01:00
devsaurus 4fcb1404b6 add simga_delta module 2017-01-13 22:34:24 +01:00
Johny Mattsson 9f8dc0271b Updated to latest IDF. 2017-01-10 11:37:49 +11:00
Johny Mattsson ea59007bc3 WiFi module documentation and updates.
Addresses one point of #1615.
2017-01-03 12:57:45 +11:00
Johny Mattsson 7abda5c9e0 Updated to latest IDF.
- Switched hardcoded interrupts to new IDF interrupt allocation
framework.

- gpio module switched to the IDF's per-pin interrupt callback service.

- Improved NodeMCU linker script since it broke with the IDF upgrade.

- Various compatibility updates.
2016-12-30 19:25:48 +11:00
Johny Mattsson 4ece8de4d9 net module: hold/unhold support.
As per @djphoenix's work on the ESP8266 side.
2016-12-30 15:55:14 +11:00
Johny Mattsson 6bce18f9ac net module: Server timeout support
As per @djphoenix's version on the ESP8266 side.
2016-12-30 15:39:07 +11:00
Johny Mattsson 334ba08131 Split wifi.on() into wifi.sta.on()/wifi.ap.on()
As discussed in #1615.
2016-12-10 15:25:57 +11:00
Johny Mattsson b29d436400 Updated to latest IDF. 2016-12-06 17:50:31 +11:00