Building firmware

Discussions about all things Bitcraze
Post Reply
Bostjan Nagode
Beginner
Posts: 7
Joined: Sat Jan 30, 2021 4:11 pm

Building firmware

Post by Bostjan Nagode »

Dear, thanks for being accepted on forum. I'm from Windows world, so i do it step by step. I would like to use Crazyflie with lighthouse position system. For that, i need to make firmware, yes? Ok, i have tried with make procedure, but i have issue at:

Code: Select all

bitcraze@bitcraze-vm:~/projects/crazyflie-firmware$ make all
  CLEAN_VERSION
  VTMPL version.c
  CC    version.o
  CC    lighthouse_position_est.o
.//src/modules/src/lighthouse/lighthouse_position_est.c: In function 'estimatePositionSweepsLh1':
.//src/modules/src/lighthouse/lighthouse_position_est.c:246:27: error: assignment from incompatible pointer type [-Werror]
       sweepInfo.sensorPos = &sensorDeckPositions[sensor];
                           ^
.//src/modules/src/lighthouse/lighthouse_position_est.c: In function 'estimatePositionSweepsLh2':
.//src/modules/src/lighthouse/lighthouse_position_est.c:285:27: error: assignment from incompatible pointer type [-Werror]
       sweepInfo.sensorPos = &sensorDeckPositions[sensor];
                           ^
.//src/modules/src/lighthouse/lighthouse_position_est.c: At top level:
cc1: error: unrecognized command line option "-Wno-address-of-packed-member" [-Werror]
cc1: all warnings being treated as errors
make[1]: *** [lighthouse_position_est.o] Error 1
make: *** [build] Error 2
can maybe someone assist at it?

Im using virtualbox machine with your image file. Updated project from desktop script.. Where to search?

Best, Bostjan Nagode
Bostjan Nagode
Beginner
Posts: 7
Joined: Sat Jan 30, 2021 4:11 pm

Re: Building firmware

Post by Bostjan Nagode »

Dear, after digging to linux i have managed to install correct python with numpy and other libraries and now communication is working, as also firmware compiling and uploading.. It works. Thats for linux.
Also i have managed communication and python scripts from Windows PC.
Now we are at lighthouse.
Thanks
Bostjan Nagode
kristoffer
Bitcraze
Posts: 630
Joined: Tue Jun 30, 2015 7:47 am

Re: Building firmware

Post by kristoffer »

I'm glad it worked out!
Bostjan Nagode
Beginner
Posts: 7
Joined: Sat Jan 30, 2021 4:11 pm

Re: Building firmware

Post by Bostjan Nagode »

Imagine my gladness..
Best, Bostjan

:D
Post Reply