Skip to content
Commit 3ea5f799 authored by Bram Vlerick's avatar Bram Vlerick Committed by Carles Cufí
Browse files

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: default avatarBram Vlerick <bram.vlerick@openpixelsystems.org>
parent 52ee175b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment