arduino / arduino/ArduinoCore-renesas
Missing SoftwareSerial.stopListening() and SoftwareSerial.listen()
- Dominant language
- C
- Stars
- 193
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
I have a [library](https://github.com/gicking/LIN_master_portable_Arduino) which provides LIN communication across a variety of architectures and serial interfaces. For SoftwareSerial I rely on methods `stopListening` and `listen` to ignore the 1-wire echo. However, as both are not (yet) implemented for the new Renesas controllers, the build fails. Other cores do support these methods, e.g. see [here](https://github.com/arduino/ArduinoCore-avr/blob/d5d1355b95fd57bbcd30b86db5dc0003440eee8d/libraries/SoftwareSerial/src/SoftwareSerial.h#L95)).
Is it possible to add this feature? I guess it would be a simple matter of disabling and re-enabling the IRQ, but I am not familiar with this new controller, so I kindly ask you to add this as a new feature.
Thanks a lot in advance! Looking forward to a lot of fun with the new UNO :-)
Georg
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the Renesas SoftwareSerial header and implementation, then compare their public interface with the referenced ArduinoCore-avr SoftwareSerial.h. Check how the LIN library uses stopListening() and listen(); done means both methods are available for the Renesas controllers and that the reported build succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100