Page 1 of 1

CF2.1 firmware

Posted: Sat Jun 01, 2019 2:08 pm
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!

Re: CF2.1 firmware

Posted: Tue Jun 04, 2019 7:56 am
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.