Topic: EEPROM

xobs,

In order to compile novena-eeprom.c on a non-oe linux distro I had to add the include line:

#include <uapi/linux/i2c.h>


Should this be added to the .c file on your github?

Re: EEPROM

On Debian, you might need to install libi2c-dev to get the headers.  Though things might have changed since it was developed.

Re: EEPROM

xobs,

On a non-debian distro (Archlinux ARM with manually placed headers) the .c file didn't pull the necessary headers, so I had to add that include line, FWIW.

Re: EEPROM

I've had to go back and forth on what files to include.

Since the ABI hasn't changed, it might just be easiest to pull the relevant definitions into the .c file and be done with it, rather than deal with differences between distros.