i2c: target: eeprom_target: add addressable size assert
Add build-time assert to check if the size defined is actually addressable.
i.e: if address-width is set to 8, the maximum addressable size is 256
bytes.
Signed-off-by:
Bram Vlerick <bram.vlerick@openpixelsystems.org>
Loading
Please sign in to comment