- 17 Sep, 2018 10 commits
-
-
Junxiao Shi authored
fixes #1734
-
lbernstone authored
* Add delay into example to allow print before sleep * Changed to Serial.flush()
-
Ifediora Elochukwu C authored
-
tobozo authored
see #1800
-
LynXzp authored
(removed quotes from last line, and fixed indentation, no text changes)
-
Baruch Nissenbaum authored
-
lewis he authored
-
Adam Coddington authored
Add functionality allowing rxBuffer of HardwareSerial to be changed in size via HardwareSerial::setRxBufferSize. (#1855)
-
Jose Carlos Garcia Diaz authored
-
lbernstone authored
* Updated ISSUE_TEMPLATE to try to get better postings * Added line for PSRAM enabled * More complete info request as per @stickbreaker
-
- 27 Aug, 2018 1 commit
-
-
copercini authored
- Delete queue at end - Close BT connection before end - DeInit SPP
-
- 18 Aug, 2018 5 commits
-
-
me-no-dev authored
-
me-no-dev authored
-
chuck todd authored
The original pins_arduino.h did not correspond to the actual hardware.
-
chuck todd authored
If the esp32 is reset during a i2c read cycle the slave device may be in control of the SDA line. If the SDA line is held low, the esp32 cannot issue a START or STOP to recover the bus. The previous code did not correctly configure the SCL output pin, and it cycled SCL 9 times with SDA Low. Since the slave device was in a READ cycle, it just continued outputting the bits of the current byte. When the ACK/NAK bit space occurred, The low output value of SDA was interpreted as ACK so the slave device continued with the next byte. It never terminated the READ cycle. This new code will correctly recover from an interrupted READ
-
Eric authored
add a troubleshooting hint
-
- 16 Aug, 2018 1 commit
-
-
me-no-dev authored
Fixes: https://github.com/espressif/arduino-esp32/issues/1724
-
- 14 Aug, 2018 5 commits
-
-
Ivan Kravets authored
-
Martin authored
* informations about sketch * Update README.md
-
Tokusei Noborio authored
-
lbernstone authored
-
chuck todd authored
* ReSTART fix, Sequencing fix pr #1665 introduce a problem with ReSTART, when solving this problem I found an interaction between the TxFifo refill, RxFifo empty and CMD[] fill. during certain sequences a dataqueue command would be skipped, this skipping resulted in a mismatch between the contents of the TxFifo and the i2c command sequence. The problem manifested as an ACK error. In addition to this required bug fix I propose: * `Wire.begin()` be changed from a `void` to a `bool` this will allow the reset functionality of `Wire.begin()` to be reported. Currently `Wire.begin()` attempts to reset the i2c Peripheral, but cannot report success/failure. * `Wire.busy()` be added. this `bool` function returns the hardware status of the bus. This status can be use in multi-master environments for application level interleaving of commands, also in single master environment, it can be used to detect a 'hung' bus. With the functional change to `Wire.begin()` this allows app level recover of a hung bus. * `Wire.lastError()` value updated for all errors, previously when interleaving `Wire.endTransmission(false)` and `Wire.readTransmission(false)`, the 128 byte `Wire.write()` buffer was exhausted without generating and error(very exotic). I discovered this error when I created a sequence of directed reads to a EEPROM. Each directed read used 2 bytes of the 128 byte `write()` buffer, so after 64 consecutive ReSTART writes with ReSTART reads, `Wire()` had no room to record the directed address bytes. It generated just a NAK check without setting the EEPROMs internal register address. The succeeding ReSTART read succeeded at incorrect address. * Changes to the HAL layer: ** added `i2cGetStatus()` which returns the i2c peripheral status word, used to detect bus_busy currently ** added `i2cDebug()` programmatic control of debug buffer output ** changed `i2cAddQueue()` to allow data_only queue element this will allow a i2c transaction to use multiple data pointers. ** removed direct access to DumpInts(), DumpI2c() from app, use i2cDebug() to set trigger points * * Update esp32-hal-i2c.c * Update Wire.cpp * ReSTART, Sequencing pr #1665 introduce a problem with ReSTART, when solving this problem I found an interaction between the TxFifo refill, RxFifo empty and CMD[] fill. during certain sequences a dataqueue command would be skipped, this skipping resulted in a mismatch between the contents of the TxFifo and the i2c command sequence. The problem manifested as an ACK error. In addition to this required bug fix I propose: * `Wire.begin()` be changed from a `void` to a `bool` this will allow the reset functionality of `Wire.begin()` to be reported. Currently `Wire.begin()` attempts to reset the i2c Peripheral, but cannot report success/failure. * `Wire.busy()` be added. this `bool` function returns the hardware status of the bus. This status can be use in multi-master environments for application level interleaving of commands, also in single master environment, it can be used to detect a 'hung' bus. With the functional change to `Wire.begin()` this allows app level recover of a hung bus. * `Wire.lastError()` value updated for all errors, previously when interleaving `Wire.endTransmission(false)` and `Wire.readTransmission(false)`, the 128 byte `Wire.write()` buffer was exhausted without generating and error(very exotic). I discovered this error when I created a sequence of directed reads to a EEPROM. Each directed read used 2 bytes of the 128 byte `write()` buffer, so after 64 consecutive ReSTART writes with ReSTART reads, `Wire()` had no room to record the directed address bytes. It generated just a NAK check without setting the EEPROMs internal register address. The succeeding ReSTART read succeeded at incorrect address. * Changes to the HAL layer: ** added `i2cGetStatus()` which returns the i2c peripheral status word, used to detect bus_busy currently ** added `i2cDebug()` programmatic control of debug buffer output ** changed `i2cAddQueue()` to allow data_only queue element this will allow a i2c transaction to use multiple data pointers. ** removed direct access to DumpInts(), DumpI2c() from app, use i2cDebug() to set trigger points * * Forgot DebugFlags Return @andriyadi found this, total brain fade on my part.
-
- 30 Jul, 2018 4 commits
-
-
copercini authored
-
Gei0r authored
Because TCP is stream-based, an earlier read can 'take away' the "OK" response from the device, so that a later read doesn't get the message.
-
lbernstone authored
* Added instructions for installation with boards manager (stolen directly from esp8266) * changed to production link instead of dev * Added to main README. Made mods to images as requested. * Added links for development package * Moved version images to README.md * Just a little change for cleaner look * Cleaned up README.md and boards_manager.md to make installation easier.
-
copercini authored
-
- 28 Jul, 2018 2 commits
-
-
pacucha42 authored
-
WEMOS Electronics authored
-
- 26 Jul, 2018 1 commit
-
-
lbernstone authored
* Added instructions for installation with boards manager (stolen directly from esp8266) * changed to production link instead of dev * Added to main README. Made mods to images as requested. * Added links for development package
-
- 25 Jul, 2018 7 commits
-
-
me-no-dev authored
-
me-no-dev authored
-
lbernstone authored
* Added a define to format the spiffs in SPIFFS_Test.ino * Uncommented the define * Matched define names
-
MaValki authored
speed up uploading data. Now there is no need to call time consuming client.connected() method.
-
Marcin Gałczyński authored
* Selective compilation * Optimized component.mk * Autoconnect WiFi now forces WiFi
-
Jan P. Schümann authored
When a package of size 0 arrives, "buf" is created, but never released. (Sorry, that was my mistake in the last patch)
-
Bin authored
* Add M5Stack-FIRE board * updated m5stack-fire boards.txt * remove pins 16 and 17
-
- 24 Jul, 2018 4 commits
-
-
me-no-dev authored
-
Martin authored
Sketch for ESP32 boards that allow them to connect to WPA/WPA2 Enterprise Networks.
-
Schuemi authored
If you receive a package with a data length of zero, parsePacket returns 0, but rx_buffer will exist. So if another parsePacket with no read access returns to zeros, there is still data that can be read. This example would not work: https://www.arduino.cc/en/Reference/EthernetUDPParsePacket Also I added a check if rx_buffer exit when you try to flush it.
-
Ron M. Battle authored
* Add ttgo-lora32-v1 folder to variants folder * Add ttgo-lora32-v1 info to boards.txt * Add defs to pins_arduino.h for I2C OLED and SPI LoRa radio pinouts as per @stickbreaker
-