Compiler in makefiles is set to the cross-compiler.
To compile the sources on cross-compiler or direct on device:
-
dependencies
-
two environment variable with full path should be exported (a settings.sh is provided with my defaults, those should be replaced)
-
i2c-exp-drivers obtained from omega github https://github.com/OnionIoT/i2c-exp-driver as PREFIX_I2C_EXP_DRIVER
-
fast-gpio obtained from omega github https://github.com/OnionIoT/fast-gpio as PREFIX_FAST_GPIO
-
-
in the eclipse settings (located in settings/onion.include.xml) replace the path to the correct location of crosscompiler and libraries
-
PCF8574 IO expander