[SOLVED] error when Build the source code

Discussions about all things Bitcraze
Post Reply
lwisle
Beginner
Posts: 7
Joined: Thu Oct 28, 2021 7:57 am

[SOLVED] error when Build the source code

Post 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
lwisle
Beginner
Posts: 7
Joined: Thu Oct 28, 2021 7:57 am

Re: error when Build the source code

Post 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?
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

Re: error when Build the source code

Post 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.
lwisle
Beginner
Posts: 7
Joined: Thu Oct 28, 2021 7:57 am

Re: error when Build the source code

Post 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
Post Reply