Description
Is your feature request/improvement related to a problem? Please describe.
I recently experienced the following issue using the Blue Pill board (STM32F103C8T6 MCU) with the STM32Duino core:
- Using the USB CDC, the data sent by Blue Pill was not received by an old Terminal Serial written via Delphi 7;
- For example, this Terminal was unable to receive data from a program based on the following code:
This is because the DTR signal is not enabled by default on that Serial Terminal. After enabling this signal, I was able to receive the data without any problem.
But I didn't experience any issue when I performed the tests using a Rust program based on the following code with the Blue Pill:
I also tested a Honeywell RFID reader (YJ-HF500) that communicate via USB CDC, and the Terminal was able to receive the data even with the DTR signal disabled.
Describe the solution you'd like
I found the following "work around" in the STM32duino forum:
But I would like something that can be configured through the development environment, without having to modify the usbd_cdc_if.c
file directly.
For example, I would like to be able to enable/ disable the DTR signal verification by overwriting some macro. Or is this already possible?