how force support dwm1000 deck?

All discussions related to the Loco Positioning system
Post Reply
justinleeyang
Expert
Posts: 186
Joined: Mon Dec 28, 2015 5:07 am

how force support dwm1000 deck?

Post by justinleeyang »

hi, arnaud:

how force support dwm1000 deck?
justinleeyang
Expert
Posts: 186
Joined: Mon Dec 28, 2015 5:07 am

Re: how force support dwm1000 deck?

Post by justinleeyang »

config the file crazyflie-firmware\crazyflie-firmware\tools\make\config.mk.example ?

for example:

## Load a deck driver that has no OW memory
# CFLAGS += -DDECK_FORCE=bcBuzzer
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: how force support dwm1000 deck?

Post by arnaud »

Yes, this will force the initialization of a deck driver by name. In the LPS deck case this line in config.mk should work (https://github.com/bitcraze/crazyflie-f ... eck.c#L475) :

Code: Select all

CFLAGS += -DDECK_FORCE=bcDWM1000
justinleeyang
Expert
Posts: 186
Joined: Mon Dec 28, 2015 5:07 am

Re: how force support dwm1000 deck?

Post by justinleeyang »

got it, thanks
Post Reply