1805 Commits

Author SHA1 Message Date
devsaurus
d26c8ea290 promote closing flag to serve all socket types
and set it consistently also for intended netconn close to prevent any cb activity
2017-07-20 21:23:38 +02:00
devsaurus
abbd384da3 first batch of review feedback 2017-07-20 21:04:21 +02:00
devsaurus
070973e68c Port net module to netconn API. 2017-07-18 20:45:20 +02:00
devsaurus
5ee043cfb9 fix pin handling for rmt channels now that GPIO output matrix is cleared with
17747b3358
2017-07-13 23:00:24 +02:00
devsaurus
c13f83cd2e Updated ESP-IDF to latest. 2017-07-03 21:42:39 +02:00
Lars Stenberg
e6eb743b88 Added functions wifi.sta.getmac() and wifi.ap.getmac() 2017-06-30 23:55:43 +02:00
devsaurus
a56a7b2775 init ws2812_chains during platform_init 2017-06-20 23:09:14 +02:00
devsaurus
10e96a3b51 fix travis build 2017-06-13 19:03:25 +02:00
devsaurus
a8ff8f059d Add u8g2 module. 2017-06-13 18:38:09 +02:00
zelll
329bd73b63 ESP32: uart 1/2 supports (#1982)
* uart 1/2

* call -> pcall in uart_on_* functions

* fix docs

* fixed console driver when using custom console uart

* fixed line_inverse and error callback

* fixed a crash when uart.start() called more than one time
2017-06-13 18:33:32 +02:00
devsaurus
819284530e Add spi master. 2017-05-14 18:00:40 +02:00
devsaurus
9e7eb48fef Updated ESP-IDF to latest.
can: Use DPORT_(SET|clear)_PERI_REG_MASK for DPORT regs.
2017-05-13 22:30:13 +02:00
Arnim Läuger
d8b55051c7 Formatting fix ws2812 doc 2017-05-13 11:55:55 +02:00
devsaurus
52ed168cbe fix gpio doc, refer to gpio overview from module docs 2017-05-13 11:53:01 +02:00
Arnim Läuger
209bde603d Fix gpio pin mask generation and clarify available gpios. (#1965) 2017-05-12 11:10:44 +10:00
zelll
ff30f479e1 ESP32: CAN module (#1958)
* can extension

* can extension: bit timing and filter

* can -> CAN

* post CAN data callback

* CAN docs

* CAN: fixed receive, filter, extended frame

* reorder fn in can.md, remove driver_can/Kconfig

* fixed a leak when can.stop()
2017-05-07 09:35:17 +02:00
devsaurus
1915714bc2 update ws2812_compat.lua 2017-05-07 00:23:14 +02:00
Arnim Läuger
2acfa53ee8 add ws2812 compatibility layer (#1947) 2017-05-06 17:36:14 +02:00
devsaurus
1117137363 fix compile warnings 2017-05-05 22:51:21 +02:00
devsaurus
0ac7d3d942 Updated ESP-IDF to latest. 2017-05-01 17:57:48 +02:00
devsaurus
fb62011ddf Add sdmmc module and enable fatfs. 2017-04-30 22:49:54 +02:00
devsaurus
31cb312c72 fix insertion of rmt end marker 2017-04-27 23:13:24 +02:00
devsaurus
1ab8f526b0 fix ws2812 doc 2017-04-27 22:42:10 +02:00
zelll
b7fa8c592f ADC extension for ESP32 (#1927)
* added adc extension

* add adc_number, for adc2
2017-04-24 21:36:01 +02:00
Johny Mattsson
9faa63f116 bthci: fixed initialisation (#1928) 2017-04-24 15:46:05 +10:00
Johny Mattsson
c69b3b31e8 Updated ESP-IDF to latest. 2017-04-24 15:30:47 +10:00
Johny Mattsson
62a4fac5cc Updated ESP32 toolchain. 2017-04-24 15:24:05 +10:00
Arnim Läuger
a243e290a9 Add note about required make version. 2017-04-23 17:43:10 +02:00
devsaurus
9cca38767f check for outdated version of make 2017-04-23 17:36:21 +02:00
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