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?
You are not logged in. Please login or register.
Kosagi Forums → Firmware → 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?
On Debian, you might need to install libi2c-dev to get the headers. Though things might have changed since it was developed.
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.
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.
Kosagi Forums → Firmware → EEPROM
Powered by PunBB, supported by Informer Technologies, Inc.