Add sample which clearly and thorougly shows how to use RTIO with I2C controllers, both synchronously and async, comparing it with the "standard" I2C API, in an controlled environment. Both the I2C controller and I2C target are managed by the sample, using loopback to monitor and control the I2C transfers. Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
9 lines
182 B
Plaintext
9 lines
182 B
Plaintext
# Copyright (c) 2024 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
CONFIG_I2C=y
|
|
CONFIG_RTIO=y
|
|
CONFIG_I2C_RTIO=y
|
|
CONFIG_I2C_TARGET=y
|
|
CONFIG_I2C_TARGET_BUFFER_MODE=y
|