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
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
me-no-dev
c2f83f48e0
Revert "Fix enable Update partition"
...
This reverts commit 63e1daa5ea67ce0f9b89b789e4bb26672f64d32e.
2017-06-03 20:11:41 +03:00
me-no-dev
2e5743eaa1
Fix enable Update partition
2017-06-03 20:11:41 +03:00
me-no-dev
7db8f70956
change return type of micros() and millis()
...
Fixes: https://github.com/espressif/arduino-esp32/issues/384
2017-05-22 15:47:12 +03:00
me-no-dev
d36e9bbfa9
Change deprecated esp_efuse_read_mac method
2017-05-15 21:35:25 +03:00
me-no-dev
4b47402afd
Use static buffer for log_printf
2017-05-15 20:53:45 +03:00
me-no-dev
befebb7242
Change DPORT access macros
2017-05-15 20:53:09 +03:00
me-no-dev
450df7e3f8
fix libb64
...
Implements: https://github.com/esp8266/Arduino/pull/2883
Fixes: https://github.com/espressif/arduino-esp32/issues/313
Fixes: https://github.com/espressif/arduino-esp32/issues/344
2017-05-06 18:56:25 +03:00
me-no-dev
673f453da0
BT define the hal methods even if BT is disabled (but return false)
2017-05-06 18:50:20 +03:00
me-no-dev
768e57f285
Fix BT enabled check
2017-05-06 18:40:23 +03:00
me-no-dev
b879f80017
Allow Arduino to be run without BT support in IDF
...
Fixes: https://github.com/espressif/arduino-esp32/issues/343
2017-05-06 18:27:03 +03:00
WEMOS Electronics
a38ffe58fe
Add ESP.getChipId() function to get ESP32's ChipID. ( #322 )
...
* Add ESP.getChipId() function to get ESP32's ChipID.
* change getChipId() to getEfuseMac()
2017-05-05 09:59:54 +03:00
Severin Smith
cc73f17add
SPI_MODE2 and SPI_MODE3 configurations inverted ( #345 )
...
It appears that the configurations for `ck_out_edge` were inverted for `SPI_MODE2` and `SPI_MODE3`. You can check the technical reference manual on page 76, table 23 "Clock Polarity and Phase, and Corresponding SPI Register Values for SPI Master".
I've check with my oscilloscope that the current configuration is wrong and this fix corrects the issue.
2017-05-05 09:59:18 +03:00
me-no-dev
aad4b336d6
Add default config for BT init and offsets for partition table
2017-04-22 16:33:07 +03:00
me-no-dev
ee14bc2cc6
Mute leftover debug from WiFi
2017-04-13 09:13:45 +03:00
me-no-dev
fd81fd0ac3
Fix BT init compilation error
...
Fixes: https://github.com/espressif/arduino-esp32/issues/309
2017-04-12 20:53:21 +03:00
me-no-dev
b465858563
Check and format NVS partition if size has changed
2017-04-04 01:27:26 +03:00
me-no-dev
90322ae7eb
Make I2C work reliably with interrupts
...
Thanks @marcmerlin and @MartyMacGyver
2017-03-26 00:27:27 +02:00
me-no-dev
dda89947a7
Fix writePixels
2017-03-22 02:26:18 +02:00
me-no-dev
9388d8358e
Return true for boolean test on Serial
...
Fixes: https://github.com/espressif/arduino-esp32/issues/270
2017-03-20 11:26:34 +02:00
me-no-dev
786425509e
Track microseconds overflow
...
Closes: https://github.com/espressif/arduino-esp32/pull/267
2017-03-20 11:21:56 +02:00
me-no-dev
eb46978a8d
Add Arduino SAM compatible analogReadResolution and Non-Blocking ADC api
...
connected to: https://github.com/espressif/arduino-esp32/issues/220 and
https://github.com/espressif/arduino-esp32/issues/161
2017-03-03 15:53:20 +02:00
me-no-dev
1058e89dc3
Fix wrong bitmask returned for pins above 31
2017-03-03 14:42:14 +02:00
me-no-dev
5f2b00228c
IDF add some defaults and allow Arduino to run in single-core mode
2017-02-28 23:36:05 +02:00
Martin Sloup
00c1a65612
Improvements in EspClass ( #222 )
...
* Improvements in EspClass
- fixed not working functions for flash chip size, speed and mode
- added function to retrieve chip revision from eFuse
- flashRead / flashWrite supports encrypted flash
* Rename getCpuRevision function to getChipRevision
* Revert: flashRead / flashWrite supports encrypted flash
Reading and writing to encrypted flash has to be aligned to 16-bytes. Also NAND way of writing (i.e. flipping 1s to 0s) will not work with spi_flash_write_encrypted. Note: spi_flash_read_encrypted will always try to decrypt data, even if it wasn't encrypted in the first place.
2017-02-23 02:23:27 +02:00
me-no-dev
1d759380a6
Major IDF and Arduino Update
...
WiFi and BlueTooth can now be started and stopped at will.
basic functions added to esp32-hal to start and stop the BT radio
SimpleBLE class added to show the most basic functionality
Example to show how to switch between BT, WiFi or Both
2017-02-23 01:11:57 +02:00
me-no-dev
e873d577f7
Restructure Arduino.h a bit to help eclipse code indexer
2017-02-20 15:06:22 +02:00
me-no-dev
d0232d126a
SPI implement transaction locking
...
Use transactions to skip mutex locks for reads and writes
2017-02-14 04:15:38 +02:00
me-no-dev
9bd5de11a7
add hook for bluetooth to Arduino INIT
2017-02-14 04:15:38 +02:00
Martin Sloup
43cc3dc815
Fix for implicit declaration of function nvs_flash_init error ( #204 )
2017-02-13 01:56:47 +02:00
me-no-dev
4a90aeebc9
fix ESP:: getCpuFreqMHz
2017-02-11 23:36:16 +02:00
me-no-dev
450ea0d211
Update ESP class
2017-02-11 23:34:43 +02:00
me-no-dev
09f5f7266b
move yield to function
...
fixes: https://github.com/espressif/arduino-esp32/issues/193
2017-02-11 00:25:15 +02:00
Me No Dev
fb8fe671d6
New partitions ( #192 )
...
* Add new partition scheme
* Init NVS early, so it can be used without BT or WiFi
2017-02-10 14:11:24 +02:00
me-no-dev
7a7b697ff9
Add ESP::deepSleep(us)
...
fixes: https://github.com/espressif/arduino-esp32/issues/51
2017-02-08 20:32:49 +02:00
Martin Sloup
67128fcb2c
Fixes implementation of __FlashStringHelper ( #183 )
...
Previous __FlashStringHelper implementation was defines as a char which brought problem in case the method with char* parameter used overloading with __FlashStringHelper* parameter (they was identical). Now __FlashStringHelper is defined as a class and all casts between char* and __FlashStringHelper* are made with reinterpret_cast sugar.
2017-02-08 19:57:26 +02:00
Me No Dev
d02c1c786e
Update IDF, fix SS definition, add custom partitions and debug level selection ( #174 )
...
* Add build time partitions compilation
* Fix wrong definition of SS pin
* Add support for core debug level selection
* update idf libs
2017-02-06 15:17:11 +02:00
me-no-dev
de017a8a1b
Optimize SPI transfers to take one lock and do not return until completed
2017-02-01 02:14:36 +02:00
me-no-dev
6a1e7c1e99
Fix cbuf not being able to hold the full length
...
fixes: https://github.com/espressif/arduino-esp32/issues/145
2017-01-24 17:57:44 +02:00
me-no-dev
5f203e1a98
Add ESP::getSdkVersion
...
fixes: https://github.com/espressif/arduino-esp32/issues/146
2017-01-24 11:44:26 +02:00
me-no-dev
c8140f8288
add configTime, getLocalTime and support for time in Print
...
example:
```cpp
//done once on WiFi init
configTime(-7200, 3600, "pool.ntp.org");
//get local time
struct tm timeinfo;
if(!getLocalTime(&timeinfo)){
Serial.println("Failed to obtain time");
return;
}
//print time
Serial.println(&timeinfo);
//print time with different format
Serial.println(&timeinfo, "%A, %B %d %Y %H:%M:%S");
```
fixes: https://github.com/espressif/arduino-esp32/issues/29
2017-01-24 04:07:27 +02:00
sorscode
13f3ac569b
Enable pulseIn() ( #140 )
...
* Add files via upload
enable pulseIn()
* Remove optimistic_yield
2017-01-20 21:49:17 +02:00
me-no-dev
9e6e3249b6
update windows toolchain and platform.txt
2017-01-19 03:24:21 +02:00
me-no-dev
35316de8d3
revert toolchain for windows
2017-01-17 12:45:03 +02:00
Angus Gratton
ce5df79674
SDK headers: Use new esp-idf signal name VSPICLK_OUT_IDX ( #130 )
2017-01-16 12:12:13 +02:00
me-no-dev
6edf8a7795
fix renamed method names for SigmaDelta
2017-01-09 21:55:37 +02:00
me-no-dev
a4305284d0
LEDC Driver Update
...
- Add double precision to LEDC frequency
- Add method for writing frequencies (Tones)
- Add method for writing notes (8 channels polyphony anyone?)
2017-01-09 18:05:30 +02:00
me-no-dev
8e948096d4
Rename sd->sigmadelta in HAL
...
Change is to not be mistaken with SD Card
2017-01-09 17:57:17 +02:00