Commit Graph

1210 Commits

Author SHA1 Message Date
me-no-dev
9fc3f1ebdd Fix wrong SPI peripheral enabled
Related: https://github.com/espressif/arduino-esp32/issues/634
2017-09-13 17:21:34 +03:00
Me No Dev
29a253ac98 Add initial SPIFFS library (#627)
* Add initial SPIFFS library

* Fix Deep Sleep Examples

* Missed one example
2017-09-12 11:09:59 +03:00
me-no-dev
39fb8c3044 Fix header deprecation 2017-09-12 09:42:14 +03:00
me-no-dev
ba929be27a Update IDF to 9a26296 2017-09-12 09:40:52 +03:00
张雷
0bce98e72c add Microduino-esp32 (#621) 2017-09-11 17:47:28 +03:00
markheloking
bb078ca943 Add Dongsen Tech Pocket 32 and fake "WeMos" WiFi&Bluetooth Battery (which is a Pocket 32 clone) (#620)
* Create new pocket_32 diretory for Pocket 32 board

* Create pins_arduino.h for pocket_32

* Update boards.txt to support Dongsen Tech Pocket 32 and fake "WeMos" WiFi&Bluetooth Battery
2017-09-10 23:34:31 +03:00
me-no-dev
59a6800cdf Enable clocks for UART1 and 2
Recent change in IDF disables those clocks at boot. This change should
help with that.

Fixes: https://github.com/espressif/esp-idf/issues/975
2017-09-10 20:24:41 +03:00
copercini
9edf65d56e Static IP example 2017-09-09 00:15:54 -03:00
Mark D
234c855c9b add configTzTime() to setup sntp using TZ environment variable (#608) 2017-09-05 11:15:55 +03:00
Me No Dev
0f83dbcfd6 Fix PlatformIO build
Ref: https://github.com/platformio/platform-espressif32/issues/33
2017-09-04 22:21:25 +03:00
Xie Yi
fd9cc002e8 Fix support for some arduino libraries which don't put source files under a src directory (#605)
* fix support for some arduino libraries

* no longer need line 1
2017-09-03 19:18:20 +03:00
Rouan van der Ende
a7108969a3 Missing missing xcrun fix. (#601)
Had to run "xcode-select --install" before your script worked.
2017-08-31 15:56:47 +03:00
me-no-dev
6707d4d331 Optimize timer drift
Fixes: https://github.com/espressif/arduino-esp32/issues/227
2017-08-26 00:01:02 +03:00
copercini
ad179548e4 SNI support (#592)
Server Name Indication (SNI) support for WiFiClientSecure

Fix https://github.com/espressif/arduino-esp32/issues/571 and https://github.com/espressif/arduino-esp32/issues/550
2017-08-23 21:33:26 -03:00
per1234
04044e2245 Use correct extra_flags property in recipe.S.o.pattern (#589)
Previously compiler.c.extra_flags was used in this recipe rather than compiler.S.extra_flags, which I believe to have been a typo.
2017-08-23 10:21:47 +03:00
reaper7
adff0716f9 add mhetesp32devkit and mhetesp32minikit boards (#587)
* add mhetesp32devkit and mhetesp32minikit

* add mhetesp32 variants
2017-08-20 10:49:06 +03:00
Alwin Arrasyid
4649db5e07 Add ESPectro32 board definition (#586)
* Add board definition for espectro32

* Fix ESPectro32 board definition
2017-08-20 07:24:47 +03:00
me-no-dev
8bca8d5466 Update IDF libs to 969f1bb (skip BT commits)
This update also increases BT stack size and enables reboot on exception
2017-08-18 11:12:58 +03:00
me-no-dev
856823ef19 Add support for 2MB flash and future option for different partition schemes 2017-08-17 20:00:22 +03:00
SDpower
be34c9e498 Add Heltec Automation WIFI Kit 32 and WIFI LoRa 32 2 board. (#584) 2017-08-17 19:24:27 +03:00
me-no-dev
77b03472c6 Set uart queue to NULL after free
Fixes: https://github.com/espressif/arduino-esp32/issues/435
2017-08-17 19:04:20 +03:00
me-no-dev
7d643df1ed Update espota for Windows 2017-08-17 17:00:49 +03:00
me-no-dev
20d40f0868 fix OTA
Fixes: https://github.com/espressif/arduino-esp32/issues/556
2017-08-17 16:50:44 +03:00
M5Stack
1b3e8fa2cf Add "M5Stack-Core-ESP32" boards support 2017-08-17 16:16:57 +03:00
Pranav Cherukupalli
e6ba0f6281 DOCUMENTATION: Moved installation instructions to separate page (#561)
* DOCUMENTATION: Moved installation instructions to separate page

* Added Fedora to contents table
* Added Issue/Bug Report section to README
* Some minor improvements

* DOCUMENTATION: Rename directory doc to docs

* Also move ISSUE_TEMPLATE.md to docs directory

* DOCUMENTATION: Use current repo's files

* This makes it consistent instead  of having few local and few pointing to
  espressif/arduino-esp32 by all linking to local files

* DOCUMENTATION: Fix hyperlink to issue/bug template in contents

* DOCUMENTATION: contents: supress platform specific installation instruction
2017-08-17 16:14:01 +03:00
Tomasz Scislowicz
3a8e28dc87 change esp_wifi_scan_start to async mode (#574) 2017-08-17 16:12:35 +03:00
Pranav Cherukupalli
41e36a72f3 uartEnd: Unlock mutex before detaching rx and tx (#554)
* uartEnd: Unlock mutex before detaching rx and tx

This should solve the device freezing issue when Serial.end() is called

* Unlock UART MUTEX only for detaching Rx and Tx

* Thanks to @me-no-dev for pointing it out that
   uart->dev->conf0.val can be inside mutex lock
2017-08-04 12:00:51 +03:00
me-no-dev
9618eec19e Set DNS IP to type V4
Fixes: https://github.com/espressif/arduino-esp32/issues/553
2017-08-02 09:32:05 +03:00
me-no-dev
a1bef8b5c3 improve Serial repeated begin/baud change 2017-08-02 00:32:42 +03:00
me-no-dev
4495659ac5 Increase the memory for loop task 2017-08-02 00:08:56 +03:00
me-no-dev
3af1710a92 Add initial support for Ethernet and examples 2017-08-02 00:02:45 +03:00
copercini
5c1b10f3bb Small improvements in update example (#552)
- 100ms is too low to get server response
2017-08-01 20:12:28 +03:00
me-no-dev
2aed417d09 Enable 1bit SDMMC for Olimex ESP32-EVB
Fixes:
https://github.com/espressif/arduino-esp32/issues/495#issuecomment-31604
2612
2017-08-01 18:16:48 +03:00
sticilface
91d02cc6d5 Change disconnect function (#466)
* Change disconnect function

Current implementation does not disconnect the WiFi. Use of `esp_wifi_disconnect()` does.

* Update WiFiSTA.cpp

put back the clear ssid + password
remove the duplicate `esp_wifi_set_config(WIFI_IF_STA, &conf);`
2017-08-01 12:59:52 +03:00
copercini
f54b0fcd14 Create Issue template (#504)
* Create ISSUE_TEMPLATE.md

* Add IDF component as example
2017-08-01 12:53:39 +03:00
pbecchi
706bf48708 EEPROM_library_ported_Partition_table_updated (#535)
* EEPROM_library_ported_Partition_table_updated

* Cleanup & formal corrections

* Make formatting of file consistent.

Readability change, Concern about the SubType being 0x99.

* Code formatting cleanup

* Code formatting cleanup

* Code formatting cleanup

* Remove commented out code

* Restore dropped bracket

* Update EEPROM.cpp

* Format Corrections

* deletedExample

* Corrected example

* Deleted interrupts/nointerrupts

* Update EEPROM.cpp
2017-08-01 12:51:38 +03:00
me-no-dev
0accabcee0 Fix some compilation errors 2017-08-01 12:08:38 +03:00
me-no-dev
ca7f6cc516 Update IDF libs to 9314bf0 2017-08-01 08:51:04 +03:00
Narongrat Srimee
b34d18f576 Add ThaiEasyElec's ESPino32 (#506)
* Create new espino32 diretory for ESPino32 board

* Delete wrong create file

* Create pins_arduino.h for espino32

* Update boards.txt to support ThaiEasyElec ESPino32

* Re-configure board name
2017-07-31 22:53:33 +03:00
bbx10
37ef5a43e3 Handle partial socket send (#503)
send() can return a value > 0 but less than size indicating it was able to accept some of the data in buffer. The caller must try again after updating the buffer pointer and size remaining.
2017-07-31 22:51:41 +03:00
Glen McGillan
2eaf846134 Spi pattern fix (#502)
* Add files via upload

Calls to writePattern() don't send the desired number of bytes when the pattern size doesn't divide evenly into the hardware FIFO size (e.g. sending 18-bit RGB data, 11 patterns take 63 bytes, so 1/64th of the data is never sent).

* Add files via upload

Remove white space changes.
2017-07-31 22:50:57 +03:00
Andreas Pokorny
b3fdfda914 Bugfix: Put every SPI access between begin / end Transaction (#509)
The change intrdocues a local RAII helper to simplify maintaining begin/end scopes

Signed-off-by: Andreas Pokorny <andreas.pokorny@siemens.com>
2017-07-31 22:46:15 +03:00
dstoiko
d8330cceec Added file.close() in manipulation functions (#514) 2017-07-17 03:44:04 +03:00
me-no-dev
13bb22de30 Fix SD Card not properly initializing 2017-07-07 11:34:54 +03:00
Stefan Mavrodiev
9d0ae7a6be Add support for OLIMEX ESP32-EVB and ESP32-GATEWAY boards (#480) 2017-07-03 18:32:12 +02:00
Joey Babcock
ad2adce65e Edit comments for clarity (#478)
* Edit comments for clarity

I was a little confused reading what this sketch did the first time so I attempted to edit these for clarity.

* code edits as well

Grammar fixes for some parts of the code as well
2017-07-02 17:54:20 +02:00
Pranav Cherukupalli
1be6a5c361 ESP32: Add DeepSleep examples (#473)
*Added a Timer wakeup example
*Added a Touch wakeup example
*Added an external source wakeup example
2017-06-29 09:31:39 +02:00
copercini
cfde557916 Heap optimization (#471)
* Remove duplicated include

* Clear certificates just after handshake

It can save up to 7k of heap
2017-06-29 09:30:59 +02:00
Pranav Cherukupalli
87093368d9 ResetReason: Add an additional method and a test case (#467)
Method:
--------
Added a verbose print method for ease.

Test Case:
-----------
Putting ESP32 to sleep will give a different reason on wake than the first
time power up.
2017-06-27 14:17:55 +02:00
Claude Heintz
23acb4d17b Two Stop Bit Workaround (#461)
* Update esp32-hal-uart.c

* Two Stop Bit Workaround

see https://github.com/espressif/esp-idf/blob/master/components/driver/uart.c  lines 118-127
2017-06-22 19:40:31 +02:00