I entered to this site https://www.bitcraze.io/docs/crazyflie- ... tructions/ and downloaded by this command : git clone --recursive https://github.co ... rmware.git now I seen in my computer document called crazyflie_firmware, I entered to cd /crazyflie_firmware in my terminal and then for doing flash and build to my crazyflie I used debugger and in my terminal cd /crazyflie_firmware I did this:
make clean
make
and then I couldn't do build there's error in downloading firmware, the error is appearing while doing "make" which means at build there's error .. so what should I do in order to success to download the updated firmware and to succeed in flashing it to my crazyflie's chip by debugger kit? (debugger itself is working for me because on another drone it works fine .. )
In brief, what steps please should I do in order to download update bitcraze firmware of drone and to succeed in building/flashing it?
thanks!
Im not using VM, and I get this bug:
Code: Select all
.//src/modules/src/outlierFilter.c:107:40: error: initializer element is not constant
static const int32_t lhMinWindowTime = -2 * lhTicksPerFrame;
^
.//src/modules/src/outlierFilter.c:108:40: error: initializer element is not constant
static const int32_t lhMaxWindowTime = 5 * lhTicksPerFrame;
^
.//src/modules/src/outlierFilter.c:109:48: error: initializer element is not constant
static const int32_t lhBadSampleWindowChange = -lhTicksPerFrame;
^
.//src/modules/src/outlierFilter.c:110:49: error: initializer element is not constant
static const int32_t lhGoodSampleWindowChange = lhTicksPerFrame / 2;
^~~~~~~~~~~~~~~
tools/make/targets.mk:26: recipe for target 'outlierFilter.o' failed
Makefile:350: recipe for target 'build' failed
make[1]: *** [outlierFilter.o] Error 1
make: *** [build] Error 2