How to switch cf2.0 to cf2.1 #843
-
I made a large-size 8520 hollow cup aircraft according to the CF2.1 schematic, but the solid information was displayed as CF2.0, which caused the IMU initialization to fail. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Hi, The device type is read in platform.c. There are two options for you
|
Beta Was this translation helpful? Give feedback.
Hi,
there is something called the "device type", this is an identifier that is written to the hardware in production and is used when the system is booting to figure out how to configure it. If no device type identifier is found, the system will use Crazyflie 2.0 ("CF20") as a default, I assume this is what is happening in your case.
The device type is read in platform.c.
There are two options for you
DEVICE_TYPE_STRING_FORCE
defined as "…