Page 1 of 1

[SOLVED] error when Build the source code

Posted: Fri Feb 18, 2022 9:24 am
by lwisle
According to https://www.bitcraze.io/documentation/t ... ource-code
I change the LED code as :#define SYS_LED LED_GREEN_R,
and then I start the build but fail:
1645175857(1).png
how can I solve this problem?I use virtualbox version 6.1,and Bitcraze VM 21.07

Re: error when Build the source code

Posted: Sat Feb 19, 2022 9:38 am
by lwisle
I find that failed firmware version is the latest and different from previously I used. I guess this error may caused by Kconfig file?

Re: error when Build the source code

Posted: Tue Feb 22, 2022 4:05 pm
by kimberly
Hi!

Yes we have moved to building with the kbuild structure as of this week (See the blogpost: https://www.bitcraze.io/2022/02/a-new-w ... -firmware/)

There is new updated flashing and building instructions can be found in the documentation of the crazyflie-firmware. In your case, you would need to do first

Code: Select all

make defconfig
and then

Code: Select all

make 
.

I'll update the tutorial to reflect this better.

Re: error when Build the source code

Posted: Fri Feb 25, 2022 8:25 am
by lwisle
kimberly wrote: Tue Feb 22, 2022 4:05 pm Hi!

Yes we have moved to building with the kbuild structure as of this week (See the blogpost: https://www.bitcraze.io/2022/02/a-new-w ... -firmware/)

There is new updated flashing and building instructions can be found in the documentation of the crazyflie-firmware. In your case, you would need to do first

Code: Select all

make defconfig
and then

Code: Select all

make 
.

I'll update the tutorial to reflect this better.
Thank you!I get it