Cannot compile CF2 firmware with latest build

Post here to get support
Post Reply
sali0
Beginner
Posts: 24
Joined: Wed Oct 19, 2016 7:53 pm

Cannot compile CF2 firmware with latest build

Post 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.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Cannot compile CF2 firmware with latest build

Post 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.
Post Reply