zephyr/tests/drivers
Peter Bigot 6ecfe3eba1 tests: i2c_slave_api: overhaul test implementation
Make the expected data buffers immutable to ensure that the test isn't
modifying them.

Improve clarity by using defines for the two devicetree nodes rather
than repeating the DT_INST() retrieval.

Clean up the naming and diagnostics to more clearly associate the
device label, I2C bus, and I2C address with either EEPROM instance 0
or 1.  Replace the base 1 numbering in some diagnostics.

Document why a device nominally on one bus is being accessed from
another bus.  Return error values from helper functions rather than
invoking ztest failure code so the calling context can provide a
better description of what went wrong.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-08-13 11:49:12 +02:00
..
adc/adc_api tests: remove obsolete doxygen boilerplate 2020-07-28 08:14:23 -05:00
build_all tests: drivers: build_all: Add cs-gpios entries for spi tests 2020-08-06 11:54:06 +02:00
can zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
clock_control tests: clock_control: Check return error 2020-08-06 18:56:37 -04:00
console tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
counter drivers: counter: Add native_posix counter hardware model and driver 2020-07-27 13:25:50 +02:00
dac tests: dac_loopback: Exclude building on arduino_zero 2020-08-12 16:09:19 -05:00
dma tests: Align all drivers using user_data for callback 2020-07-30 09:48:00 +02:00
eeprom zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
entropy/api zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
flash tests: drivers: flash: added flash tests 2020-07-20 12:46:38 +02:00
flash_simulator drivers: flash: flash_simulator: Erase flash first 2020-07-07 17:19:26 -04:00
gpio tests: remove obsolete doxygen boilerplate 2020-07-28 08:14:23 -05:00
hwinfo/api zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
i2c tests: i2c_slave_api: overhaul test implementation 2020-08-13 11:49:12 +02:00
i2s tests: remove obsolete doxygen boilerplate 2020-07-28 08:14:23 -05:00
ipm device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
kscan/kscan_api zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
pwm/pwm_api boards: arm: enable and document preipherals on the ItsyBitsy M4 2020-07-28 10:29:48 -05:00
sensor device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spi/spi_loopback tests: drivers: spi: spi_loopback: add nucleo_l4r5zi support 2020-08-10 12:16:30 +02:00
uart uart: Fix uart_irq_callback_set usage 2020-07-30 09:43:12 +02:00
watchdog/wdt_basic_api tests: wdt_basic_api: pass when requested test is not supported 2020-07-29 08:13:38 -04:00