zephyr/samples/drivers/flash_shell/src
Gerard Marull-Paretas f8c0e3907e samples: drivers: flash_shell: use DEVICE_DT_GET_OR_NULL
The optional flash device can be obtained at compile time using
DEVICE_DT_GET_OR_NULL. Init code has been adjusted so that flash_dev is
forced to NULL when device is not ready (user can later specify the
device manually).

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-31 13:55:10 +02:00
..
main.c samples: drivers: flash_shell: use DEVICE_DT_GET_OR_NULL 2022-03-31 13:55:10 +02:00