Me No Dev
600f4c4130
Update IDF to 1c3dd23
...
* Update mDNS and LEDC
* update toolchain
* Update IDF to 1c3dd23
* Advertise the board variant for Arduino OTA
* Add generic variant definition for mDNS
2018-01-18 00:56:58 +02:00
张雷
80a7d6084b
fix enable ADC on pin37,38 ( #822 )
2017-11-10 13:27:00 +02:00
copercini
3dc30dce81
Add compatibility macros with esp8266 ( #783 )
2017-10-30 10:27:26 +01:00
Me No Dev
55289a45af
Update IDF to 9274814 ( #767 )
...
* Update IDF to 9274814
* Fix error in i2c and Arduino
2017-10-24 00:21:00 +02:00
Jason K
11565343e6
Merge branch 'master' into master
2017-10-23 14:40:33 -04:00
chuck todd
a695187de8
Correct 10bit Device address handling.
...
The existing code did not follow protocol with 10bit addressed devices. Per _Philps/NXP Semiconductors UM10204 I2C-bus specification and user manual Rev. 6 4April2014_ pg.15 3.1.11 10-bit addressing:
~The first seven bits of the first byte are the combination of 1111 0xx of which the last two bits (xx) are the two Most-Significant Bits (MSB) of the 10-bit address; the eighth bit of the first byte is the R/!W! bit the determines the direction of the message~
2017-10-21 13:14:14 -06:00
Jason K
1270f40066
Add initial handling for long I2C reads.
2017-10-21 08:26:46 -04:00
chuck todd
7eff707ba6
Fix Early return when Address NAK is received ( #750 )
...
The i2cWrite() function was returning to the app before the i2c transaction had completed. This caused the next Wire() call to return a I2C_ERROR_BUSY.
2017-10-21 08:40:53 +02:00
me-no-dev
409c75da04
Implement ESP_LOGx override option
...
Usable for library developers who write code not dependent on Arduino.
Adding 3 lines to the includes will permit their debug messages to be
visible in Arduino IDE or when enabled under IDF
2017-10-14 00:06:55 +03:00
Ewald Wasscher
e6a5b68e40
Added argument to HardwareSerial.begin to specify whether the logic levels of the UART rx and tx lines should be inverted ( #719 )
2017-10-13 11:46:56 +03:00
me-no-dev
0fa25c09ef
Fix possible leak in String
...
Fixes: https://github.com/espressif/arduino-esp32/issues/710
2017-10-12 06:52:35 +03:00
chuck todd
2f0cfa92cd
Update pgmspace.h ( #707 )
...
Fix redefines of strXXX, original was using strnXXX with length set to 0x7fffffff. This caused problems with strcpy and strcat. The destination buffer was NULL'd to 0x7fffffff which killed the app.
2017-10-09 06:38:42 +03:00
Testato
8dc0c86457
Chip revision fix ( #704 )
...
* Chip revision fix
https://www.esp32.com/viewtopic.php?f=2&t=1358&sid=f77cd62ec254317f3bbb30d8ab75ca2a&start=10
* using of esp_chip_info instead of register reading
2017-10-08 14:48:50 +03:00
copercini
171032b701
Print an error when serial number is invalid ( #691 )
...
* Print error when serial number is invalid
* Move to the first check, change end by return
2017-10-04 11:12:21 +08:00
Luc
d208a36836
Use correct sign of offset for TZ variable ( #685 )
...
Use UTC instead of CDT for consistency
2017-10-01 10:19:00 +08:00
me-no-dev
28be506ce3
uncomment I2C debug so it can be used
2017-09-29 21:24:06 +08:00
Jason K
0cd62852da
I2c reset functionality ( #678 )
...
* Addition of a i2cReset method and timeout handling for the case where the i2c hardware FSM (state machine) gets stuck in a busy state.
* Use newly added i2cReset function within the wire library.
2017-09-29 21:17:13 +08:00
me-no-dev
af35773d65
OK Really change timer allocator
2017-09-28 18:38:07 +08:00
me-no-dev
17ece1bccd
Revert Timer Interrupt setup
2017-09-28 18:22:35 +08:00
me-no-dev
6d98555658
Change timer interrupt allocator
2017-09-28 16:45:08 +08:00
me-no-dev
f9b2d42a61
Change Touch interrupt allocator
2017-09-28 16:44:47 +08:00
me-no-dev
7991161f06
Change Pin Interrupt Allocator
2017-09-28 12:27:10 +08:00
me-no-dev
db77195404
Fix Serial
2017-09-27 13:50:05 +08:00
me-no-dev
d27d297195
Update IDF to c4e65d6
2017-09-22 17:28:54 +08:00
me-no-dev
e2bd93c092
Fix UART0 not able to read/available
2017-09-22 14:17:25 +08:00
me-no-dev
c66a020e80
Add guards to not compile BT code if not enabled
2017-09-21 19:08:18 +08:00
Luc
4092fc409e
Add baudRate function ( #651 )
...
usefull for ESP8266 compatibility
2017-09-21 17:00:12 +08:00
me-no-dev
db79c2ee95
Add api to get CPU temperature
...
Fixes: https://github.com/espressif/arduino-esp32/issues/563
Fixes: https://github.com/espressif/arduino-esp32/issues/625
Source:
https://github.com/pcbreflux/espressif/blob/master/esp32/arduino/sketchb
ook/ESP32_int_temp_sensor/ESP32_int_temp_sensor.ino
2017-09-18 17:47:06 +08:00
me-no-dev
ab0ea2f6da
Fix missing method from SPI HAL
...
Fixes: https://github.com/espressif/arduino-esp32/issues/640
2017-09-18 12:14:41 +08:00
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
39fb8c3044
Fix header deprecation
2017-09-12 09:42:14 +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
Mark D
234c855c9b
add configTzTime() to setup sntp using TZ environment variable ( #608 )
2017-09-05 11:15:55 +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
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
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
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