Skip to content
Commit bc3ea1bb authored by Qipeng Zha's avatar Qipeng Zha Committed by Anas Nashif
Browse files

drivers: spi: add SPI device statistics



Enable below statistics for SPI by follow Zephyr STATS subsystem,
    rx_bytes, tx_bytes, transfer_error.

and add SPI_DEVICE_DT_DEFINE helper macro to define SPI device.

Signed-off-by: default avatarXiaolu Sun <xiaolu.sun@intel.com>
Signed-off-by: default avatarQipeng Zha <qipeng.zha@intel.com>
parent 7d545867
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment