Skip to content

Conversation

@SuGlider
Copy link
Collaborator

@SuGlider SuGlider commented Nov 30, 2025

Description of Change

This PR fixes Paripheral Manager issue related to detaching rx and tx in the same or different execution time which shall lead to stoping the IDF UART driver and shuting down the Arduino log interface if enabled.

Test Scenarios

PPP using UART0 rx and tx pins for communication.
UART CI Test Sketch.

#include "Wire.h"

#ifdef RGB_BUILTIN
#define LED_PIN RGB_BUILTIN
#else
#define LED_PIN 2
#endif

void setup() {
  // put your setup code here, to run once:
  pinMode(LED_PIN, OUTPUT);
  Serial.begin(115200);
  Serial.setDebugOutput(true);
  
  Serial1.begin(115200);
  Serial.println("Step 1: double end() call."); Serial.flush();
  Serial1.end();
  Serial.println("Step 1.1: first end() executed."); Serial.flush();
  Serial1.end();
  Serial.println("Step 1.2: second end() executed"); Serial.flush();
  Serial1.begin(115200);
  Serial.println("Step 2: detach RX1 and TX1."); Serial.flush();
  Serial1.begin(115200, SERIAL_8N1, 14, 12);
  Serial.println("Step 2.1: new pins UART1"); Serial.flush();
}

void loop() {
  // Blinking a LED to signal that nothing got into infinite loop within main task...
  printf("Loop...\r\n");
  digitalWrite(LED_PIN, HIGH);
  delay(1000);
  digitalWrite(LED_PIN, LOW);
  delay(1000);
  // this will detach both UART0 pins and stop the driver... no more printf|log output!
  Wire.begin(SOC_RX0, SOC_TX0);
}

related verbose ouput:

ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:4980
load:0x40078000,len:16612
load:0x40080400,len:3480
entry 0x400805b4
[    21][D][esp32-hal-cpu.c:316] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
=========== Before Setup Start ===========
Chip Info:
------------------------------------------
  Model             : ESP32
  Package           : D0WD-Q5
  Revision          : 3.00
  Cores             : 2
  CPU Frequency     : 240 MHz
  XTAL Frequency    : 40 MHz
  Features Bitfield : 0x00000032
  Embedded Flash    : No
  Embedded PSRAM    : No
  2.4GHz WiFi       : Yes
  Classic BT        : Yes
  BT Low Energy     : Yes
  IEEE 802.15.4     : No
------------------------------------------
INTERNAL Memory Info:
------------------------------------------
  Total Size        :   376764 B ( 367.9 KB)
  Free Bytes        :   334516 B ( 326.7 KB)
  Allocated Bytes   :    34764 B (  33.9 KB)
  Minimum Free Bytes:   328664 B ( 321.0 KB)
  Largest Free Block:   110580 B ( 108.0 KB)
------------------------------------------
Flash Info:
------------------------------------------
  Chip Size         :  8388608 B (8 MB)
  Block Size        :    65536 B (  64.0 KB)
  Sector Size       :     4096 B (   4.0 KB)
  Page Size         :      256 B (   0.2 KB)
  Bus Speed         : 80 MHz
  Flash Frequency   : 80 MHz (source: 80 MHz, divider: 1)
  Bus Mode          : QIO
------------------------------------------
Partitions Info:
------------------------------------------
                nvs : addr: 0x00009000, size:    20.0 KB, type: DATA, subtype: NVS
            otadata : addr: 0x0000E000, size:     8.0 KB, type: DATA, subtype: OTA
               app0 : addr: 0x00010000, size:  1280.0 KB, type:  APP, subtype: OTA_0
               app1 : addr: 0x00150000, size:  1280.0 KB, type:  APP, subtype: OTA_1
             spiffs : addr: 0x00290000, size:  1408.0 KB, type: DATA, subtype: SPIFFS
           coredump : addr: 0x003F0000, size:    64.0 KB, type: DATA, subtype: COREDUMP
------------------------------------------
Software Info:
------------------------------------------
  Compile Date/Time : Dec  1 2025 19:08:12
  Compile Host OS   : windows
  ESP-IDF Version   : v5.5.1-255-g07e9bf4970
  Arduino Version   : 3.3.4
------------------------------------------
Board Info:
------------------------------------------
  Arduino Board     : ESP32_DEV
  Arduino Variant   : esp32
  Arduino FQBN      : espressif:orig:esp32:UploadSpeed=921600,CPUFreq=240,FlashFreq=80,FlashMode=qio,FlashSize=4M,PartitionScheme=default,DebugLevel=verbose,PSRAM=disabled,LoopCore=1,EventsCore=1,EraseFlash=none,JTAGAdapter=default,ZigbeeMode=default
============ Before Setup End ============
[   567][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_RX (2) cleared
[   576][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_TX (3) cleared
[   588][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_CTS (4) cleared
[   600][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_RTS (5) cleared
[   611][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 3 successfully set to type UART_RX (2) with bus 0x3ffbdbc0
[   624][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x400d7114
[   638][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 1 successfully set to type UART_TX (3) with bus 0x3ffbdbc0
[   650][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x400d7040
[   664][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type GPIO (1) successfully set to 0x400f2734
[   677][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 2 successfully set to type GPIO (1) with bus 0x6
[   689][V][esp32-hal-uart.c:779] uartBegin(): UART0 baud(115200) Mode(800001c) rxPin(3) txPin(1)
[   700][V][esp32-hal-uart.c:877] uartBegin(): UART0 not installed. Starting installation
[   710][V][esp32-hal-uart.c:887] uartBegin(): UART0 RX FIFO full threshold set to 120 (value requested: 120 || FIFO Max = 128)
[   723][V][esp32-hal-uart.c:917] uartBegin(): Setting UART0 to use REF_TICK clock
[   733][V][esp32-hal-uart.c:952] uartBegin(): UART0: RX and TX signals are set not inverted.
[   750][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_RX (2) cleared
[   759][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_TX (3) cleared
[   768][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_CTS (4) cleared
[   778][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_RTS (5) cleared
[   787][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x400d7114
[   799][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x400d7040
[   810][V][esp32-hal-uart.c:980] uartBegin(): UART0 initialization done.
[   816][V][esp32-hal-uart.c:1031] uartSetRxFIFOFull(): UART0 RX FIFO Full value set to 120 from a requested value of 120
[   827][V][esp32-hal-uart.c:779] uartBegin(): UART1 baud(115200) Mode(800001c) rxPin(26) txPin(27)
[   836][V][esp32-hal-uart.c:877] uartBegin(): UART1 not installed. Starting installation
[   844][V][esp32-hal-uart.c:887] uartBegin(): UART1 RX FIFO full threshold set to 120 (value requested: 120 || FIFO Max = 128)
[   855][V][esp32-hal-uart.c:917] uartBegin(): Setting UART1 to use REF_TICK clock
[   863][V][esp32-hal-uart.c:952] uartBegin(): UART1: RX and TX signals are set not inverted.
[   871][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_RX (2) cleared
[   880][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_TX (3) cleared
[   890][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_CTS (4) cleared
[   899][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_RTS (5) cleared
[   909][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 26 successfully set to type UART_RX (2) with bus 0x3ffbdbe4
[   919][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x400d7114
[   930][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 27 successfully set to type UART_TX (3) with bus 0x3ffbdbe4
[   941][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x400d7040
[   952][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x400d7114
[   964][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x400d7040
[   975][V][esp32-hal-uart.c:980] uartBegin(): UART1 initialization done.
[   981][V][esp32-hal-uart.c:1031] uartSetRxFIFOFull(): UART1 RX FIFO Full value set to 120 from a requested value of 120
Step 1: double end() call.
[   994][D][esp32-hal-uart.c:291] _uartDetachBus_RX(): _uartDetachBus_RX: RX pin already detached for UART1
[  1004][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 26 successfully set to type INIT (0) with bus 0x0
[  1014][D][esp32-hal-uart.c:310] _uartDetachBus_TX(): _uartDetachBus_TX: TX pin already detached for UART1
[  1023][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 27 successfully set to type INIT (0) with bus 0x0
Step 1.1: first end() executed.
Step 1.2: second end() executed
[  1039][V][esp32-hal-uart.c:779] uartBegin(): UART1 baud(115200) Mode(800001c) rxPin(26) txPin(27)
[  1048][V][esp32-hal-uart.c:877] uartBegin(): UART1 not installed. Starting installation
[  1056][V][esp32-hal-uart.c:887] uartBegin(): UART1 RX FIFO full threshold set to 120 (value requested: 120 || FIFO Max = 128)
[  1067][V][esp32-hal-uart.c:917] uartBegin(): Setting UART1 to use REF_TICK clock
[  1074][V][esp32-hal-uart.c:952] uartBegin(): UART1: RX and TX signals are set not inverted.
[  1083][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_RX (2) cleared
[  1092][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_TX (3) cleared
[  1101][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_CTS (4) cleared
[  1111][V][esp32-hal-periman.c:251] perimanClearBusDeinit(): Deinit function for type UART_RTS (5) cleared
[  1120][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 26 successfully set to type UART_RX (2) with bus 0x3ffbdbe4
[  1131][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x400d7114
[  1142][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 27 successfully set to type UART_TX (3) with bus 0x3ffbdbe4
[  1153][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x400d7040
[  1164][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_RX (2) successfully set to 0x400d7114
[  1175][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type UART_TX (3) successfully set to 0x400d7040
[  1187][V][esp32-hal-uart.c:980] uartBegin(): UART1 initialization done.
[  1193][V][esp32-hal-uart.c:1031] uartSetRxFIFOFull(): UART1 RX FIFO Full value set to 120 from a requested value of 120
Step 2: detach RX1 and TX1.
[  1206][V][esp32-hal-uart.c:779] uartBegin(): UART1 baud(115200) Mode(800001c) rxPin(14) txPin(12)
[  1215][V][esp32-hal-uart.c:803] uartBegin(): UART1 Driver already installed.
[  1222][D][esp32-hal-uart.c:291] _uartDetachBus_RX(): _uartDetachBus_RX: RX pin already detached for UART1
[  1232][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 26 successfully set to type INIT (0) with bus 0x0
[  1242][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 14 successfully set to type UART_RX (2) with bus 0x3ffbdbe4
[  1252][V][esp32-hal-uart.c:856] uartBegin(): UART1 changed RX pin to 14
[  1259][D][esp32-hal-uart.c:310] _uartDetachBus_TX(): _uartDetachBus_TX: TX pin already detached for UART1
[  1268][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 27 successfully set to type INIT (0) with bus 0x0
[  1278][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 12 successfully set to type UART_TX (3) with bus 0x3ffbdbe4
[  1289][V][esp32-hal-uart.c:865] uartBegin(): UART1 changed TX pin to 12
Step 2.1: new pins UART1
=========== After Setup Start ============
INTERNAL Memory Info:
------------------------------------------
  Total Size        :   376764 B ( 367.9 KB)
  Free Bytes        :   329648 B ( 321.9 KB)
  Allocated Bytes   :    39088 B (  38.2 KB)
  Minimum Free Bytes:   323648 B ( 316.1 KB)
  Largest Free Block:   110580 B ( 108.0 KB)
------------------------------------------
GPIO Info:
------------------------------------------
  GPIO : BUS_TYPE[bus/unit][chan]
  --------------------------------------  
     1 : UART_TX[0]
     3 : UART_RX[0]
     5 : GPIO
    12 : UART_TX[1]
    14 : UART_RX[1]
============ After Setup End =============
Loop...

[  3374][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type I2C_MASTER_SDA (33) successfully set to 0x400d38f0
[  3386][V][esp32-hal-periman.c:235] perimanSetBusDeinit(): Deinit function for type I2C_MASTER_SCL (34) successfully set to 0x400d38f0
[  3398][D][esp32-hal-uart.c:291] _uartDetachBus_RX(): _uartDetachBus_RX: RX pin already detached for UART0
[  3407][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 3 successfully set to type INIT (0) with bus 0x0
[  3417][V][esp32-hal-periman.c:160] perimanSetPinBus(): Pin 3 successfully set to type INIT (0) with bus 0x0
[  3427][D][esp32-hal-uart.c:314] _uartDetachBus_TX(): _uartDetachBus_TX: both RX and TX pins detached for UART0, terminating driver
[  3429][D][HardwareSerial.cpp:67] hal_uart_notify_pins_detached(): hal_uart_notify_pins_detached: Notifying HardwareSerial for UART0

Related links

none.

@SuGlider SuGlider added this to the 3.3.0 milestone Nov 30, 2025
@SuGlider SuGlider self-assigned this Nov 30, 2025
@SuGlider SuGlider added the Peripheral: UART Related to the UART peripheral or its functionality. label Nov 30, 2025
@SuGlider SuGlider requested a review from a team as a code owner November 30, 2025 17:41
@SuGlider SuGlider moved this from Todo to In Progress in Arduino ESP32 Core Project Roadmap Nov 30, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 30, 2025

Warnings
⚠️

Some issues found for the commit messages in this PR:

  • the commit message "fix(uart): Refactor UART test to detach only one pin":
    • body's lines must not be longer than 100 characters
  • the commit message "fix(uart): peripheral manager CI test adjusting":
    • body's lines must not be longer than 100 characters
  • the commit message "fix(uart_test): do not detach both UART pins":
    • body's lines must not be longer than 100 characters

Please fix these commit messages - here are some basic tips:

  • follow Conventional Commits style
  • correct format of commit message should be: <type/action>(<scope/component>): <summary>, for example fix(esp32): Fixed startup timeout issue
  • allowed types are: change,ci,docs,feat,fix,refactor,remove,revert,test
  • sufficiently descriptive message summary should be between 10 to 72 characters and start with upper case letter
  • avoid Jira references in commit messages (unavailable/irrelevant for our customers)

TIP: Install pre-commit hooks and run this check when committing (uses the Conventional Precommit Linter).

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


📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more.

🖊️ Please also make sure you have read and signed the Contributor License Agreement for 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.
- Resolve all warnings (⚠️ ) before requesting a review from human reviewers - they will appreciate it.
- 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 fec4a82

@github-actions
Copy link
Contributor

github-actions bot commented Nov 30, 2025

Test Results

 76 files   76 suites   15m 52s ⏱️
 38 tests  38 ✅ 0 💤 0 ❌
241 runs  241 ✅ 0 💤 0 ❌

Results for commit fec4a82.

♻️ This comment has been updated with latest results.

@SuGlider SuGlider marked this pull request as draft November 30, 2025 18:03
@github-actions
Copy link
Contributor

github-actions bot commented Nov 30, 2025

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
ESP32C5💚 -2780💚 -0.090.00000.000.00
ESP32P4💚 -2240💚 -0.060.00000.000.00
ESP32S3💚 -2240💚 -0.060.00000.000.00
ESP32S2💚 -1960💚 -0.060.00000.000.00
ESP32C3💚 -2860💚 -0.100.00000.000.00
ESP32C6💚 -2780💚 -0.100.00000.000.00
ESP32H2💚 -2940💚 -0.100.00000.000.00
ESP32💚 -1640💚 -0.050.00000.000.00
Click to expand the detailed deltas report [usage change in BYTES]
TargetESP32C5ESP32P4ESP32S3ESP32S2ESP32C3ESP32C6ESP32H2ESP32
ExampleFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAM
libraries/ArduinoOTA/examples/BasicOTA💚 -2360💚 -1820💚 -1520💚 -1560💚 -2440💚 -2280--💚 -1160
libraries/AsyncUDP/examples/AsyncUDPClient💚 -2280💚 -1740💚 -1400💚 -1320💚 -2440💚 -2360--💚 -1200
libraries/AsyncUDP/examples/AsyncUDPMulticastServer💚 -2280💚 -1740💚 -1520💚 -1320💚 -2440💚 -2360--💚 -1320
libraries/AsyncUDP/examples/AsyncUDPServer💚 -2280💚 -1740💚 -1480💚 -1320💚 -2440💚 -2360--💚 -1280
libraries/BLE/examples/Beacon_Scanner💚 -2360💚 -1740💚 -1680--💚 -2440💚 -2360💚 -2520💚 -1240
libraries/BLE/examples/Client💚 -2360💚 -1740💚 -1560--💚 -2440💚 -2280💚 -2520💚 -1200
libraries/BLE/examples/Client_multiconnect💚 -2280💚 -1820💚 -1720--💚 -2440💚 -2360💚 -2440💚 -1080
libraries/BLE/examples/Client_secure_static_passkey💚 -2280💚 -1820💚 -1680--💚 -2440💚 -2360💚 -2440💚 -960
libraries/BLE/examples/EddystoneTLM_Beacon💚 -2360💚 -1820💚 -1680--💚 -2520💚 -2280💚 -2440💚 -1280
libraries/BLE/examples/EddystoneURL_Beacon💚 -2280💚 -1740💚 -1680--💚 -2440💚 -2360💚 -2520💚 -1000
libraries/BLE/examples/Notify💚 -2280💚 -1740💚 -1520--💚 -2520💚 -2280💚 -2440💚 -1200
libraries/BLE/examples/Scan💚 -2280💚 -1740💚 -1680--💚 -2520💚 -2280💚 -2440💚 -1080
libraries/BLE/examples/Server💚 -2280💚 -1740💚 -1720--💚 -2520💚 -2280💚 -2440💚 -1040
libraries/BLE/examples/Server_multiconnect💚 -2360💚 -1820💚 -1680--💚 -2440💚 -2360💚 -2520💚 -1200
libraries/BLE/examples/Server_secure_authorization💚 -2280--💚 -1680--💚 -2440💚 -2280💚 -2440--
libraries/BLE/examples/Server_secure_static_passkey💚 -2280💚 -1820💚 -1680--💚 -2520💚 -2280💚 -2440💚 -1120
libraries/BLE/examples/UART💚 -2360💚 -1820💚 -1680--💚 -2440💚 -2360💚 -2520💚 -1080
libraries/BLE/examples/Write💚 -2360💚 -1820💚 -1720--💚 -2440💚 -2360💚 -2520💚 -1120
libraries/BLE/examples/iBeacon💚 -2360💚 -1820💚 -1680--💚 -2440💚 -2360💚 -2520💚 -920
libraries/DNSServer/examples/CaptivePortal💚 -2360💚 -1740💚 -1680💚 -1280💚 -2440💚 -2360--💚 -1280
libraries/EEPROM/examples/eeprom_class💚 -2420💚 -1880💚 -1680💚 -1400💚 -2560💚 -2420💚 -2480💚 -1200
libraries/EEPROM/examples/eeprom_extra💚 -2440💚 -1920💚 -1680💚 -1400💚 -2500💚 -2440💚 -2580💚 -1200
libraries/EEPROM/examples/eeprom_write💚 -2380💚 -1800💚 -1680💚 -1320💚 -2560💚 -2340💚 -2460💚 -1200
libraries/ESP32/examples/AnalogOut/LEDCFade💚 -2400💚 -1760💚 -1680💚 -1480💚 -2560💚 -2300💚 -2480💚 -1200
libraries/ESP32/examples/AnalogOut/LEDCGammaFade💚 -2340💚 -1760------💚 -2400💚 -2540--
libraries/ESP32/examples/AnalogOut/LEDCSingleChannel💚 -2340💚 -1820💚 -1520💚 -1480💚 -2540💚 -2300💚 -2420💚 -1320
libraries/ESP32/examples/AnalogOut/LEDCSoftwareFade💚 -2360💚 -1820💚 -1520💚 -1480💚 -2560💚 -2280💚 -2400💚 -1320
libraries/ESP32/examples/AnalogOut/SigmaDelta💚 -2400💚 -1840💚 -1680💚 -1400💚 -2520💚 -2400💚 -2440💚 -1320
libraries/ESP32/examples/AnalogOut/ledcFrequency💚 -2420💚 -1860💚 -1680💚 -1480💚 -2400💚 -2360💚 -2440💚 -1160
libraries/ESP32/examples/AnalogOut/ledcWrite_RGB💚 -2300💚 -1760💚 -1680💚 -1160💚 -2560💚 -2380💚 -2480💚 -1200
libraries/ESP32/examples/AnalogRead💚 -2300💚 -1860💚 -1520💚 -1400💚 -2480💚 -2300💚 -2500💚 -1040
libraries/ESP32/examples/AnalogReadContinuous💚 -2380💚 -1840💚 -1680💚 -1400💚 -2560💚 -2280💚 -2540💚 -1200
libraries/ESP32/examples/ArduinoStackSize💚 -2220💚 -1880💚 -1680💚 -1400💚 -2420💚 -2320💚 -2340💚 -1200
libraries/ESP32/examples/ArduinoWaitTimeBeforeStartingSketch💚 -2200💚 -1860💚 -1680💚 -1480💚 -2440💚 -2320💚 -2340💚 -1200
libraries/ESP32/examples/CI/CIBoardsTest💚 -2380💚 -1760💚 -1680💚 -1400💚 -2560💚 -2380💚 -2500💚 -1200
libraries/ESP32/examples/ChipID/GetChipID💚 -2380💚 -1760💚 -1680💚 -1400💚 -2440💚 -2360💚 -2420💚 -1200
libraries/ESP32/examples/DeepSleep/TimerWakeUp💚 -2320💚 -1860💚 -1520💚 -1480💚 -2400💚 -2320--💚 -1200
libraries/ESP32/examples/FreeRTOS/BasicMultiThreading💚 -2400💚 -1760💚 -1680💚 -1400💚 -2540💚 -2240💚 -2520💚 -1200
libraries/ESP32/examples/FreeRTOS/Mutex💚 -2360💚 -1720💚 -1680💚 -1480💚 -2480💚 -2220💚 -2500💚 -1200
libraries/ESP32/examples/FreeRTOS/Queue💚 -2400💚 -1720💚 -1680💚 -1400💚 -2480💚 -2300💚 -2500💚 -1040
libraries/ESP32/examples/FreeRTOS/Semaphore💚 -2220💚 -1860💚 -1680💚 -1400💚 -2460💚 -2360💚 -2340💚 -1200
libraries/ESP32/examples/GPIO/BlinkRGB💚 -2360💚 -1720💚 -1680💚 -1480💚 -2440💚 -2440💚 -2400💚 -1320
libraries/ESP32/examples/GPIO/FunctionalInterrupt💚 -2420💚 -1760💚 -1680💚 -1240💚 -2460💚 -2320💚 -2540💚 -1200
libraries/ESP32/examples/GPIO/FunctionalInterruptLambda💚 -2340💚 -1840💚 -1680💚 -1280💚 -2560💚 -2360💚 -2460💚 -1040
libraries/ESP32/examples/GPIO/FunctionalInterruptStruct💚 -2440💚 -1800💚 -1680💚 -1480💚 -2460💚 -2300💚 -2500💚 -1200
libraries/ESP32/examples/GPIO/GPIOInterrupt💚 -2400💚 -1780💚 -1680💚 -1480💚 -2420💚 -2340💚 -2480💚 -1200
libraries/ESP32/examples/HWCDC_Events💚 -2020💚 -1720💚 -1120--💚 -2200💚 -2080💚 -2140--
libraries/ESP32/examples/MacAddress/GetMacAddress💚 -2320💚 -1840💚 -1680💚 -1480💚 -2400💚 -2440💚 -2480💚 -1200
libraries/ESP32/examples/RMT/Legacy_RMT_Driver_Compatible💚 -2380💚 -1720💚 -1680💚 -1480💚 -2480💚 -2240💚 -2500💚 -1200
libraries/ESP32/examples/RMT/RMTCallback💚 -2420💚 -1840💚 -1680💚 -1320💚 -2480💚 -2280💚 -2500💚 -1200
libraries/ESP32/examples/RMT/RMTLoopback💚 -2400💚 -1860💚 -1680💚 -1280💚 -2560💚 -2300💚 -2540💚 -1200
libraries/ESP32/examples/RMT/RMTReadXJT💚 -2300💚 -1760💚 -1680💚 -1320💚 -2400💚 -2360💚 -2420💚 -1200
libraries/ESP32/examples/RMT/RMTWrite_RGB_LED💚 -2300💚 -1760💚 -1680💚 -1400💚 -2360💚 -2320💚 -2380💚 -1200
libraries/ESP32/examples/RMT/RMT_CPUFreq_Test💚 -2320💚 -1800💚 -1680💚 -1360💚 -2500💚 -2400💚 -2480💚 -1200
libraries/ESP32/examples/RMT/RMT_EndOfTransmissionState💚 -2320💚 -1740💚 -1520💚 -1480💚 -2400💚 -2300💚 -2440💚 -1200
libraries/ESP32/examples/RMT/RMT_LED_Blink💚 -2480💚 -1980💚 -1680💚 -1360💚 -2520💚 -2420💚 -2560💚 -1200
libraries/ESP32/examples/ResetReason/ResetReason💚 -2260💚 -1820💚 -1680💚 -1480💚 -2360💚 -2280💚 -2500💚 -1200
libraries/ESP32/examples/ResetReason/ResetReason2💚 -2340💚 -1760💚 -1680💚 -1400💚 -2520💚 -2260💚 -2480💚 -1200
libraries/ESP32/examples/Serial/BaudRateDetect_Demo💚 -1980💚 -1320💚 -1280💚 -1000💚 -2100💚 -1880💚 -2120💚 -760
libraries/ESP32/examples/Serial/OnReceiveError_BREAK_Demo💚 -2380💚 -1800💚 -1680💚 -1400💚 -2580💚 -2320💚 -2560💚 -1200
libraries/ESP32/examples/Serial/OnReceive_Demo💚 -2400💚 -1760💚 -1680💚 -1480💚 -2500💚 -2300💚 -2520💚 -1200
libraries/ESP32/examples/Serial/RS485_Echo_Demo💚 -2300💚 -1780💚 -1680💚 -1480💚 -2400💚 -2320💚 -2420💚 -1200
libraries/ESP32/examples/Serial/RxFIFOFull_Demo💚 -2420💚 -1760💚 -1680💚 -1400💚 -2420💚 -2300💚 -2440💚 -1200
libraries/ESP32/examples/Serial/RxTimeout_Demo💚 -2340💚 -1840💚 -1680💚 -1480💚 -2380💚 -2380💚 -2400💚 -1200
libraries/ESP32/examples/Serial/Serial_All_CPU_Freqs💚 -2320💚 -1880💚 -1680💚 -1400💚 -2400💚 -2320💚 -2460💚 -1040
libraries/ESP32/examples/Serial/Serial_STD_Func_OnReceive💚 -2320💚 -1860💚 -1680💚 -1400💚 -2420💚 -2360💚 -2420💚 -1200
libraries/ESP32/examples/Serial/onReceiveExample💚 -2420💚 -1760💚 -1680💚 -1400💚 -2500💚 -2340💚 -2520💚 -1200
libraries/ESP32/examples/Template/ExampleTemplate💚 -2380💚 -1720💚 -1680💚 -1480💚 -2520💚 -2320💚 -2480💚 -1320
libraries/ESP32/examples/Time/SimpleTime💚 -2300💚 -1840💚 -1640💚 -1360💚 -2460💚 -2300--💚 -1040
libraries/ESP32/examples/Timer/RepeatTimer💚 -2420💚 -1780💚 -1680💚 -1080💚 -2540💚 -2300💚 -2500💚 -1200
libraries/ESP32/examples/Timer/WatchdogTimer💚 -2420💚 -1780💚 -1680💚 -1360💚 -2540💚 -2300💚 -2560💚 -1200
libraries/ESP_I2S/examples/ES8388_loopback💚 -2320💚 -1840💚 -1680💚 -1480💚 -2480💚 -2380💚 -2460💚 -1200
libraries/ESP_I2S/examples/Simple_tone💚 -2340💚 -1960💚 -1680💚 -1480💚 -2460💚 -2400💚 -2560💚 -1200
libraries/ESP_NOW/examples/ESP_NOW_Broadcast_Master💚 -2280--💚 -1440💚 -1320💚 -2440💚 -2380--💚 -1240
libraries/ESP_NOW/examples/ESP_NOW_Broadcast_Slave💚 -2360--💚 -1480💚 -1520💚 -2520💚 -2360--💚 -1360
libraries/ESP_NOW/examples/ESP_NOW_Network💚 -2280--💚 -1520💚 -1440💚 -2440💚 -2280--💚 -1120
libraries/ESP_NOW/examples/ESP_NOW_Serial💚 -2280--💚 -1640💚 -1400💚 -2440💚 -2280--💚 -1120
libraries/ESPmDNS/examples/mDNS-SD_Extended💚 -2280💚 -1820💚 -1720💚 -1360💚 -2440💚 -2280--💚 -1160
libraries/ESPmDNS/examples/mDNS_Web_Server💚 -2280💚 -1740💚 -1680💚 -1440💚 -2520💚 -2280--💚 -920
libraries/Ethernet/examples/ETH_W5500_Arduino_SPI💚 -2280💚 -1800💚 -1680💚 -1440💚 -2440💚 -2280💚 -2520💚 -1480
libraries/Ethernet/examples/ETH_W5500_IDF_SPI💚 -2280💚 -1800💚 -1680💚 -1440💚 -2440💚 -2280💚 -2520💚 -1160
libraries/Ethernet/examples/ETH_WIFI_BRIDGE💚 -1980💚 -1420💚 -1040💚 -1000💚 -2140💚 -1980--💚 -800
libraries/FFat/examples/FFat_Test💚 -2000💚 -1380💚 -1280💚 -1040💚 -2080💚 -2000💚 -2180💚 -720
libraries/FFat/examples/FFat_time💚 -2360💚 -1740💚 -1480💚 -1440💚 -2440💚 -2360--💚 -1000
libraries/HTTPClient/examples/Authorization💚 -2280💚 -1740💚 -1720💚 -1320💚 -2520💚 -2280--💚 -1160
libraries/HTTPClient/examples/BasicHttpClient💚 -2360💚 -1820💚 -1680💚 -1400💚 -2440💚 -2360--💚 -1000
libraries/HTTPClient/examples/BasicHttpsClient💚 -2280💚 -1820💚 -1560💚 -1440💚 -2520💚 -2280--💚 -1200
libraries/HTTPClient/examples/CustomHeaders💚 -2280💚 -1740💚 -1480💚 -1120💚 -2520💚 -2280--💚 -1040
libraries/HTTPClient/examples/HTTPClientEnterprise💚 -2360--💚 -1720💚 -1400💚 -2440💚 -2360--💚 -1360
libraries/HTTPClient/examples/ReuseConnection💚 -2280💚 -1740💚 -1640💚 -1320💚 -2520💚 -2280--💚 -1040
libraries/HTTPClient/examples/StreamHttpClient💚 -2360💚 -1820💚 -1680💚 -1360💚 -2440💚 -2360--💚 -1240
libraries/HTTPUpdate/examples/httpUpdate💚 -2280💚 -1820💚 -1680💚 -1160💚 -2440💚 -2360--💚 -1200
libraries/HTTPUpdate/examples/httpUpdateSPIFFS💚 -2280💚 -1820💚 -1680💚 -1360💚 -2440💚 -2360--💚 -1200
libraries/HTTPUpdate/examples/httpUpdateSecure💚 -2360💚 -1820💚 -1680💚 -1440💚 -2440💚 -2360--💚 -1160
libraries/HTTPUpdateServer/examples/WebUpdater💚 -1900💚 -1360💚 -1120💚 -1040💚 -2140💚 -1900--💚 -840
libraries/Hash/examples/HEX💚 -2400💚 -1760💚 -1680💚 -1400💚 -2560💚 -2420💚 -2580💚 -1200
libraries/Hash/examples/MD5💚 -2340💚 -1860💚 -1680💚 -1480💚 -2500💚 -2320💚 -2480💚 -1200
libraries/Hash/examples/PBKDF2_HMAC💚 -2380💚 -1740💚 -1520💚 -1480💚 -2520💚 -2340💚 -2540💚 -1040
libraries/Hash/examples/SHA1💚 -2320💚 -1900💚 -1680💚 -1120💚 -2480💚 -2340💚 -2460💚 -1200
libraries/Hash/examples/SHA2💚 -2460💚 -1900💚 -1680💚 -1160💚 -2560💚 -2420💚 -2560💚 -1200
libraries/Hash/examples/SHA3💚 -2460💚 -1900💚 -1680💚 -1400💚 -2560💚 -2420💚 -2560💚 -1200
libraries/Hash/examples/SHA3Stream💚 -2480💚 -1900💚 -1680💚 -1400💚 -2520💚 -2340💚 -2520💚 -1200
libraries/Insights/examples/DiagnosticsSmokeTest💚 -2380--💚 -1600💚 -1480💚 -2540💚 -2300--💚 -1360
libraries/Insights/examples/MinimalDiagnostics💚 -2300--💚 -1520💚 -1400💚 -2460💚 -2380--💚 -1320
libraries/LittleFS/examples/LITTLEFS_test💚 -2380💚 -1760💚 -1680💚 -1400💚 -2540💚 -2380💚 -2540💚 -1200
libraries/LittleFS/examples/LITTLEFS_time💚 -2360💚 -1820💚 -1680💚 -1320💚 -2440💚 -2360--💚 -1000
libraries/Matter/examples/MatterColorLight💚 -2520--💚 -1520💚 -1440💚 -2500💚 -2520💚 -2580💚 -1120
libraries/Matter/examples/MatterCommissionTest💚 -2420--💚 -1600💚 -1400💚 -2380💚 -2300💚 -2540💚 -1440
libraries/Matter/examples/MatterComposedLights💚 -2460--💚 -1680💚 -1480💚 -2560💚 -2380💚 -2580💚 -1160
libraries/Matter/examples/MatterContactSensor💚 -2360--💚 -1600💚 -1400💚 -2460💚 -2420💚 -2540💚 -1160
libraries/Matter/examples/MatterDimmableLight💚 -2500--💚 -1640💚 -1440💚 -2440💚 -2460💚 -2560💚 -1120
libraries/Matter/examples/MatterEnhancedColorLight💚 -2380--💚 -1680💚 -1360💚 -2540💚 -2340💚 -2620💚 -960
libraries/Matter/examples/MatterEvents💚 -2400--💚 -1440💚 -1360💚 -2460💚 -2280💚 -2520💚 -960
libraries/Matter/examples/MatterFan💚 -2440--💚 -1680💚 -1480💚 -2600💚 -2440💚 -2520💚 -1160
libraries/Matter/examples/MatterHumiditySensor💚 -2300--💚 -1560💚 -1520💚 -2440💚 -2340💚 -2460💚 -1160
libraries/Matter/examples/MatterLambdaSingleCallbackManyEPs💚 -2300--💚 -1640💚 -1440💚 -2460💚 -2420💚 -2460💚 -1120
libraries/Matter/examples/MatterMinimum💚 -2420--💚 -1640💚 -1360💚 -2460💚 -2380💚 -2540💚 -960
libraries/Matter/examples/MatterOccupancySensor💚 -2400--💚 -1720💚 -1520💚 -2560💚 -2320💚 -2540💚 -1320
libraries/Matter/examples/MatterOnIdentify💚 -2340--💚 -1680💚 -1400💚 -2540💚 -2320💚 -2460💚 -1160
libraries/Matter/examples/MatterOnOffLight💚 -2440--💚 -1800💚 -1400💚 -2440💚 -2460💚 -2540💚 -1400
libraries/Matter/examples/MatterOnOffPlugin💚 -2440--💚 -1840💚 -1480💚 -2440💚 -2460💚 -2540💚 -1000
libraries/Matter/examples/MatterPressureSensor💚 -2300--💚 -1600💚 -1520💚 -2440💚 -2340💚 -2460💚 -1160
libraries/Matter/examples/MatterSmartButton💚 -2320--💚 -2240💚 -1480💚 -2480💚 -2400💚 -2460💚 -1000
libraries/Matter/examples/MatterTemperatureLight💚 -2440--💚 -1600💚 -1320💚 -2580💚 -2500💚 -2500💚 -1120
libraries/Matter/examples/MatterTemperatureSensor💚 -2400--💚 -1600💚 -1520💚 -2540💚 -2420💚 -2540💚 -1160
libraries/Matter/examples/MatterThermostat💚 -2480--💚 -1640💚 -1480💚 -2520💚 -2440💚 -2500💚 -1040
libraries/NetBIOS/examples/ESP_NBNST💚 -2360💚 -1820💚 -1680💚 -1440💚 -2520💚 -2360--💚 -1200
libraries/NetworkClientSecure/examples/WiFiClientInsecure💚 -2280💚 -1740💚 -1520💚 -1360💚 -2520💚 -2280--💚 -800
libraries/NetworkClientSecure/examples/WiFiClientPSK💚 -2280💚 -1740💚 -1760💚 -1400💚 -2520💚 -2280--💚 -880
libraries/NetworkClientSecure/examples/WiFiClientSecure💚 -2360💚 -1820💚 -1760💚 -1400💚 -2520💚 -2280--💚 -1040
libraries/NetworkClientSecure/examples/WiFiClientSecureEnterprise💚 -2360--💚 -1680💚 -1360💚 -2440💚 -2360--💚 -1320
libraries/NetworkClientSecure/examples/WiFiClientSecureProtocolUpgrade💚 -2280💚 -1740💚 -1560💚 -1960💚 -2520💚 -2280--💚 -1160
libraries/NetworkClientSecure/examples/WiFiClientShowPeerCredentials💚 -2360💚 -1820💚 -1640💚 -1320💚 -2440💚 -2360--💚 -1160
libraries/NetworkClientSecure/examples/WiFiClientTrustOnFirstUse💚 -2360💚 -1740💚 -1560💚 -1400💚 -2520💚 -2360--💚 -880
libraries/OpenThread/examples/CLI/COAP/coap_lamp💚 -2340--------💚 -2320💚 -2520--
libraries/OpenThread/examples/CLI/COAP/coap_switch💚 -2360--------💚 -2320💚 -2540--
libraries/OpenThread/examples/CLI/SimpleCLI💚 -2480--------💚 -2440💚 -2520--
libraries/OpenThread/examples/CLI/SimpleNode💚 -2440--------💚 -2380💚 -2500--
libraries/OpenThread/examples/CLI/SimpleThreadNetwork/ExtendedRouterNode💚 -2420--------💚 -2440💚 -2620--
libraries/OpenThread/examples/CLI/SimpleThreadNetwork/LeaderNode💚 -2520--------💚 -2480💚 -2580--
libraries/OpenThread/examples/CLI/SimpleThreadNetwork/RouterNode💚 -2520--------💚 -2480💚 -2600--
libraries/OpenThread/examples/CLI/ThreadScan💚 -2400--------💚 -2380💚 -2500--
libraries/OpenThread/examples/CLI/onReceive💚 -2380--------💚 -2380💚 -2440--
libraries/OpenThread/examples/Native/SimpleThreadNetwork/LeaderNode💚 -2280--------💚 -2360💚 -2560--
libraries/OpenThread/examples/Native/SimpleThreadNetwork/RouterNode💚 -2440--------💚 -2320💚 -2540--
libraries/PPP/examples/PPP_Basic💚 -2780💚 -2240💚 -1960💚 -1920💚 -2860💚 -2780💚 -2940💚 -1640
libraries/PPP/examples/PPP_WIFI_BRIDGE💚 -2320💚 -1860💚 -1720💚 -1480💚 -2480💚 -2400--💚 -1000
libraries/Preferences/examples/Prefs2Struct💚 -2300💚 -1860💚 -1680💚 -1480💚 -2340💚 -2380💚 -2380💚 -1200
libraries/Preferences/examples/StartCounter💚 -2400💚 -1760💚 -1680💚 -1120💚 -2420💚 -2320💚 -2440💚 -1200
libraries/RainMaker/examples/RMakerCustom💚 -2360--💚 -1680💚 -1480💚 -2520💚 -2280----
libraries/RainMaker/examples/RMakerCustomAirCooler💚 -2360--💚 -1640💚 -1600💚 -2440💚 -2360----
libraries/RainMaker/examples/RMakerSonoffDualR3💚 -2360--💚 -1840💚 -1440💚 -2520💚 -2280----
libraries/RainMaker/examples/RMakerSwitch💚 -2360--💚 -1680💚 -1400💚 -2520💚 -2240----
libraries/SD/examples/SD_Test💚 -2260💚 -1820💚 -1680💚 -1400💚 -2440💚 -2360💚 -2440💚 -1200
libraries/SD/examples/SD_time💚 -2340💚 -1820💚 -1480💚 -1480💚 -2520💚 -2360--💚 -1120
libraries/SPI/examples/SPI_Multiple_Buses💚 -2280💚 -1820💚 -1680💚 -1360💚 -2520💚 -2360💚 -2440💚 -1160
libraries/SPIFFS/examples/SPIFFS_Test💚 -2300💚 -1840💚 -1680💚 -1400💚 -2460💚 -2300💚 -2480💚 -1200
libraries/SPIFFS/examples/SPIFFS_time💚 -2360💚 -1820💚 -1640💚 -1320💚 -2440💚 -2360--💚 -1040
libraries/TFLiteMicro/examples/hello_world💚 -2420💚 -1800💚 -1680💚 -1440💚 -2520💚 -2400💚 -2500💚 -1320
libraries/Ticker/examples/Blinker💚 -2460💚 -1940💚 -1680💚 -1120💚 -2480💚 -2380💚 -2580💚 -1320
libraries/Ticker/examples/TickerBasic💚 -2480💚 -1940💚 -1680💚 -1400💚 -2460💚 -2400💚 -2580💚 -1320
libraries/Ticker/examples/TickerParameter💚 -2400💚 -1860💚 -1680💚 -1400💚 -2560💚 -2480💚 -2500💚 -1320
libraries/Update/examples/AWS_S3_OTA_Update💚 -2280💚 -1820💚 -1640💚 -1480💚 -2440💚 -2360--💚 -1120
libraries/Update/examples/HTTPS_OTA_Update💚 -2300💚 -1820💚 -1760💚 -1640💚 -2460💚 -2380--💚 -1200
libraries/Update/examples/HTTP_Client_AES_OTA_Update💚 -2280💚 -1740💚 -1680💚 -1480💚 -2440💚 -2360--💚 -1160
libraries/Update/examples/HTTP_Server_AES_OTA_Update💚 -2360💚 -1820💚 -1480💚 -1520💚 -2440💚 -2360--💚 -1120
libraries/Update/examples/OTAWebUpdater💚 -2280💚 -1820💚 -1480💚 -1440💚 -2520💚 -2280--💚 -1200
libraries/Update/examples/SD_Update💚 -2260💚 -1740💚 -1520💚 -1400💚 -2520💚 -2280💚 -2440💚 -1040
libraries/WebServer/examples/AdvancedWebServer💚 -2280💚 -1820💚 -1600💚 -1280💚 -2440💚 -2280--💚 -1160
libraries/WebServer/examples/ChunkWriting💚 -2360💚 -1740💚 -1680💚 -1480💚 -2440💚 -2360--💚 -1200
libraries/WebServer/examples/FSBrowser💚 -1980💚 -1440💚 -1280💚 -1040💚 -2060💚 -1900--💚 -680
libraries/WebServer/examples/Filters💚 -2280💚 -1820💚 -1680💚 -1680💚 -2440💚 -2280--💚 -920
libraries/WebServer/examples/HelloServer💚 -2280💚 -1820💚 -1680💚 -1400💚 -2440💚 -2280--💚 -960
libraries/WebServer/examples/HttpAdvancedAuth💚 -2280💚 -1740💚 -1600💚 -1440💚 -2520💚 -2360--💚 -1360
libraries/WebServer/examples/HttpAuthCallback💚 -2360💚 -1820💚 -1520💚 -1440💚 -2440💚 -2280--💚 -1160
libraries/WebServer/examples/HttpAuthCallbackInline💚 -2360💚 -1820💚 -1520💚 -1480💚 -2440💚 -2280--💚 -1200
libraries/WebServer/examples/HttpBasicAuth💚 -2360💚 -1820💚 -1600💚 -1520💚 -2440💚 -2280--💚 -1120
libraries/WebServer/examples/HttpBasicAuthSHA1💚 -2280💚 -1820💚 -1680💚 -1560💚 -2520💚 -2360--💚 -1520
libraries/WebServer/examples/HttpBasicAuthSHA1orBearerToken💚 -2280💚 -1740💚 -1480💚 -1320💚 -2520💚 -2360--💚 -1160
libraries/WebServer/examples/Middleware💚 -2360--💚 -1680💚 -1320💚 -2440💚 -2360--💚 -1040
libraries/WebServer/examples/MultiHomedServers💚 -2280💚 -1740💚 -1480💚 -1520💚 -2440💚 -2280--💚 -960
libraries/WebServer/examples/PathArgServer💚 -2360💚 -1820💚 -1760💚 -1400💚 -2440💚 -2280--💚 -1240
libraries/WebServer/examples/SDWebServer💚 -1960💚 -1360💚 -1160💚 -960💚 -2140💚 -1980--💚 -720
libraries/WebServer/examples/SimpleAuthentification💚 -2360💚 -1740💚 -1440💚 -1320💚 -2440💚 -2360--💚 -1200
libraries/WebServer/examples/UploadHugeFile💚 -2260💚 -1740💚 -1600💚 -1560💚 -2440💚 -2360--💚 -1120
libraries/WebServer/examples/WebServer💚 -1900💚 -1440💚 -1120💚 -960💚 -2140💚 -1980--💚 -680
libraries/WebServer/examples/WebUpdate💚 -1900💚 -1360💚 -1240💚 -1520💚 -2140💚 -1900--💚 -520
libraries/WiFi/examples/FTM/FTM_Initiator💚 -2380💚 -1840💚 -1720💚 -1400💚 -2540💚 -2380--💚 -1160
libraries/WiFi/examples/FTM/FTM_Responder💚 -2380💚 -1840💚 -1520💚 -1400💚 -2540💚 -2320--💚 -1160
libraries/WiFi/examples/SimpleWiFiServer💚 -2280💚 -1820💚 -1640💚 -1440💚 -2440💚 -2280--💚 -1040
libraries/WiFi/examples/WPS💚 -2280--💚 -1480💚 -1440💚 -2440💚 -2360--💚 -1200
libraries/WiFi/examples/WiFiAccessPoint💚 -2280💚 -1740💚 -1680💚 -1360💚 -2440💚 -2360--💚 -1000
libraries/WiFi/examples/WiFiBlueToothSwitch💚 -2360--💚 -1680--💚 -2520💚 -2360--💚 -1160
libraries/WiFi/examples/WiFiClient💚 -2360💚 -1740💚 -1560💚 -1400💚 -2440💚 -2360--💚 -1200
libraries/WiFi/examples/WiFiClientBasic💚 -2280💚 -1820💚 -1440💚 -1440💚 -2520💚 -2280--💚 -1160
libraries/WiFi/examples/WiFiClientConnect💚 -2380💚 -1760💚 -1680💚 -1400💚 -2460💚 -2300--💚 -1160
libraries/WiFi/examples/WiFiClientEnterprise💚 -2280--💚 -1680💚 -1520💚 -2440💚 -2280--💚 -1160
libraries/WiFi/examples/WiFiClientEvents💚 -2280💚 -1740💚 -1640💚 -1320💚 -2440💚 -2360--💚 -1280
libraries/WiFi/examples/WiFiClientStaticIP💚 -2280💚 -1820💚 -1600💚 -1360💚 -2520💚 -2280--💚 -1360
libraries/WiFi/examples/WiFiExtender💚 -1900💚 -1440💚 -1280💚 -1160💚 -2060💚 -2000--💚 -800
libraries/WiFi/examples/WiFiIPv6💚 -2360💚 -1740💚 -1760💚 -1400💚 -2520💚 -2280--💚 -1200
libraries/WiFi/examples/WiFiMulti💚 -2280💚 -1740💚 -1680💚 -1360💚 -2440💚 -2360--💚 -1040
libraries/WiFi/examples/WiFiMultiAdvanced💚 -2360💚 -1820💚 -1640💚 -1480💚 -2440💚 -2360--💚 -1520
libraries/WiFi/examples/WiFiScan💚 -2360💚 -1740💚 -1680💚 -1400💚 -2460💚 -2380--💚 -1040
libraries/WiFi/examples/WiFiScanAsync💚 -2360💚 -1820💚 -1640💚 -1600💚 -2520💚 -2360--💚 -1160
libraries/WiFi/examples/WiFiScanDualAntenna💚 -2380💚 -1760💚 -1640💚 -1480💚 -2460💚 -2280--💚 -1280
libraries/WiFi/examples/WiFiScanTime💚 -2380💚 -1820💚 -1480💚 -1400💚 -2560💚 -2300--💚 -1120
libraries/WiFi/examples/WiFiSmartConfig💚 -2320--💚 -1640💚 -1720💚 -2460💚 -2320--💚 -1200
libraries/WiFi/examples/WiFiTelnetToSerial💚 -2280💚 -1820💚 -1680💚 -1400💚 -2520💚 -2360--💚 -1120
libraries/WiFi/examples/WiFiUDPClient💚 -2280💚 -1820💚 -1640💚 -1400💚 -2440💚 -2360--💚 -1160
libraries/WiFiProv/examples/WiFiProv💚 -2380--💚 -1680💚 -1360💚 -2540💚 -2300--💚 -1240
libraries/Wire/examples/WireMaster💚 -2020💚 -1560💚 -1280💚 -1080💚 -2100💚 -2000💚 -2200💚 -600
libraries/Wire/examples/WireScan💚 -2480💚 -1880💚 -1680💚 -1480💚 -2560💚 -2480💚 -2500💚 -1040
libraries/Wire/examples/WireSlave💚 -2060💚 -1540💚 -1280💚 -1080💚 -2120💚 -2120💚 -2180💚 -760
libraries/Wire/examples/WireSlaveFunctionalCallback💚 -2060💚 -1540💚 -1280💚 -1080💚 -2120💚 -2120💚 -2180💚 -760
libraries/Zigbee/examples/Zigbee_Analog_Input_Output💚 -2300--💚 -1720💚 -1640💚 -2560💚 -2300💚 -2480💚 -1160
libraries/Zigbee/examples/Zigbee_Binary_Input_Output💚 -2380--------💚 -2380💚 -2480--
libraries/Zigbee/examples/Zigbee_CarbonDioxide_Sensor💚 -2300--------💚 -2420💚 -2620--
libraries/Zigbee/examples/Zigbee_Color_Dimmable_Light💚 -2220--------💚 -2320💚 -2540--
libraries/Zigbee/examples/Zigbee_Color_Dimmer_Switch💚 -2380--💚 -1640💚 -1520💚 -2440💚 -2360💚 -2520💚 -1160
libraries/Zigbee/examples/Zigbee_Contact_Switch💚 -2260--------💚 -2360💚 -2540--
libraries/Zigbee/examples/Zigbee_Dimmable_Light💚 -2320--------💚 -2280💚 -2460--
libraries/Zigbee/examples/Zigbee_Electrical_AC_Sensor💚 -2320--💚 -1560💚 -1640💚 -2460💚 -2300💚 -2520💚 -1200
libraries/Zigbee/examples/Zigbee_Electrical_AC_Sensor_MultiPhase💚 -2300--💚 -1560💚 -1480💚 -2480💚 -2300💚 -2560💚 -1200
libraries/Zigbee/examples/Zigbee_Electrical_DC_Sensor💚 -2300--------💚 -2360💚 -2420--
libraries/Zigbee/examples/Zigbee_Fan_Control💚 -2380--💚 -1480💚 -1480💚 -2560💚 -2440💚 -2560💚 -1160
libraries/Zigbee/examples/Zigbee_Gateway💚 -2280--💚 -1680💚 -1480💚 -2400----💚 -1040
libraries/Zigbee/examples/Zigbee_Illuminance_Sensor💚 -2300--------💚 -2320💚 -2520--
libraries/Zigbee/examples/Zigbee_Multistate_Input_Output💚 -2280--💚 -1680💚 -1480💚 -2520💚 -2260💚 -2440💚 -1120
libraries/Zigbee/examples/Zigbee_OTA_Client💚 -2320--------💚 -2260💚 -2480--
libraries/Zigbee/examples/Zigbee_Occupancy_Sensor💚 -2360--------💚 -2520💚 -2620--
libraries/Zigbee/examples/Zigbee_On_Off_Light💚 -2440--------💚 -2320💚 -2520--
libraries/Zigbee/examples/Zigbee_On_Off_MultiSwitch💚 -2400--💚 -1640💚 -1440💚 -2560💚 -2380💚 -2560💚 -1120
libraries/Zigbee/examples/Zigbee_On_Off_Switch💚 -2280--💚 -1880💚 -1600💚 -2440💚 -2300💚 -2460💚 -1080
libraries/Zigbee/examples/Zigbee_PM25_Sensor💚 -2320--------💚 -2400💚 -2620--
libraries/Zigbee/examples/Zigbee_Power_Outlet💚 -2360--💚 -1480💚 -1400💚 -2480💚 -2320💚 -2520💚 -1160
libraries/Zigbee/examples/Zigbee_Pressure_Flow_Sensor💚 -2300--------💚 -2360💚 -2520--
libraries/Zigbee/examples/Zigbee_Range_Extender💚 -2360--💚 -1680💚 -1480💚 -2500💚 -2300💚 -2540💚 -1040
libraries/Zigbee/examples/Zigbee_Scan_Networks💚 -2440--------💚 -2440💚 -2580--
libraries/Zigbee/examples/Zigbee_Temp_Hum_Sensor_Sleepy💚 -2340--------💚 -2380💚 -2580--
libraries/Zigbee/examples/Zigbee_Temperature_Sensor💚 -2280--------💚 -2360💚 -2540--
libraries/Zigbee/examples/Zigbee_Thermostat💚 -2360--💚 -1560💚 -1440💚 -2560💚 -2440💚 -2560💚 -1200
libraries/Zigbee/examples/Zigbee_Vibration_Sensor💚 -2360--------💚 -2280💚 -2480--
libraries/Zigbee/examples/Zigbee_Wind_Speed_Sensor💚 -2300--------💚 -2400💚 -2620--
libraries/Zigbee/examples/Zigbee_Window_Covering💚 -2280--------💚 -2360💚 -2540--
tests/validation/uart----------------
libraries/ESP32/examples/DeepSleep/TouchWakeUp--💚 -1800💚 -1680💚 -1480------💚 -1200
libraries/ESP32/examples/TWAI/TWAIreceive--💚 -1840💚 -1680💚 -1480💚 -2420💚 -2380💚 -2360💚 -1200
libraries/ESP32/examples/TWAI/TWAItransmit--💚 -1840💚 -1680💚 -1120💚 -2320💚 -2300💚 -2360💚 -1200
libraries/ESP32/examples/Touch/TouchButton--💚 -1880💚 -1680💚 -1480------💚 -1040
libraries/ESP32/examples/Touch/TouchInterrupt--💚 -1780💚 -1680💚 -1400------💚 -1200
libraries/ESP32/examples/Touch/TouchRead--💚 -1820💚 -1680💚 -1480------💚 -1040
libraries/ESP_HostedOTA/examples/ESP_HostedOTA--💚 -1820------------
libraries/ESP_I2S/examples/Record_to_WAV--💚 -1760💚 -1680--------💚 -1200
libraries/ESP_SR/examples/Basic--💚 -1800💚 -1680----------
libraries/Ethernet/examples/ETH_TLK110--💚 -1820----------💚 -1160
libraries/SD_MMC/examples/SD2USBMSC--💚 -1760💚 -1680----------
libraries/SD_MMC/examples/SDMMC_Test--💚 -1760💚 -1680--------💚 -1200
libraries/SD_MMC/examples/SDMMC_time--💚 -1740💚 -1680--------💚 -1120
libraries/USB/examples/CompositeDevice--💚 -1380💚 -1240💚 -960--------
libraries/USB/examples/ConsumerControl--💚 -1780💚 -1680💚 -1400--------
libraries/USB/examples/CustomHIDDevice--💚 -1560💚 -1280💚 -960--------
libraries/USB/examples/FirmwareMSC--💚 -1520💚 -1280💚 -1080--------
libraries/USB/examples/Gamepad--💚 -1980💚 -1680💚 -1480--------
libraries/USB/examples/HIDVendor--💚 -1900💚 -1680💚 -1480--------
libraries/USB/examples/Keyboard/KeyboardLogout--💚 -1720💚 -1680💚 -1400--------
libraries/USB/examples/Keyboard/KeyboardMessage--💚 -1720💚 -1680💚 -1400--------
libraries/USB/examples/Keyboard/KeyboardReprogram--💚 -1840💚 -1680💚 -1400--------
libraries/USB/examples/Keyboard/KeyboardSerial--💚 -1940💚 -1680💚 -1360--------
libraries/USB/examples/KeyboardAndMouseControl--💚 -1900💚 -1680💚 -1480--------
libraries/USB/examples/MIDI/MidiController--💚 -1900💚 -1680💚 -1480--------
libraries/USB/examples/MIDI/MidiInterface--💚 -1860💚 -1680💚 -1480--------
libraries/USB/examples/MIDI/MidiMusicBox--💚 -1840💚 -1680💚 -1480--------
libraries/USB/examples/MIDI/ReceiveMidi--💚 -1880💚 -1680💚 -1440--------
libraries/USB/examples/Mouse/ButtonMouseControl--💚 -1800💚 -1680💚 -1480--------
libraries/USB/examples/SystemControl--💚 -1860💚 -1680💚 -1480--------
libraries/USB/examples/USBMSC--💚 -1440💚 -1120💚 -960--------
libraries/USB/examples/USBSerial--💚 -1520💚 -1280💚 -680--------
libraries/USB/examples/USBVendor--💚 -1540💚 -1280💚 -1080--------
libraries/ESP32/examples/Camera/CameraWebServer----💚 -1280💚 -1000------💚 -880
ESP32/examples/Camera/CameraWebServer (2)----💚 -1160💚 -1040------💚 -760
ESP32/examples/Camera/CameraWebServer (3)----💚 -1240----------
libraries/ESP32/examples/DeepSleep/ExternalWakeUp----💚 -1680💚 -1480------💚 -1200
libraries/BluetoothSerial/examples/DiscoverConnect--------------💚 -1120
libraries/BluetoothSerial/examples/GetLocalMAC--------------💚 -1000
libraries/BluetoothSerial/examples/SerialToSerialBT--------------💚 -1280
libraries/BluetoothSerial/examples/SerialToSerialBTM--------------💚 -1240
libraries/BluetoothSerial/examples/SerialToSerialBT_Legacy--------------💚 -1040
libraries/BluetoothSerial/examples/SerialToSerialBT_SSP--------------💚 -1160
libraries/BluetoothSerial/examples/bt_classic_device_discovery--------------💚 -1240
libraries/BluetoothSerial/examples/bt_remove_paired_devices--------------💚 -1160
libraries/ESP32/examples/DeepSleep/SmoothBlink_ULP_Code--------------💚 -1040
libraries/Ethernet/examples/ETH_LAN8720--------------💚 -1160
libraries/SimpleBLE/examples/SimpleBleDevice--------------💚 -600

Updated UART test configurations to handle I2C interactions correctly by detaching TX pin and restarting the UART driver when both RX and TX are detached.
Updated UART test configuration to detach only one pin instead of both, ensuring the UART driver continues to function. Removed redundant code related to UART driver restart when both pins are detached.
Updated UART test configuration to detach TX pin while keeping RX pin active. Adjusted assertions to reflect the new pin settings.
@SuGlider SuGlider marked this pull request as ready for review December 2, 2025 21:18
@SuGlider SuGlider requested a review from me-no-dev December 2, 2025 21:18
@SuGlider SuGlider added the Status: Review needed Issue or PR is awaiting review label Dec 2, 2025
@SuGlider SuGlider moved this from In Progress to In Review in Arduino ESP32 Core Project Roadmap Dec 2, 2025
Added note about driver behavior when RX and TX pins are detached.
@SuGlider
Copy link
Collaborator Author

SuGlider commented Dec 2, 2025

@me-no-dev - Not sure if this change would be considered a Breaking Change - stopping the UART after both RX/TX pins are detached.

Copilot finished reviewing on behalf of SuGlider December 2, 2025 22:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR implements automatic UART driver termination when both RX and TX pins are detached from a UART peripheral, which can occur when another peripheral (like I2C) claims those pins. The fix includes safeguards to prevent unwanted driver termination during legitimate pin reconfiguration operations.

Key Changes

  • Added logic to terminate UART driver when both RX and TX pins are detached
  • Implemented callback muting mechanism in uartSetPins to prevent driver termination during pin changes
  • Moved debug UART reset from HardwareSerial::end() to uartEnd() for centralized cleanup
  • Updated tests to avoid detaching both pins simultaneously, which now triggers driver termination

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
cores/esp32/esp32-hal-uart.c Core UART driver changes: added pin detachment detection logic, callback muting during pin changes, and debug UART cleanup in uartEnd()
cores/esp32/HardwareSerial.cpp Removed debug UART reset from end() method (now handled in uartEnd())
cores/esp32/chip-debug-report.cpp Simplified Serial.begin() call by removing explicit 0 baud rate parameter
tests/validation/uart/uart.ino Modified tests to detach only one pin at a time, avoiding driver termination
docs/en/api/serial.rst Added documentation note explaining the new behavior when both pins are detached

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

SuGlider and others added 5 commits December 2, 2025 19:27
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@SuGlider SuGlider requested a review from Copilot December 3, 2025 02:21
Copilot finished reviewing on behalf of SuGlider December 3, 2025 02:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

SuGlider and others added 2 commits December 2, 2025 23:27
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Member

@pedrominatel pedrominatel left a comment

Choose a reason for hiding this comment

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

Just a minor change on the .rst file.
Thanks!

@SuGlider SuGlider added Status: Pending Merge Pull Request is ready to be merged and removed Status: Review needed Issue or PR is awaiting review labels Dec 3, 2025
@github-actions github-actions bot added the Status: Pre-commit fixes required ⚠️ The pre-commit bot can't fix the issues automatically. Please fix the issues manually. label Dec 3, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

⚠️ Pre-commit Hooks Failed

Some pre-commit hooks failed and require manual fixes. Please see the detailed error report below.

What to do:

  1. 📋 View the detailed error report to see which hooks failed
  2. 🔧 Fix the issues locally in your code
  3. 💾 Commit and push your changes
  4. 🔄 The hooks will run again automatically

Need help? Ask in the comments below.

@github-actions github-actions bot removed the Status: Pre-commit fixes required ⚠️ The pre-commit bot can't fix the issues automatically. Please fix the issues manually. label Dec 3, 2025
@me-no-dev me-no-dev merged commit 2dd42c2 into master Dec 4, 2025
81 checks passed
@me-no-dev me-no-dev deleted the fix/uart_dettach_end branch December 4, 2025 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Peripheral: UART Related to the UART peripheral or its functionality. Status: Pending Merge Pull Request is ready to be merged

Projects

Development

Successfully merging this pull request may close these issues.

6 participants