Replies: 1 comment 1 reply
-
Hi @kul46 ! I would also try updating my libusb library. It looks like it old be old, based on the deprecation warnings. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am using Ubuntu 24.04.01 LTS and installed the cfclient and firmware. However, on following the "Getting started with development" doc I am getting this error when I use the last "make cload" command. Would really appreciate any help to flash the firmware successfully.
$ make cload
tools/kbuild/Makefile.kbuild:147: warning: overriding recipe for target 'cload'
Makefile:141: warning: ignoring old recipe for target 'cload'
make[1]: Entering directory '/home/kulvir-chavda/crazyflie-firmware/build'
python3 -m cfloader flash cf2.bin stm32-fw
Restart the Crazyflie you want to bootload in the next
10 seconds ...
/home/kulvir-chavda/crazyflie-env/lib/python3.12/site-packages/libusb_package/init.py:51: DeprecationWarning: is_resource is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
if resources.is_resource(name, _LIBRARY_NAME):
/home/kulvir-chavda/crazyflie-env/lib/python3.12/site-packages/libusb_package/init.py:52: DeprecationWarning: path is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
path_resource = resources.path(name, _LIBRARY_NAME)
Failed to flash: [Errno 2] Entity not found
make[1]: *** [/home/kulvir-chavda/crazyflie-firmware/Makefile:141: cload] Error 255
make[1]: Leaving directory '/home/kulvir-chavda/crazyflie-firmware/build'
make: *** [tools/kbuild/Makefile.kbuild:150: sub-make] Error 2
Beta Was this translation helpful? Give feedback.
All reactions