-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Issue request type
- Question
- Enhancement
- Bug
Description
OCD kicked in and now that that #6687 and #6688 are opened, the real issue is that we seem to have wrapped MBED_CONF_TARGET_STDIO_UART_RX
around STDIO_UART_RX
(same for TX) in PeripheralNames.h
and newer targets (or not all targets) were updated with this capability. This seems like a change that should have been introduced in some common code a stub to connect the default pins from the port. The search link below should highlight the problem.
https://github.com/ARMmbed/mbed-os/search?l=C&q=STDIO_UART_RX&type=
Looking further at this, opening up config in targets not part of mbed_lib.json
seems to be another part of the problem with compatibility across targets. https://github.com/ARMmbed/mbed-os/blob/master/targets/targets.json#L715-L718
So what we end up with is some targets with this capability and even then, some targets have tried to turn this on in targets.json
but not wrapped the pins properly but that could be due to the lacking documentation around this define (or enum in some cases) and porting in general.