zephyr/tests/drivers/eeprom/api/at2x_emul.overlay
Alberto Escolar Piedras 74d22a4b35 tests/drivers/eeprom: Several fixes and improvements
* Fix app path in documentation
* Move the at24 emulator overlays to be general instead of
  native_posix specific
* Switch default test platform from native_posix to native_sim
* From build only test, exclude platforms which are used
  in the build and run test.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-14 11:11:53 +01:00

21 lines
299 B
Plaintext

/* Copyright (c) 2020 Nordic Semiconductor ASA
* SPDX-License-Identifier: Apache-2.0
*/
/ {
aliases {
eeprom-1 = &i2c_eeprom;
};
};
&i2c0 {
i2c_eeprom: eeprom@57 {
compatible = "atmel,at24";
reg = <0x57>;
size = <256>;
pagesize = <8>;
address-width = <8>;
timeout = <5>;
};
};