boards: arm: ubx_evkninab{3,4}: Update docs to use DEVICE_DT_GET
Update docs for boards ubx_evkninab3_nrf52840 and ubx_evkninab4_nrf52833 to use DEVICE_DT_GET as we phase out "label" usage and thus the device_get_binding() reference wouldn't work. Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
parent
add2b28a3b
commit
722b529f64
|
@ -302,7 +302,7 @@ more than one UART for connecting peripheral devices:
|
|||
|
||||
In the overlay file above, pin P0.16 is used for RX and P0.14 is used for TX
|
||||
|
||||
2. Use the UART1 as ``device_get_binding("UART_1")``
|
||||
2. Use the UART1 as ``DEVICE_DT_GET(DT_NODELABEL(uart1))``
|
||||
|
||||
Overlay file naming
|
||||
===================
|
||||
|
|
|
@ -197,7 +197,7 @@ more than one UART for connecting peripheral devices:
|
|||
|
||||
In the overlay file above, pin P0.16 is used for RX and P0.14 is used for TX
|
||||
|
||||
2. Use the UART1 as ``device_get_binding("UART_1")``
|
||||
2. Use the UART1 as ``DEVICE_DT_GET(DT_NODELABEL(uart1))``
|
||||
|
||||
Overlay file naming
|
||||
===================
|
||||
|
|
Loading…
Reference in a new issue