zephyr/drivers/eeprom
Jared Kangas 34e4edc28a drivers: eeprom: emulator: correct improper exponentiation
The top-level driver comment states that a uint16_t is used to store
changes if the EEPROM size is smaller than 64kB, or uint32_t otherwise.
However, the 64kB threshold is represented as 2^16 in the actual code,
which is a bitwise XOR instead of an exponent. This causes a uint16_t
to be used only if the size is less than or equal to 18 bytes. Correct
this by using KB(64) instead of 2^16.

Signed-off-by: Jared Kangas <kangas.jd@gmail.com>
2024-07-05 09:18:31 +02:00
..
CMakeLists.txt drivers: add mb85rc fram driver 2023-08-30 17:38:21 +02:00
eeprom_at2x_emul.c i2c: use device instead of name for i2c dump messages 2023-09-06 17:54:53 +02:00
eeprom_at2x.c everywhere: replace double words 2024-06-22 05:40:22 -04:00
eeprom_emulator.c drivers: eeprom: emulator: correct improper exponentiation 2024-07-05 09:18:31 +02:00
eeprom_fake.c drivers: fake: now just check for CONFIG_ZTEST 2023-10-20 15:04:29 +02:00
eeprom_handlers.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
eeprom_lpc11u6x.c
eeprom_mb85rcxx.c drivers: mb85rc: support use of multiple modules as a single one 2023-08-30 17:38:21 +02:00
eeprom_mchp_xec.c drivers: drop few redundant guard around pm_policy_state_lock_* 2023-11-22 18:34:36 +00:00
eeprom_shell.c
eeprom_simulator.c drivers epprom_simulator: Set standard source macro appropriately 2024-01-26 07:48:55 -05:00
eeprom_stm32.c
eeprom_tmp116.c
Kconfig drivers: eeprom: remove CONFIG_EMUL_EEPROM_AT2X 2024-06-18 14:33:58 -04:00
Kconfig.eeprom_emu
Kconfig.lpc11u6x
Kconfig.mb85rcxx drivers: add mb85rc fram driver 2023-08-30 17:38:21 +02:00
Kconfig.stm32
Kconfig.tmp116
Kconfig.xec