CF2.1 firmware

Firmware/software/electronics/mechanics
Post Reply
GTxy
Beginner
Posts: 1
Joined: Sat Jun 01, 2019 2:24 am

CF2.1 firmware

Post by GTxy »

Hello, I made a cf2.1hardware myself, I downloaded the firmware, but this platform is still 2.0 ,so something is wrong .I hope to get help, how to use this firmware for my cf2.1. thanks!
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: CF2.1 firmware

Post by arnaud »

Hi,

To make the firmware compatible with multiple platform, tags have been added at the end of the flash so that a single firmware build can find out on what platform it is running.
For the nRF you should rebuild and reflash the crazyflie2-nrf-mbs with:

Code: Select all

make PLATFORM=CF21 && make flash
For the STM, I do not think we added the tag binary file to any of the public projects, I am looking at it and will update this thread. In the mean time you can force a Crazyflie 2.1 by adding

Code: Select all

CFLAGS += DEVICE_TYPE_STRING_FORCE="0;CF21;R=B" 
into your config.mk.
Post Reply