Skip to content

Conversation

@ion-popa
Copy link
Contributor

@ion-popa ion-popa commented Jan 29, 2026

Summary

This PR fixes/implements the following bugs/features

Motivation
I work mostly with battery powered devices, and the hardware timer was waking up the controller.

Validation
Tests made on a custom board based on STM32L443VC.

@fpistm
Copy link
Member

fpistm commented Jan 29, 2026

Hi @ion-popa
Thanks for the PR. Just an advice, if the mcu you used have enough hardware U(S)ART, you should better use it. SoftwareSerial was added for Arduino compatibility but consumes lot of resources.

Copy link
Member

@fpistm fpistm left a comment

Choose a reason for hiding this comment

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

LGTM.

@fpistm fpistm added the fix 🩹 Bug fix label Jan 29, 2026
@fpistm fpistm added this to the 2.13.0 milestone Jan 29, 2026
@github-project-automation github-project-automation bot moved this from In progress to Reviewer approved in STM32 core based on ST HAL Jan 29, 2026
@fpistm fpistm linked an issue Jan 29, 2026 that may be closed by this pull request
@fpistm fpistm merged commit 8d61785 into stm32duino:main Jan 29, 2026
24 checks passed
@github-project-automation github-project-automation bot moved this from Reviewer approved to Done in STM32 core based on ST HAL Jan 29, 2026
@ion-popa ion-popa deleted the software-serial-end-fix branch January 29, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix 🩹 Bug fix

Projects

Development

Successfully merging this pull request may close these issues.

SoftwareSerial.end() does not stop the timer in half duplex mode.

2 participants