The .build.board=xx proptery is used for generating a macro named "ARDUINO_xxx".
C macro names should never have a "-" sign.
* current: ARDUINO_NodeMCU-32S
* should be: ARDUINO_=NodeMCU_32S
* fix NodeMCU-32S .build.board property
The .build.board=xx proptery is used for generating a macro named "ARDUINO_xxx".
C macro names should never have a "-" sign.
* current: ARDUINO_NodeMCU-32S
* should be: ARDUINO_=NodeMCU_32S
* fix compiler flags to be compatible to ESP8622/Arduino
see also "fix NodeMCU-32S .build.board property" #812 (https://github.com/espressif/arduino-esp32/pull/812#issuecomment-341990261)
`-DARDUINO_BOARD={build.board}` **is missing**
* Revert "fix NodeMCU-32S .build.board property"
This reverts commit ea57b1496a2e87d3977a31a29a4cf7d63216f008.
* ArduinoOTA would stop receiving any packets if the port received a zero-length UDP packet, commonly sent by network scanners like nmap. Fixed to flush() after every call to parsePacket(), even if read length is 0.
Additionally, added length checking to fix a potential buffer overflow in parseInt().
Finally, added an end() method that stops the OTA listener and releases resources.
* Only end MDNS in end() if mdns mode is enabled.
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~
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.
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
* Create ledcWrite_demo_ESP32_RGB.ino
adding the public domain example ledcWrite_demo_ESP32.ino to this repo. Added RGB to the name for people searching, added some comments, and renames things to make a bit more sense.
* Update ledcWrite_demo_ESP32_RGB.ino
renamed to ledcWrite_RGB.ino and added a couple more comments based on https://github.com/espressif/arduino-esp32/issues/689
* Rename libraries/ESP32/examples/AnalogOut/ledcWrite_demo_ESP32_RGB/ledcWrite_demo_ESP32_RGB.ino to libraries/ESP32/examples/AnalogOut/ledcWrite_RGB/ledcWrite_RGB.ino
Renamed.
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.