Am 29.04.2021 um 20:43 schrieb Gregory Nutt:
... The main reason is that the AT24XX MTD driver only can handle one
type of devices on a single bus. ..
The is a deficiency in the driver and should be pretty easy to fix by
passing the I2C address during driver initialization. Other drivers do
that.
This has alrady been fixed - there is an option for that. The main
problem is that the capacity aka chip type is still a compile-time
option, and I'd like not to change this since it may break other
people's code.