- 02 Nov, 2022 4 commits
-
-
Rotzbua authored
Update: * actions/checkout * actions/setup-python * actions/cache https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
-
Juan Luis Leal Contreras authored
Fixed #7406 . The "reason2str" macro in WiFiGeneric.cpp tries to read memory from index "-1" in "system_event_reasons" array when handling STA_DISCONNECTED event with reason 0. Dealing with reason 0 as a reason 1 (WIFI_REASON_UNSPECIFIED) will solve the problem (the reason for this event to arrive with reason 0 is unknown). #7406
-
Rodrigo Garcia authored
-
WereCatf authored
The original code assumes 100Hz FreeRTOS tick rate and just supplies vTaskDelay with the assumed number of ticks required for the wanted delay. This patch simply fixes it to use portTICK_PERIOD_MS, thereby working correctly regardless of what tick rate FreeRTOS has been configured to run at.
-
- 28 Oct, 2022 1 commit
-
-
Sanket Wadekar authored
Co-authored-by: Pedro Minatel <pedro.minatel@espressif.com>
-
- 26 Oct, 2022 5 commits
-
-
Wind-stormger authored
-
Michael Ammann authored
Somehow the fix #7129 was not applied to NORA-W10 probably both changes were happening at around the same time, this PR fixes this. Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
-
TAMC authored
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
-
Hamish Cunningham authored
As per #6962 we have another case of build.flash_type incorrectly named qspi; this commit fixes the issue for the unphone9 board. Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
-
lewis he authored
TBeam adds a revision option to facilitate the differentiation of boards of different versions (#7332) Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
-
- 25 Oct, 2022 2 commits
-
-
Vojtěch Bartoška authored
* Update of supported SoCs Changed ESP32-S3 support to stable. * Update getting_started.rst Co-authored-by: Pedro Minatel <pedro.minatel@espressif.com>
-
Wai Weng authored
* Added support for Cytron Maker Feather AIoT S3. * 1. Select OPI PSRAM by default. 2. Fixed pin name error in variant.cpp. 3. Added definition for RGB_BUILTIN. * Define the RGB_BUILTIN as shown in #6979. * Added pin definition for A12 (Vin Sense).
-
- 24 Oct, 2022 2 commits
-
-
mjysci authored
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
-
Jesse Peterson authored
board.txt
-
- 29 Sep, 2022 2 commits
-
-
Vojtěch Bartoška authored
Add v2.0.5 into Issue Template
-
Vojtěch Bartoška authored
Update of Issue template with addition of new version 2.0.5.
-
- 27 Sep, 2022 1 commit
-
-
Me No Dev authored
-
- 23 Sep, 2022 2 commits
-
-
Me No Dev authored
-
Tomáš Pilný authored
* Doc update: added note about global arduino component * Requested changne IDF -> ESP-IDF
-
- 19 Sep, 2022 1 commit
-
-
Sergei Silnov authored
-
- 17 Sep, 2022 3 commits
-
-
me-no-dev authored
-
Zeynep Dicle authored
* Add new board (Deneyap Kart 1A) * Update pins_arduino.h * Add newly board (Deneyap Kart G) New Deneyap Family member, wearable development board
-
RefactorFactory authored
The HID semaphore allows USBHID::SendReport() to wait for the completion of report sending. With a zero timeout xSemaphoreTake() after calling tud_hid_n_report(), occasionally, the following would happening: 1. USBHID::SendReport() would send a report by calling tud_hid_n_report(). 2. The send would complete and (presumably on another thread) tud_hid_report_complete_cb() would be called and it would xSemaphoreGive() the semaphore. 3. In USBHID::SendReport(), the zero timeout xSemaphoreTake(sem, 0) would succeed, taking the semaphore. 4. On the next line, xSemaphoreTake(sem, timeout_ms ...) would timeout because the semaphore was already taken by the previous line of code. The result would be waiting timeout_ms for no reason. The purpose of the zero timeout xSemaphoreTake() is to clear the semaphore in case a previous SendReport() timed out waiting for the semaphore. In that case, tud_hid_report_complete_cb() may be called after the timeout, giving the semaphore. Then the next SendReport() would start with the semaphore given, which isn't desired if we want to call xSemaphoreTake(sem, timeout_ms ...) on it. There have also been other cases where tud_hid_report_complete_cb() is called an extra time, causing the same situation. The fix is to move the zero timeout xSemaphoreTake() before the call to tud_hid_n_report(). This eliminates the race between the zero timeout xSemaphoreTake() and tud_hid_report_complete_cb() in the common case when no timeout occurs. There is still a possible race condition between the zero timeout xSemaphoreTake() and tud_hid_report_complete_cb() in the case of a timeout, but that should be rarer.
-
- 16 Sep, 2022 3 commits
-
-
David McCurley authored
Issue: Serial data sent during frequency change is corrupted. Fixes corrupt debug message by printing the message after the frequency change is completed.
-
me-no-dev authored
-
Me No Dev authored
* Add IDF libs from v4.4.2 * Implement build time elf2bin for the bootloader
-
- 15 Sep, 2022 2 commits
-
-
Rodrigo Garcia authored
* Adds noInterrupt() and interrupt() functionality * Adds sei/cli Adds back sei()/cli() macros Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
-
Rodrigo Garcia authored
* Changes UART ISR to only trigger on RX FIFO Full and timeout * changes initial RX timeout * Eliminates extra testing for _uart != NULL * reconfiguration with "uartSetFastReading()" * Adds new function "uartSetFastReading()" * changed default onReceive() behaviour * forces User callback in case of error * Error Code Order Set NO_ERROR as first error code, same as ESP_OK = 0
-
- 14 Sep, 2022 12 commits
-
-
Ren Xiao authored
-
Tomáš Pilný authored
* Initial commit with guide on building libs wirh higher debug level * Added reference to FAQ * Reword portion of core_debug.rst * Removed extra empty line Co-authored-by: Vojtěch Bartoška <76958047+VojtechBartoska@users.noreply.github.com>
-
i3water authored
add boards WiFiduinoV2&WiFiduino32S3
-
Sanket Wadekar authored
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
-
Jason2866 authored
-
Jason2866 authored
-
Rodrigo Garcia authored
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
-
Tomáš Pilný authored
-
RefactorFactory authored
Arduino-esp32 2.0.4 was released with a version of TinyUSB hid_device.h that uses uint16_t for the last argument: https://github.com/espressif/arduino-esp32/blob/2.0.4/tools/sdk/esp32s2/include/arduino_tinyusb/tinyusb/src/class/hid/hid_device.h TU_ATTR_WEAK void tud_hid_report_complete_cb(uint8_t instance, uint8_t const* report, uint16_t len); But USBHID implements this callback with uint8_t: https://github.com/espressif/arduino-esp32/blob/2.0.4/libraries/USB/src/USBHID.cpp void tud_hid_report_complete_cb(uint8_t instance, uint8_t const* report, uint8_t len){ if (tinyusb_hid_device_input_sem) { xSemaphoreGive(tinyusb_hid_device_input_sem); } } The result is that when USBHIDKeyboard sends a report to the host, it times out, waiting 100 ms for the callback to be called. It does this once for pressing the key and once for releasing the key, so 100 ms * 2 = 200 ms. The latest version of hid_device.h reverts the last argument to uint8_t: https://github.com/espressif/arduino-esp32/blob/860b104691a28f77896ac544c7745de1ba53642d/tools/sdk/esp32s2/include/arduino_tinyusb/tinyusb/src/class/hid/hid_device.h TU_ATTR_WEAK void tud_hid_report_complete_cb(uint8_t instance, uint8_t const* report, /*uint16_t*/ uint8_t len ); But these commits suggest that the last argument will eventually be changed to uint16_t: https://github.com/hathach/tinyusb/commit/556b5d5044bd02e89d6b6c6f21e95d46f5fcdfc1 change report len in hid API from uint8_t to uint16_t since HS interrupt endpoint can be up to 1024, 8-bit is not enough. affected APIs are: - tud_hid_n_report() / tud_hid_report() - tud_hid_report_complete_cb() https://github.com/hathach/tinyusb/commit/b495d6f8ec263e51b0683ab85ff9e54dab6f5fd3 temporarily revert len back to uint8_t in tud_hid_report_complete_cb() for up coming release To prevent this from becoming broken again, in preparation for the change to uint16_t, make USBHID resilient to any type for the last argument for tud_hid_report_complete_cb() by using some C++ template metaprogramming, adapted from https://stackoverflow.com/a/22632571. Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
-
Jan Procházka authored
* add default SPI pins ifndef in arduino_pins.h * Revert "add default SPI pins ifndef in arduino_pins.h" This reverts commit be35b83ab997a88242269621cccbe1d17a0a844f. * Add missing default SPI pins * revert change for d32_pro
-
Tomáš Pilný authored
* Removed option to change CHANNEL * Revert "Removed option to change CHANNEL" This reverts commit b2ec27de1d2d4703a15f6397550a46896413828a. * Fixed the ability to change CHANNEL * WiFi scan only on selected channel
-
FedericoBusero authored
-