zephyr/include
Peter Bigot cabbd916cf drivers: move eeprom_slave driver to tests directory
This device isn't an actual hardware driver: it's a virtual EEPROM
that stores data in an instance-specific RAM buffer, with the data
exposed on an I2C bus as a I2C follower (slave) device that can be
controlled by another device acting as a leader (master) on that same
bus.

As such it's a reasonable example of how to write an I2C follower
driver, but it's not clear that it has a real use in applications.  A
Zephyr application that needs to emulate an EEPROM in a real-world
system would be unlikely to provide its data from a RAM buffer.

The sole in-tree reference is in the i2c_slave_api test, so move the
driver implementation into that test.

The Kconfig and hierarchy are being left in place until it is more
clear how this functionality should be selectable within Zephyr.  The
I2C_SLAVE symbol has been converted from menuconfig to config to
eliminate a Kconfig style diagnostic.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-08-13 11:49:12 +02:00
..
app_memory userspace: mark z_app_regions as const 2020-07-20 13:47:10 +02:00
arch posix: linker: Wrap rodata and rwdata in sections. 2020-08-13 11:41:39 +02:00
audio device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
bluetooth Bluetooth: host: Perodic advertisement synchronization 2020-08-11 14:17:19 +02:00
canbus
cmsis_rtos_v1
cmsis_rtos_v2
console
crypto device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
data
debug
devicetree devicetree: pwms: make flags default to 0 2020-08-04 07:35:26 -05:00
dfu
disk
display device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
drivers drivers: move eeprom_slave driver to tests directory 2020-08-13 11:49:12 +02:00
dt-bindings dts: arm: nxp: Add node and bindings for lpc11u6x clock controller 2020-07-29 20:12:24 +02:00
fs subsys/fs: Add open flags parameter to fs_open 2020-07-30 16:33:18 +02:00
linker kernel: introduce supervisor-only stacks 2020-07-30 21:11:14 -04:00
logging logging: move _is_user_context() check down one level 2020-08-06 08:59:33 -04:00
mgmt mgmt/osdp: Add support for OSDP in PD mode of operation 2020-08-13 11:48:28 +02:00
net device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
posix posix: expose getsockname() and sendmsg() 2020-08-06 11:53:37 +02:00
power
random
settings settings: disallow modifying the content of a static subtree name 2020-07-27 19:03:44 +02:00
shell shell: SHELL_DEFINE() create kernel stacks 2020-08-01 08:12:47 -04:00
stats
storage
sys sys/util: fix macro support when building with C++ 2020-08-12 16:39:37 -05:00
toolchain toolchain: add Z_POW2_CEIL() 2020-07-30 21:11:14 -04:00
tracing
usb
zephyr
cache.h syscalls: Add system call for cache flush & invalidate 2020-08-04 17:26:45 -04:00
device.h device: Rename driver_api/data attributes to api/data 2020-08-11 19:30:53 +02:00
devicetree.h devicetree: add accessors with default values 2020-08-04 07:35:26 -05:00
exc_handle.h
fatal.h
generated_dts_board.h
init.h
irq_nextlevel.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
irq_offload.h
irq.h
kernel_includes.h
kernel_structs.h
kernel_version.h
kernel.h kernel: Add note regarding safe use of the k_work_pending return value 2020-08-04 17:32:56 +02:00
mempool_heap.h
mempool_sys.h
ptp_clock.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
sched_priq.h
shared_irq.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
spinlock.h
sw_isr_table.h
sys_clock.h
syscall_handler.h device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
syscall.h
timeout_q.h
toolchain.h
wait_q.h
zephyr.h