Firmware development in Windows

Discussions about all things Bitcraze
Post Reply
matejkarasek
Beginner
Posts: 3
Joined: Tue Jul 09, 2019 11:50 am

Firmware development in Windows

Post by matejkarasek » Tue Jul 09, 2019 12:13 pm

Hi everyone,

As a newbie to the Bitcraze community, I am setting things up for firmware development...
What is the best option for firmware development (preferably natively) on Windows 10 (and/or 7)?

I found some options on the bitcraze&github wikis but have been told the info might be outdated...
https://github.com/bitcraze/crazyflie-firmware
https://wiki.bitcraze.io/doc:crazyflie:dev:env:windows

Combining these two tutorials I could get the make running via Cygwin, but the build is very slow (and I am getting some build errors when building for the Roadrunner board, CF2 builds fine).

Is there anyone with some recent experience?
Thanks!

Matej

kimberly
Member
Posts: 47
Joined: Fri Jul 06, 2018 11:13 am

Re: Firmware development in Windows

Post by kimberly » Tue Jul 09, 2019 2:21 pm

Tricky and valid question :)

@theseankelly ? you work a lot with windows native install development? Could you help Matej out with this?

matejkarasek
Beginner
Posts: 3
Joined: Tue Jul 09, 2019 11:50 am

Re: Firmware development in Windows

Post by matejkarasek » Wed Jul 10, 2019 3:53 pm

Just an update:

Following the Cygwin path, I am now able to make and generate the .bin, .hex and .elf files.

make cload gives me the following error after "Restart the Crazyflie you want to bootload in the next 10 seconds ...":
Exception: Cannot find a Crazyradio Dongle
Cannot find a Crazyradio Dongle

Can the Crazyradio dongle be accessed from Cygwin? (the Windows app and the VM can access it, I use the libusb0 driver)
Or is there another way how to flash the firmware if I already have the bin, hex and elf files?

Thanks for any advice...
Matej


PS:
To get this working, I have installed Cygwin with the following packages:
Image

Further, I have cloned and installed:
crazyflie-firmware
crazyflie-lib-python
crazyflie-clients-python

Post Reply