forked from espressif/arduino-esp32
-
Notifications
You must be signed in to change notification settings - Fork 0
sync #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
sync #9
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arduino-esp32 has to depend on main in autostart mode, for setup() and loop(), but this can be done with undefined symbol entries to avoid a large dependency cycle and other linker errors. Closes espressif/esp-idf#6968
* Add back ARDUINO_EVENT_WIFI_READY Fixes: espressif#5315 * use strncpy and strncmp for WiFi SSID and Password in AP and STA Fixes: espressif#5367 * Implement timeout for waitForConnectResult Fixes: espressif#5330 * Remove old definition of "reverse" from stdlib_noniso Fixes: espressif#5045 * Make "reverse" noniso conditional on ESP_DSP
) Commit d15e1b0 [1] in the 2.0.0 pull request espressif#4996 introduced a filter to connect only to WiFi networks with a RSSI of -75 or better. This results in strage behaviour, as a scan still shows networks, that can't be connected to, even though with older versions, connecting to those networks was possible and the connection (albeit slow) was stable. Remove the RSSI filter for now by setting the threshold to -127, i.e. the lowest possible value. Maybe in the future the filter threshold could be exposed to users, to allow filtering out nearly unreachable networks. [1] github.com/espressif/pull/4996/commits/d15e1b0
* Update toolchain * Update package_esp32_index.template.json * add optional component dependencies after Kconfig options are known (espressif#5404) Until this commit, Kconfig options (e.g. CONFIG_TINYUSB_ENABLED) were used in conditions preceding idf_component_register to determine which components need to be added to `arduino` component requirements. However the Kconfig options aren't known at the early expansion stage, when the component CMakeLists.txt files are expanded the first time and requirements are evaluated. So all the conditions evaluated as if the options were not set. This commit changes the logic to only add these components as dependencies when the Kconfig options are known. Dependencies become "weak", which means that if one of the components isn't included into the build for some reason, it is not added as a dependency. This may happen, for example, if the component is not present in the `components` directory or is excluded by setting `COMPONENTS` variable in the project CMakeLists.txt file. This also ensures that if the component is not present, it will not be added as a dependency, and this will allow the build to proceed. Follow-up to espressif#5391. Closes espressif#5319. * IDF master d93887f9f * PlatformIO updates for CI (espressif#5387) * Update PlatformIO CI build script - Switch to the latest toolchains 8.4.0 for ESP32, ESP32S2, ESP32C3 - Use PlatformIO from master branch for better robustness * Update package.json for PlatformIO Co-authored-by: Ivan Grokhotkov <[email protected]> Co-authored-by: Valerii Koval <[email protected]>
This PR is the initial documentation structure including the basic information about the project and Sphinx configuration. ####CONTENTS: - Getting Started - Installing - Boards - Libraries - Library Builder - Tutorials - ESP-IDF as Component - OTA Web Update - makeEspArduino - Troubleshooting - Contributing This PR also changes the README.md.
A typographical error is corrected in the 2nd line of the comment. From = " This is un example howto use Touch Intrrerupts " To = " This is an example of how to use Touch Intrrerupts "
- add callback function to HTTPUpdate - update example to print httpupdate progress - fix ArduinoIDE syntax coloring Signed-off-by: Jayantajit Gogoi <[email protected]>
…update Links to the new docs updated and new docs build badge added
* Fix compile archive arguments for the new toolchain * Add menu to S2 for picking through which port to upload Internal USB CDC requires to reset and wait for the new port (because persistence is not yet stable) * USB CDC should also be started in main * Fix URL and USB version for WebUSB * Update vendor callback API * Update CDC::write to use TX_DONE semaphore * Update USB_Serial example
- Device will not reset if previous baudrate was not 9600 - CDC Device is not recognized if WebUSB is enabled
* Fix ESP32-Solo WDT on HTTP OTA update Co-authored-by: Theo Arends <[email protected]>
…5418) Closes espressif#5398 Using the same non-blocking socket connect pattern for respecting connection timeout, copied from WiFiClient::connect. WiFiClient::connect uses lwip_connect_r, whereas start_ssl_client uses lwip_connect. I haven't found what is the difference between them. I tested both, both work ok, so I kept lwip_connect.
* Fix ESP32-Solo WDT on HTTP OTA update Co-authored-by: Theo Arends <[email protected]>
… is supported by lwip (espressif#5343) lwip lib bundled with esp32 Arduino supports only one ntp server. Any additional servers set are just silently ignored. This default is different from esp8266 Arduino core and very confusing. Most of the examples provided uses 3 different ntp servers for redundancy while only the first one is used actually. Addressing issue espressif#4964
Newly compiled esp32-camera driver from https://github.com/espressif/esp32-camera
* The board.txt has been updated. Added variant folder. Necessary additions for deneyapMiniKart were made in board.txt. Added pins_arduino to variant folder. deneyapMiniKart information has been added. * Added variant files and added text in board.txt Co-authored-by: Me No Dev <[email protected]>
* Add SparkFun ESP32 MicroMod to boards.txt Copied from the tarball found in the SparkFun board manager [JSON](https://raw.githubusercontent.com/sparkfun/Arduino_Boards/main/IDE_Board_Manager/package_sparkfun_index.json), v1.0.1 -- [tarball can be found here](https://github.com/sparkfun/Arduino_Boards/raw/main/IDE_Board_Manager/sparkfun-esp32-1.0.1.tar.bz2) * Add `pins_arduino.h` for ESP32 MicroMod Co-authored-by: Me No Dev <[email protected]>
## Summary Adds support for the new ATMegaZero ESP32-S2 board. Adds the relevant section to `boards.txt` and adds the folder for the `atmegazero-esp32s2` with the proper `pins_arduino.h` to the `variants` folder. ## Impact Allows users to compile code properly for the ATMegaZero ESP32-S2 without having to use a similar board and manually entering pin numbers. ## Links [ATMegaZero ESP32-S2](https://atmegazero.com/#/atmegazero_esp32s2_overview) Thanks!
) ## Summary This PR is a complete reffactoring of UART Serial Hardware and respective HAL in order to use IDF instead of current Register manipulation approach. It implements Arduino SerialEvent functionality. Fix espressif#5287 Fix espressif#5273 Fix espressif#5519 Fix espressif#5247 Fix espressif#5403 Fix espressif#5429 Fix espressif#5047 Fix espressif#5463 Fix espressif#5362 Fix espressif#5112 Fix espressif#5443 ## Impact It solves many reported issues related to UART. It was tested and works fine for ESP32, ESP-S2 and ESP32-C3.
* Add support and example for USB HID Devices * Add support and example for USB Vendor
* Include nvs_commit() on three methods In [Preferences.cpp](https://github.com/espressif/arduino-esp32/blob/master/libraries/Preferences/src/Preferences.cpp), the functions: ``` Preferences::clear() Preferences::remove() Preferences::end() ``` should be revised to include a call to `nvs_commit()` as required per [Non-volatile storage library](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/storage/nvs_flash.html) when using ``` nvs_erase_all() nvs_erase_key() nvs_close() ```
* Adds rxBufferSize parameter to begin() * Adds HardwareSerial::setRXBufferSize()
* Add support for the hardware CDC in ESP32-C3
espressif#5586) ## Summary Applies the upstream changes here: arduino/ArduinoCore-API@3b88acac8^...0d83f1a ## Impact Adds new String convenience methods that are now available in the mainline Arduino implementation, simplifying interoperability with C code that uses pointer+length strings rather than 0-termination. Also includes a change to avoid mutating the source string when taking a substring.
…ssif#5603) Fixes: espressif#5573 To reproduce: 1. Run any sample code that starts a BLE server, and does not call `setCallbacks`. 2. Connect to the device using the "LightBlue" app on iOS. 3. Observe crash shown in the issue linked above.
…elease_2-0-0 Supported devices table updated due the 2.0.0 release
Idf master 02092021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.