Skip to content
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

Fix hal-uart truncated tx/rx buffer size (uint16_t -> uint32_t) #9554

Merged
merged 1 commit into from
Apr 29, 2024
Merged

Fix hal-uart truncated tx/rx buffer size (uint16_t -> uint32_t) #9554

merged 1 commit into from
Apr 29, 2024

Conversation

Unbinilium
Copy link
Contributor

Description of Change

Changed the parameter types of rx_buffer_size and tx_buffer_size in the incoming parameters of the uartBegin function from uint16_t to uint32_t, which solved 2 issues:

  • When setting a tx / rx buffer larger than 65535 bytes, the function returns normally without warning, but the actual buffer is not the same as the one set by the user.
  • Be able to use tx / rx buffer which larger than 65535 bytes.

Tests scenarios

  • Arduino IDE 2.3.2 Linux_64
  • ESP32S3

Related links

The uart_driver_install function accepts incoming tx / rx buffer size parameters of type int: https://github.com/espressif/esp-idf/blob/636ff35b52f10e1a804a3760a5bd94e68f4b1b71/components/esp_driver_uart/include/driver/uart.h#L113

Copy link
Contributor

Messages
📖 🎉 Good Job! All checks are passing!

👋 Hello Unbinilium, we appreciate your contribution to this project!


Click to see more instructions ...


This automated output is generated by the PR linter DangerJS, which checks if your Pull Request meets the project's requirements and helps you fix potential issues.

DangerJS is triggered with each push event to a Pull Request and modify the contents of this comment.

Please consider the following:
- Danger mainly focuses on the PR structure and formatting and can't understand the meaning behind your code or changes.
- Danger is not a substitute for human code reviews; it's still important to request a code review from your colleagues.
- To manually retry these Danger checks, please navigate to the Actions tab and re-run last Danger workflow.

Review and merge process you can expect ...


We do welcome contributions in the form of bug reports, feature requests and pull requests.

1. An internal issue has been created for the PR, we assign it to the relevant engineer.
2. They review the PR and either approve it or ask you for changes or clarifications.
3. Once the GitHub PR is approved we do the final review, collect approvals from core owners and make sure all the automated tests are passing.
- At this point we may do some adjustments to the proposed change, or extend it by adding tests or documentation.
4. If the change is approved and passes the tests it is merged into the default branch.

Generated by 🚫 dangerJS against 0070493

@lucasssvaz lucasssvaz added Area: Peripherals API Relates to peripheral's APIs. Peripheral: UART labels Apr 23, 2024
Copy link
Contributor

Memory usage test (comparing PR against master branch)

The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.

MemoryFLASH [bytes]FLASH [%]RAM [bytes]RAM [%]
TargetDECINCDECINCDECINCDECINC
ESP32S3💚 -240💚 -0.010.00000.000.00
ESP32S2💚 -360💚 -0.010.00000.000.00
ESP32C3💚 -600.000.00000.000.00
ESP32C6💚 -600.000.00000.000.00
ESP32H2💚 -1000.000.00000.000.00
ESP32💚 -48⚠️ +36💚 -0.010.00000.000.00
Click to expand the detailed deltas report [usage change in BYTES]
TargetESP32S3ESP32S2ESP32C3ESP32C6ESP32H2ESP32
ExampleFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAM
ArduinoOTA/examples/BasicOTA💚 -200💚 -320💚 -60💚 -60--💚 -160
AsyncUDP/examples/AsyncUDPClient💚 -160💚 -280💚 -60💚 -60--💚 -160
AsyncUDP/examples/AsyncUDPMulticastServer💚 -200💚 -280💚 -60💚 -60--💚 -160
AsyncUDP/examples/AsyncUDPServer💚 -200💚 -280💚 -60💚 -60--💚 -160
BLE/examples/BLE5_extended_scan💚 -200--💚 -60💚 -6000--
BLE/examples/BLE5_multi_advertising💚 -160--💚 -60💚 -6000--
BLE/examples/BLE5_periodic_advertising💚 -200--💚 -60💚 -6000--
BLE/examples/BLE5_periodic_sync💚 -200--💚 -60💚 -6000--
BLE/examples/Beacon_Scanner💚 -200--💚 -60💚 -6000💚 -160
BLE/examples/Client💚 -200--💚 -60💚 -6000💚 -160
BLE/examples/EddystoneTLM_Beacon💚 -200--💚 -60💚 -60--💚 -160
BLE/examples/EddystoneURL_Beacon💚 -200--💚 -60💚 -60--💚 -200
BLE/examples/Notify💚 -200--💚 -60💚 -6000💚 -120
BLE/examples/Scan💚 -200--💚 -60💚 -6000💚 -160
BLE/examples/Server💚 -160--💚 -60💚 -6000💚 -200
BLE/examples/Server_multiconnect💚 -200--💚 -60💚 -6000💚 -120
BLE/examples/UART💚 -200--💚 -60💚 -6000💚 -160
BLE/examples/Write💚 -240--💚 -60💚 -6000💚 -160
BLE/examples/iBeacon💚 -160--💚 -60💚 -6000💚 -160
DNSServer/examples/CaptivePortal💚 -200💚 -280💚 -60💚 -60--💚 -160
EEPROM/examples/eeprom_class💚 -200💚 -280💚 -60💚 -6000💚 -160
EEPROM/examples/eeprom_extra💚 -200💚 -280💚 -60💚 -6000💚 -160
EEPROM/examples/eeprom_write💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/AnalogOut/LEDCFade💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/AnalogOut/LEDCSoftwareFade000000000000
ESP32/examples/AnalogOut/SigmaDelta000000000000
ESP32/examples/AnalogOut/ledcFrequency000000000000
ESP32/examples/AnalogOut/ledcWrite_RGB💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/AnalogRead💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/AnalogReadContinuous💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/ArduinoStackSize💚 -200💚 -280💚 -60💚 -60💚 -100💚 -160
ESP32/examples/CI/CIBoardsTest💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/Camera/CameraWebServer💚 -200💚 -280------💚 -160
ESP32/examples/ChipID/GetChipID💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/DeepSleep/ExternalWakeUp💚 -200💚 -280------💚 -160
ESP32/examples/DeepSleep/TimerWakeUp💚 -200💚 -280💚 -60💚 -60--💚 -160
ESP32/examples/DeepSleep/TouchWakeUp💚 -200💚 -280------💚 -160
ESP32/examples/FreeRTOS/BasicMultiThreading💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/FreeRTOS/Mutex💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/FreeRTOS/Queue💚 -200💚 -280000000💚 -160
ESP32/examples/FreeRTOS/Semaphore💚 -200💚 -280💚 -60💚 -60💚 -100💚 -160
ESP32/examples/GPIO/BlinkRGB000000000000
ESP32/examples/GPIO/FunctionalInterrupt💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/GPIO/FunctionalInterruptStruct💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/GPIO/GPIOInterrupt💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/HWCDC_Events00--💚 -60💚 -6000--
ESP32/examples/MacAddress/GetMacAddress💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/RMT/RMTCallback💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/RMT/RMTLoopback💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/RMT/RMTReadXJT💚 -200💚 -280000000💚 -160
ESP32/examples/RMT/RMTWriteNeoPixel💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/RMT/RMT_CPUFreq_Test💚 -200💚 -280💚 -60💚 -60💚 -100💚 -160
ESP32/examples/RMT/RMT_EndOfTransmissionState💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/RMT/RMT_LED_Blink💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/ResetReason/ResetReason💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/ResetReason/ResetReason2💚 -200💚 -280💚 -60💚 -60💚 -100💚 -160
ESP32/examples/Serial/BaudRateDetect_Demo💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/Serial/OnReceiveError_BREAK_Demo💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/Serial/OnReceive_Demo💚 -200💚 -280💚 -60💚 -60💚 -100💚 -160
ESP32/examples/Serial/RS485_Echo_Demo💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/Serial/RxFIFOFull_Demo💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/Serial/RxTimeout_Demo💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/Serial/Serial_All_CPU_Freqs💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/Serial/Serial_STD_Func_OnReceive💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/Serial/onReceiveExample💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/TWAI/TWAIreceive💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/TWAI/TWAItransmit💚 -200💚 -280💚 -60💚 -60💚 -100💚 -160
ESP32/examples/Template/ExampleTemplate000000000000
ESP32/examples/Time/SimpleTime💚 -200💚 -280💚 -60💚 -60--💚 -160
ESP32/examples/Timer/RepeatTimer💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/Timer/WatchdogTimer💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/Touch/TouchButtonV2💚 -200💚 -280--------
ESP32/examples/Touch/TouchInterrupt💚 -200💚 -280------💚 -160
ESP32/examples/Touch/TouchRead💚 -200💚 -280------💚 -160
ESP32/examples/Utilities/HEXBuilder💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/Utilities/MD5Builder💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP32/examples/Utilities/SHA1Builder💚 -200💚 -280💚 -60💚 -60💚 -100💚 -160
ESP_I2S/examples/ES8388_loopback💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP_I2S/examples/Record_to_WAV💚 -200--------💚 -160
ESP_I2S/examples/Simple_tone💚 -200💚 -280💚 -60💚 -6000💚 -160
ESP_NOW/examples/ESP_NOW_Broadcast_Master💚 -200💚 -280💚 -60💚 -60--💚 -160
ESP_NOW/examples/ESP_NOW_Broadcast_Slave💚 -200💚 -280💚 -60💚 -60--💚 -160
ESP_NOW/examples/ESP_NOW_Network💚 -200💚 -280💚 -60💚 -60--💚 -160
ESP_NOW/examples/ESP_NOW_Serial💚 -200💚 -320💚 -60💚 -60--💚 -160
ESP_SR/examples/Basic💚 -200----------
ESPmDNS/examples/mDNS-SD_Extended💚 -200💚 -280💚 -60💚 -60--💚 -160
ESPmDNS/examples/mDNS_Web_Server💚 -160💚 -280💚 -60💚 -60--💚 -160
Ethernet/examples/ETH_W5500_Arduino_SPI💚 -200💚 -280💚 -60💚 -6000💚 -160
Ethernet/examples/ETH_W5500_IDF_SPI💚 -200💚 -280💚 -60💚 -6000💚 -160
FFat/examples/FFat_Test💚 -200💚 -280💚 -60💚 -6000💚 -160
FFat/examples/FFat_time💚 -200💚 -200💚 -60💚 -60--💚 -160
HTTPClient/examples/Authorization💚 -160💚 -280💚 -60💚 -60--💚 -160
HTTPClient/examples/BasicHttpClient💚 -160💚 -280💚 -60💚 -60--💚 -160
HTTPClient/examples/BasicHttpsClient💚 -200💚 -360💚 -60💚 -60--💚 -160
HTTPClient/examples/HTTPClientEnterprise💚 -200💚 -280💚 -60💚 -60--💚 -160
HTTPClient/examples/ReuseConnection💚 -200💚 -280💚 -60💚 -60--💚 -160
HTTPClient/examples/StreamHttpClient💚 -200💚 -280💚 -60💚 -60--💚 -160
HTTPUpdate/examples/httpUpdate💚 -200💚 -240💚 -60💚 -60--💚 -160
HTTPUpdate/examples/httpUpdateSPIFFS💚 -200💚 -280💚 -60💚 -60--💚 -160
HTTPUpdate/examples/httpUpdateSecure💚 -200💚 -280💚 -60💚 -60--💚 -160
HTTPUpdateServer/examples/WebUpdater💚 -200💚 -320💚 -60💚 -60--💚 -160
Insights/examples/DiagnosticsSmokeTest💚 -200💚 -280💚 -60----💚 -160
Insights/examples/MinimalDiagnostics💚 -120💚 -280💚 -60----💚 -160
LittleFS/examples/LITTLEFS_test💚 -200💚 -280💚 -60💚 -6000💚 -200
LittleFS/examples/LITTLEFS_time💚 -20000💚 -60💚 -60--💚 -160
NetBIOS/examples/ESP_NBNST💚 -200💚 -280💚 -60💚 -60--💚 -160
NetworkClientSecure/examples/WiFiClientInsecure💚 -200💚 -360💚 -60💚 -60--💚 -160
NetworkClientSecure/examples/WiFiClientPSK💚 -200💚 -280💚 -60💚 -60--💚 -160
NetworkClientSecure/examples/WiFiClientSecure💚 -200💚 -320💚 -60💚 -60--💚 -160
NetworkClientSecure/examples/WiFiClientSecureEnterprise💚 -200💚 -280💚 -60💚 -60--💚 -160
NetworkClientSecure/examples/WiFiClientSecureProtocolUpgrade💚 -200💚 -280💚 -60💚 -60--💚 -160
NetworkClientSecure/examples/WiFiClientShowPeerCredentials💚 -120💚 -280💚 -60💚 -60--💚 -160
NetworkClientSecure/examples/WiFiClientTrustOnFirstUse💚 -200💚 -280💚 -60💚 -60--💚 -160
PPP/examples/PPP_Basic💚 -200💚 -280💚 -60💚 -6000💚 -160
Preferences/examples/Prefs2Struct💚 -200💚 -280💚 -60💚 -6000💚 -160
Preferences/examples/StartCounter💚 -200💚 -280💚 -60💚 -6000💚 -160
RainMaker/examples/RMakerCustom💚 -200💚 -280💚 -60----💚 -200
RainMaker/examples/RMakerCustomAirCooler💚 -200💚 -280💚 -60----💚 -160
RainMaker/examples/RMakerSonoffDualR3💚 -200💚 -320💚 -60----💚 -160
RainMaker/examples/RMakerSwitch💚 -200💚 -280💚 -60----💚 -160
SD/examples/SD_Test💚 -200💚 -280💚 -60💚 -6000💚 -160
SD/examples/SD_time💚 -200💚 -280💚 -60💚 -60--💚 -160
SD_MMC/examples/SDMMC_Test💚 -200--------💚 -160
SD_MMC/examples/SDMMC_time💚 -200--------💚 -120
SPI/examples/SPI_Multiple_Buses0000------00
SPIFFS/examples/SPIFFS_Test💚 -200💚 -280💚 -60💚 -6000💚 -160
SPIFFS/examples/SPIFFS_time💚 -200💚 -280💚 -60💚 -60--💚 -160
SimpleBLE/examples/SimpleBleDevice💚 -200----💚 -6000⚠️ +360
TFLiteMicro/examples/hello_world000000000000
TFLiteMicro/examples/micro_speech000000000000
Ticker/examples/Blinker000000000000
Ticker/examples/TickerBasic000000000000
Ticker/examples/TickerParameter000000000000
USB/examples/CompositeDevice💚 -200💚 -280--------
USB/examples/ConsumerControl0000--------
USB/examples/CustomHIDDevice💚 -200💚 -280--------
USB/examples/FirmwareMSC💚 -200💚 -280--------
USB/examples/Gamepad💚 -200💚 -280--------
USB/examples/HIDVendor💚 -200💚 -280--------
USB/examples/Keyboard/KeyboardLogout0000--------
USB/examples/Keyboard/KeyboardMessage0000--------
USB/examples/Keyboard/KeyboardReprogram0000--------
USB/examples/Keyboard/KeyboardSerial💚 -200💚 -280--------
USB/examples/KeyboardAndMouseControl💚 -200💚 -280--------
USB/examples/MIDI/MidiController💚 -200💚 -280--------
USB/examples/MIDI/MidiInterface💚 -200💚 -280--------
USB/examples/MIDI/MidiMusicBox💚 -200💚 -280--------
USB/examples/MIDI/ReceiveMidi💚 -200💚 -280--------
USB/examples/Mouse/ButtonMouseControl0000--------
USB/examples/SystemControl0000--------
USB/examples/USBMSC💚 -200💚 -280--------
USB/examples/USBSerial💚 -200💚 -280--------
USB/examples/USBVendor💚 -200💚 -280--------
Update/examples/AWS_S3_OTA_Update💚 -200💚 -280💚 -60💚 -60--💚 -160
Update/examples/HTTPS_OTA_Update💚 -200💚 -280💚 -60💚 -60--💚 -160
Update/examples/HTTP_Client_AES_OTA_Update💚 -200💚 -200💚 -60💚 -60--💚 -160
Update/examples/HTTP_Server_AES_OTA_Update💚 -200💚 -320💚 -60💚 -60--💚 -160
Update/examples/OTAWebUpdater💚 -200💚 -280💚 -60💚 -60--💚 -160
Update/examples/SD_Update💚 -200💚 -280💚 -60💚 -6000💚 -160
WebServer/examples/AdvancedWebServer💚 -200💚 -280💚 -60💚 -60--💚 -160
WebServer/examples/FSBrowser💚 -200💚 -280💚 -60💚 -60--💚 -160
WebServer/examples/HelloServer💚 -200💚 -280💚 -60💚 -60--💚 -160
WebServer/examples/HttpAdvancedAuth💚 -200💚 -280💚 -60💚 -60--💚 -160
WebServer/examples/HttpAuthCallback💚 -200💚 -280💚 -60💚 -60--💚 -160
WebServer/examples/HttpAuthCallbackInline💚 -200💚 -280💚 -60💚 -60--💚 -160
WebServer/examples/HttpBasicAuth💚 -200💚 -280💚 -60💚 -60--💚 -160
WebServer/examples/HttpBasicAuthSHA1💚 -200💚 -280💚 -60💚 -60--💚 -120
WebServer/examples/HttpBasicAuthSHA1orBearerToken💚 -200💚 -280💚 -60💚 -60--💚 -160
WebServer/examples/MultiHomedServers💚 -200💚 -280💚 -60💚 -60--💚 -160
WebServer/examples/PathArgServer💚 -200💚 -320💚 -60💚 -60--💚 -160
WebServer/examples/SDWebServer💚 -200💚 -280💚 -60💚 -60--💚 -160
WebServer/examples/SimpleAuthentification💚 -200💚 -280💚 -60💚 -60--💚 -160
WebServer/examples/UploadHugeFile💚 -200💚 -280💚 -60💚 -60--💚 -160
WebServer/examples/WebServer💚 -200💚 -280💚 -60💚 -60--💚 -160
WebServer/examples/WebUpdate💚 -200💚 -280💚 -60💚 -60--💚 -160
WiFi/examples/FTM/FTM_Initiator💚 -240💚 -280💚 -60💚 -60--💚 -280
WiFi/examples/FTM/FTM_Responder💚 -200💚 -320💚 -60💚 -60--💚 -160
WiFi/examples/SimpleWiFiServer💚 -200💚 -320💚 -60💚 -60--💚 -160
WiFi/examples/WPS💚 -200💚 -280💚 -60💚 -60--💚 -160
WiFi/examples/WiFiAccessPoint💚 -240💚 -280💚 -60💚 -60--💚 -160
WiFi/examples/WiFiBlueToothSwitch💚 -200--💚 -60💚 -60--💚 -200
WiFi/examples/WiFiClient💚 -200💚 -320💚 -60💚 -60--💚 -160
WiFi/examples/WiFiClientBasic💚 -200💚 -280💚 -60💚 -60--💚 -160
WiFi/examples/WiFiClientConnect💚 -200💚 -280💚 -60💚 -60--💚 -160
WiFi/examples/WiFiClientEnterprise💚 -200💚 -280💚 -60💚 -60--💚 -160
WiFi/examples/WiFiClientEvents💚 -120💚 -280💚 -60💚 -60--💚 -160
WiFi/examples/WiFiClientStaticIP💚 -200💚 -280💚 -60💚 -60--💚 -160
WiFi/examples/WiFiIPv6💚 -200💚 -280💚 -60💚 -60--💚 -160
WiFi/examples/WiFiMulti💚 -240💚 -280💚 -60💚 -60--💚 -160
WiFi/examples/WiFiMultiAdvanced💚 -200💚 -280💚 -60💚 -60--💚 -160
WiFi/examples/WiFiScan💚 -200💚 -120💚 -60💚 -60--💚 -480
WiFi/examples/WiFiScanAsync💚 -200💚 -280💚 -60💚 -60--💚 -160
WiFi/examples/WiFiScanDualAntenna💚 -200💚 -280💚 -60💚 -60--💚 -160
WiFi/examples/WiFiSmartConfig💚 -200💚 -280💚 -60💚 -60--💚 -160
WiFi/examples/WiFiTelnetToSerial💚 -240💚 -280💚 -60💚 -60--💚 -160
WiFi/examples/WiFiUDPClient💚 -200💚 -320💚 -60💚 -60--💚 -160
WiFiProv/examples/WiFiProv💚 -200💚 -280💚 -60💚 -60--💚 -160
Wire/examples/WireMaster💚 -200💚 -280💚 -60💚 -6000💚 -160
Wire/examples/WireScan💚 -200💚 -280💚 -60💚 -6000💚 -160
Wire/examples/WireSlave💚 -200💚 -280💚 -60💚 -6000💚 -160
BluetoothSerial/examples/DiscoverConnect----------💚 -160
BluetoothSerial/examples/GetLocalMAC----------💚 -160
BluetoothSerial/examples/SerialToSerialBT----------💚 -160
BluetoothSerial/examples/SerialToSerialBTM----------💚 -160
BluetoothSerial/examples/SerialToSerialBT_Legacy----------00
BluetoothSerial/examples/SerialToSerialBT_SSP----------💚 -160
BluetoothSerial/examples/bt_classic_device_discovery----------💚 -160
BluetoothSerial/examples/bt_remove_paired_devices----------💚 -160
ESP32/examples/DeepSleep/SmoothBlink_ULP_Code----------💚 -160
ESP32/examples/Touch/TouchButton----------💚 -160
Ethernet/examples/ETH_LAN8720----------💚 -160
Ethernet/examples/ETH_TLK110----------💚 -160

Copy link
Collaborator

@SuGlider SuGlider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM.

SuGlider added a commit that referenced this pull request Apr 24, 2024
Changed header files to use the same IDF buffer limits.

* this is a backport from PR #9554
SuGlider added a commit that referenced this pull request Apr 24, 2024
Uses the same IDF 32bits size for TX/RX buffers.

Changed header files to use the same IDF buffer limits.
* this is a backport from PR #9554
SuGlider added a commit that referenced this pull request Apr 24, 2024
Uses the same IDF 32bits size for TX/RX buffers.

Changed header files to use the same IDF buffer limits.
* this is a backport from PR #9554
@SuGlider
Copy link
Collaborator

This PR has been backported into 2.0.16 by #9561

@P-R-O-C-H-Y P-R-O-C-H-Y added the Status: Pending Merge Pull Request is ready to be merged label Apr 25, 2024
@VojtechBartoska VojtechBartoska added this to the 3.0.0-RC2 milestone Apr 29, 2024
@me-no-dev me-no-dev merged commit b6f7d40 into espressif:master Apr 29, 2024
63 of 67 checks passed
me-no-dev pushed a commit that referenced this pull request Apr 29, 2024
* feat (uart): uses the same IDF 32bits size for TX/RX buffers

Uses the same IDF 32bits size for TX/RX buffers.

Changed header files to use the same IDF buffer limits.
* this is a backport from PR #9554

* feat (uart): change UART events logs to Verbose 

UART events like BREAK or errors are now Verbose instead of Warning Level.

Backporting change from Issue #9551

* feat (uart): uses the same IDF 32bits size for TX/RX buffers.

Uses the same IDF 32bits size for TX/RX buffers.

Changed header files to use the same IDF buffer limits.
* this is a backport from PR #9554

* feat (uart): keep overflow log as warning

Keeps Overflow /  Buffer Full log messages in Warning Level.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Peripherals API Relates to peripheral's APIs. Backport needed 🔙 Peripheral: UART Status: Pending Merge Pull Request is ready to be merged
Projects
Development

Successfully merging this pull request may close these issues.

6 participants