Commit Graph

903 Commits

Author SHA1 Message Date
me-no-dev
f5d6828c5a Adjust interrupt numbers for GPIO and Touch 2016-12-09 13:22:56 +02:00
Me No Dev
d1025b6b5d Update esp32-hal-i2c.c
wait for data to be latched and increase timeout in attempt to fix clock stretch issues
Connected issues:
http://esp32.com/viewtopic.php?f=19&t=632&p=2832#p2801
https://github.com/espressif/arduino-esp32/issues/81
https://github.com/espressif/arduino-esp32/issues/53
https://github.com/espressif/arduino-esp32/issues/11
2016-12-09 12:51:36 +02:00
me-no-dev
35e54f2a59 Add definitions for ADC, Touch and DAC pins 2016-12-09 00:54:04 +02:00
Me No Dev
ddb2541f5e Update README.md
Add instructions for using as IDF component
2016-12-09 00:34:28 +02:00
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
13268b9d3c Update README.md
- Link to Windows instructions
- Update instructions for Linux and Mac
2016-12-07 00:46:43 +02:00
Me No Dev
42c1d5897b Update windows.md
Fix formatting and numbering
2016-12-06 21:26:47 +02:00
me-no-dev
ee4a8259e2 Add from-scratch Windows installation instructions 2016-12-06 21:09:23 +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
ee36407b43 Update IDF libs 2016-12-02 14:50:43 +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
Hirotaka
3c81739b33 need close(sockfd) before sockfd = -1, "_connected = false and close socket" means stop() function. (#73) 2016-12-01 13:27: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
57c3650ea2 Disconnect WiFiClient on destruct 2016-11-29 03:27:01 +02:00
me-no-dev
b82d0e166a latest IDF, 240MHz and BLE enabled libs 2016-11-28 01:11:36 +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
lamloei
67fd652177 Create pins_arduino.h for Node32s(#64) 2016-11-21 21:16:13 +02:00
lamloei
dbf030fdaa Add Node32s to boards.txt (#63) 2016-11-21 21:15:39 +02:00
me-no-dev
58ac6fbf46 update idf libs 2016-11-18 18:32:28 +02:00
me-no-dev
1252f7f96e add "monitor" build target for idf 2016-11-18 17:58:32 +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
c82699a83d Make Wire inherit Stream
fixes: https://github.com/espressif/arduino-esp32/issues/57
2016-11-17 12:37:23 +02:00
Drake Youngkun Min
c0266615d5 Add TwoWire::write(const char *) (#56) 2016-11-17 12:33:42 +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
MaiKe Labs
ff9d1fb05c Add "Noduino Quantum" board (#49)
* Add "Noduino Quantum" board

* change the value of build.board from Quantum to QUANTUM
2016-11-13 17:35:26 +02:00
me-no-dev
d8aa61fa52 Optimize some error messages 2016-11-13 17:30:21 +02:00
me-no-dev
7e0811ec56 Update tools to latest IDF 2016-11-13 17:23:44 +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
b5e0ebfc89 Set Wire to use the pins defined in pins_arduino.h
thanks @ladyada
2016-11-13 16:57:25 +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
volca
d1b94df9a9 Add board ESPea32 (#36)
* Add from original Arduino.h

* Add board "ESPea32"

* cleanup

* cleanup

* Change SS to 5
2016-11-11 19:06:13 +02:00
Hendrik Linka
bb9ea85ae2 Change Nano32 SS to 5 (#41) 2016-11-11 19:05:58 +02:00
WEMOS Electronics
6cc5a9f05b Add "WEMOS LoLin32" boards support. (#35) 2016-11-08 10:54:56 +02:00
me-no-dev
fb8f1244b7 wrong count checked for uartWrite 2016-10-29 14:34:18 +03:00
me-no-dev
38513ed804 fix not booting when compiled through ArduinoIDE 2016-10-28 02:33:08 +03:00
me-no-dev
3c071e1d89 update IDF libraries and includes 2016-10-28 01:53:02 +03:00