Page 1 of 1

Cannot compile CF2 firmware with latest build

Posted: Tue Mar 28, 2017 3:41 am
by sali0
Hello Bitcraze,

I finally got around to updating the firmware for our drones, but when I use make, it gives me the error
*** No rule to make target 'sensors_task.o', needed by 'cf2.elf'. Stop

I tried searching for which file it was referring to but I cannot find it anywhere. What can I do to complete the compilation? Thank you.

Re: Cannot compile CF2 firmware with latest build

Posted: Tue Mar 28, 2017 9:43 am
by arnaud
I guess you are compiling for autonomous flight and you have

Code: Select all

SENSORS=task
in your config.mk. If so you should just remove this line from config.mk. The sensors_task file has now been merged into the stock sensor file.