PX4 Writing i2c Driver Compile error

Writing a driver for PX4 using the i2c example. Im getting this error when I Make the file. Anyone know why this would be? Thanks,

Firmware/Build/px4fmu-v2_default.build/builtin_commands.c.o:(.rodata.g_builtins+0x2c): undefined reference to `TCS34725_main'

%% MODULE_MK = /Users/bertomora/Firmware/src/systemcmds/ver/module.mk % MODULE_NAME = ver % MODULE_SRC = /Users/bertomora/Firmware/src/systemcmds/ver/ % MODULE_OBJ = /Users/bertomora/Firmware/Build/px4fmu-v2_default.build//Users/bertomora/Firmware/src/systemcmds/ver/module.pre.o % MODULE_WORK_DIR = /Users/bertomora/Firmware/Build/px4fmu-v2_default.build//Users/bertomora/Firmware/src/systemcmds/ver CMD: ver CMDS: /Users/bertomora/Firmware/Build/px4fmu-v2_default.build/builtin_commands.c CC: /Users/bertomora/Firmware/Build/px4fmu-v2_default.build/builtin_commands.c %% LIBRARY_MK = /Users/bertomora/Firmware/src/lib/mathlib/CMSIS/library.mk % LIBRARY_NAME = CMSIS % LIBRARY_SRC = /Users/bertomora/Firmware/src/lib/mathlib/CMSIS/ % LIBRARY_LIB = /Users/bertomora/Firmware/Build/px4fmu-v2_default.build//Users/bertomora/Firmware/src/lib/mathlib/CMSIS/library.a % LIBRARY_WORK_DIR = /Users/bertomora/Firmware/Build/px4fmu-v2_default.build//Users/bertomora/Firmware/src/lib/mathlib/CMSIS make[2]: Nothing to be done for `library'. Pruning ROMFS files. ROMFS: romfs.img OBJ: romfs.o CC: romfs.o.c LINK: /Users/bertomora/Firmware/Build/px4fmu-v2_default.build/firmware.elf /Users/bertomora/Firmware/Build/px4fmu-v2_default.build//Users/bertomora/Firmware/Build/px4fmu-v2_default.build/builtin_commands.c.o:(.rodata.g_builtins+0x2c): undefined reference to `TCS34725_main' make[1]: *** [/Users/bertomora/Firmware/Build/px4fmu-v2_default.build/firmware.elf] Error 1 make: *** [/Users/bertomora/Firmware/Build/px4fmu-v2_default.build/firmware.px4] Error 2

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Activity