Commit Graph

67 Commits

Author SHA1 Message Date
devsaurus 4702c1f181 align source from esp8266 port 2017-12-18 22:06:47 +01:00
devsaurus 0b998e5612 tolerate multiple netconn callbacks for a single send job 2017-11-12 17:41:29 +01:00
devsaurus b2f09da2e2 ignore return code from netconn_delete, fix #2096 2017-09-12 22:22:00 +02:00
devsaurus 9f8664b8e6 Updated ESP-IDF to latest and adapt spi master. 2017-09-02 11:38:19 +02:00
Johny Mattsson d5d8990bf2 Merge pull request #2021 from larsstenberg/dev-esp32-getmac
ESP32: added functions wifi.sta.getmac() and wifi.ap.getmac()
2017-08-17 12:36:42 +10:00
devsaurus 412db2e339 propagate error code for close 2017-08-14 14:29:42 +02:00
larsstenberg 40e0be29ee ESP32: Ledc driver module (#2027)
* Inital commit for supporting ledc driver

* Added documentation. More fade functions and better naming of constants

* Better field checking during setup. Updated documentation

* Reworked LEDC module to be used with an object model to decrease repetition of parameters
2017-08-11 19:11:12 +02:00
devsaurus 4375e09c0b ignored unused functions if u8g2 module is skipped anyhow 2017-08-02 22:35:55 +02:00
devsaurus 64f8ac2876 u8g2: add rfb support 2017-07-27 23:29:37 +02:00
devsaurus f501b84090 signal an error in case TCP send data was only written partly 2017-07-21 22:50:36 +02:00
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
Lars Stenberg e6eb743b88 Added functions wifi.sta.getmac() and wifi.ap.getmac() 2017-06-30 23:55:43 +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
devsaurus 819284530e Add spi master. 2017-05-14 18:00:40 +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 fb62011ddf Add sdmmc module and enable fatfs. 2017-04-30 22:49:54 +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
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 1866e6f457 Add ws2812 module. 2017-04-14 19:56:27 +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
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 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 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 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
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 d48265348a Fixed various warnings. 2016-11-27 13:28:48 +11:00
Johny Mattsson c505cc0270 Preliminary gpio module.
The gpio ISR needs to go into the platform layer most likely, but that's
for later.
2016-11-26 21:54:05 +11:00
Johny Mattsson c4911ca391 Updated to latest IDF.
This fixes the panic-on-restart issue and the crash-on-uart-input-before-flash-mapped issue.

Node module updated to reflect new function names for sleep/restart.
2016-11-25 10:51:49 +11:00