me-no-dev
758553a786
Add analogRead, touchRead, dacWrite and updated esp-idf
2016-12-08 23:43:41 +02:00
me-no-dev
48abb79ed3
Remove autostart define overwrite
...
Fixes issue where switch will not properly trigger if Arduino is used
in IDF as component.
See
https://github.com/espressif/arduino-esp32/issues/83#issuecomment-265326
071
2016-12-07 11:06:33 +02:00
me-no-dev
ba04076f16
Move definitions to not conflict with C includes
2016-12-05 22:53:04 +02:00
me-no-dev
6dc34077c4
Add correct definitions for word
...
fixes: https://github.com/espressif/arduino-esp32/issues/76
2016-12-05 22:50:51 +02:00
me-no-dev
e77ec634a9
Fix deprecation warnings in ESP.cpp
2016-12-02 14:30:04 +02:00
me-no-dev
49f35ff070
use esp_random in WMath.cpp
2016-12-02 13:42:31 +02:00
me-no-dev
6db0ee1304
Optimize GPIO and account for micros overflow in delayMicroseconds
2016-12-02 13:03:51 +02:00
me-no-dev
8904f52c39
Allow phy to be initialized only if WiFi/BLE is used/enabled
...
fixes: https://github.com/espressif/arduino-esp32/issues/72
2016-12-01 13:23:17 +02:00
me-no-dev
1d1aeecde2
simplify WiFi boot procedure to prepare for on-demand stack load
...
currently ```esp_wifi_init``` have to be called in ```app_main``` or
WiFi will fail to boot. When possible to boot later, code will be moved
into ```_esp_wifi_start``` to be executed when necessary
2016-11-28 00:50:21 +02:00
me-no-dev
f4c2135a30
RTC pins have pull up/down elsewhere
...
use driver/gpio for now.
fixes: https://github.com/espressif/arduino-esp32/issues/66
2016-11-26 12:04:36 +02:00
Me No Dev
be2a26b3ff
set SCL to OUTPUT_OPEN_DRAIN
...
fixes: https://github.com/espressif/arduino-esp32/issues/69
2016-11-25 11:25:50 +02:00
Drake Youngkun Min
d8b2290313
Add 'fromString(const char*)', 'fromString(const String)' to IPAddress class ( #68 )
2016-11-24 09:46:11 +02:00
me-no-dev
5703b769f2
pull sdkconfig early so IDF does not warn about redefinition
2016-11-18 15:14:02 +02:00
me-no-dev
c30012ab78
Add Kconfig for IDF and option to disable HAL mutexes
...
IDF Options:
- Autostart Arduino (implements app_main)
- Disable HAL locks
- Set HAL debug level
- Auto-connect STA if configured (else will connect after WiFi.begin())
2016-11-18 15:07:25 +02:00
me-no-dev
7abb15ca62
reset i2c cmd buffer before read/write
...
related to [issue
53](https://github.com/espressif/arduino-esp32/issues/53 )
2016-11-17 00:46:56 +02:00
me-no-dev
6d097cd4b5
Add definitions for yield() and optimistic_yield()
...
Fixes: https://github.com/espressif/arduino-esp32/issues/54
2016-11-16 17:36:52 +02:00
me-no-dev
56cd8f63f0
Add HardwareSerial::write(const char *)
...
fixes: https://github.com/espressif/arduino-esp32/issues/55
2016-11-16 17:30:13 +02:00
me-no-dev
47babd2098
shave off some time when sending multiple bytes through SPI
2016-11-14 13:08:30 +02:00
me-no-dev
f0b7959425
add default pins for UART1 and UART2
...
NOTE: UART1's default pins can be used only when SPI Flash is DIO
thanks @ladyada
2016-11-13 17:01:44 +02:00
me-no-dev
2cc1a6a1da
add shiftIn shiftOut
...
thanks @ladyada
2016-11-13 16:53:56 +02:00
me-no-dev
bfe6e5ae77
optimize log facility for multi threading
...
- Shorten filenames
- Add log_printf with mutex locking to play nice with Serial and two
cores
2016-11-13 13:40:31 +02:00
me-no-dev
a5d52ac4f7
Do not include file that does not exist
2016-11-13 13:26:49 +02:00
me-no-dev
2515a3cfed
Make compiler not complain about 2 random prototypes
...
Issue is when Arduino.h is included in C file
2016-11-13 13:23:44 +02:00
me-no-dev
fb8f1244b7
wrong count checked for uartWrite
2016-10-29 14:34:18 +03:00
volca
261bc5ae85
Add from original Arduino.h ( #26 )
2016-10-27 15:43:27 +03:00
me-no-dev
6465d4fa8e
Make Arduino.h safe to include from C files
2016-10-26 04:07:52 +03:00
me-no-dev
a92f20edb2
include stdlib_noniso in Arduino.h
2016-10-26 02:13:00 +03:00
me-no-dev
29feaaa2d0
add some missing Arduino defines
2016-10-26 02:00:39 +03:00
me-no-dev
d7aed639ef
Add noniso.c implementation from ESP8266
2016-10-26 00:21:06 +03:00
me-no-dev
50c2ea529b
add ledc and sigma-delta api
2016-10-20 00:31:03 +03:00
me-no-dev
9f9fb41253
Merge branch 'i2c-thread-safe'
...
* i2c-thread-safe:
remove unnecessary locks
return proper errors
implement thread-safe i2c
2016-10-17 15:41:45 +03:00
me-no-dev
9a9ef063ee
Merge branch 'spi-thread-safe'
...
* spi-thread-safe:
remove unnecessary locks
implement thread-safe spi
2016-10-17 15:41:15 +03:00
me-no-dev
6327bbd3e9
do not lock for ets_printf
2016-10-17 15:34:55 +03:00
me-no-dev
988bcbf08f
Merge branch 'master' into i2c-thread-safe
2016-10-14 03:24:21 +03:00
me-no-dev
9116cc4311
remove unnecessary locks
2016-10-14 03:24:20 +03:00
me-no-dev
7de6da591a
Merge branch 'master' into spi-thread-safe
2016-10-14 03:16:09 +03:00
me-no-dev
cdee64cb07
remove unnecessary locks
2016-10-14 03:16:02 +03:00
me-no-dev
242bca9451
Implement thread-safe uart
2016-10-14 03:07:21 +03:00
me-no-dev
17c8ceb1b9
UART rework
...
many possible problems fixed in preparation for thread-safe
2016-10-14 03:02:40 +03:00
me-no-dev
d4dd33d2df
implement thread-safe spi
2016-10-11 15:51:09 +03:00
me-no-dev
f9f895797a
return proper errors
2016-10-11 15:11:51 +03:00
me-no-dev
9ec4389889
implement thread-safe i2c
2016-10-11 14:20:02 +03:00
me-no-dev
50b060ab32
really fix attachInterrupt to work on either core
2016-10-11 12:29:06 +03:00
me-no-dev
6125a40f93
fix GPIO attachInterrupt
2016-10-11 12:07:18 +03:00
me-no-dev
5d61d8ddd0
copy va_list in Print::printf
2016-10-11 11:42:47 +03:00
me-no-dev
658f81b792
attach uart isr on the current core
2016-10-11 11:16:43 +03:00
me-no-dev
1cc9f3bfef
fix Serial RX
...
This trick does not fix GPIO interrupts. Different INUM maybe for GPIO
on APP cpu
2016-10-11 03:59:34 +03:00
me-no-dev
e7d2c18742
Do not delete printf buffer if not required
2016-10-10 19:29:25 +03:00
me-no-dev
01961ef5c6
use local buffer for printf if size is equal or less than 64
2016-10-10 17:37:34 +03:00
me-no-dev
3ecb32c4ba
Prevent I2C Bus locks and wrong data being sent on retry
2016-10-10 14:54:36 +03:00