commit | c409a4656ffa9a2af1cfc693c2a635c1d7c2b418 | [log] [tgz] |
---|---|---|
author | Sylvio Alves <sylvio.alves@espressif.com> | Fri Jan 07 16:50:56 2022 -0300 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Jan 21 13:16:55 2022 -0500 |
tree | b3de5f9a84587ec1daa73085921cf3303685c243 | |
parent | 6590ffd3309550dbc7819fbccb94cd6accb41b81 [diff] |
drivers: uart: esp32: use DEVICE_DT_INST_DEFINE() Current uart driver implementation is incompleted regarding the usage of DT_INST_FOREACH_STATUS_OKAY. If uart0 and uart2 are selected, build breaks due to peripheral number ordering, which would be 0 and 1 in this case. This fix PR fix this by re-working the macros and setting proper uart peripheral instances in DTSI, required for signal routing configuration. Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>