Problems integrating external library
Posted: Mon May 17, 2021 7:28 am
Hey!
I added an external library to the project, namely https://github.com/mborgerding/kissfft. To do so I include the header files by adding the corresponding directory to the "INCLUDES += -I ... " in the Makefile and placed the source files I needed in a VPATH folder as suggested in this post viewtopic.php?f=6&t=4502&p=20601&hilit= ... arm#p20601. The code compiles with "make clean && make" and I am able to flash the Crazyflie but as soon as it finishes then LEDs 1 and 4 turn RED (no blinking) and the self test routine never takes place.
Do you know what could be happening? I first tried this on a separate STM32F4 platform successfully by adding the headers and source files to the project in STM32CubeIDE to see that the problem was not in the code. Any suggestions?
I added an external library to the project, namely https://github.com/mborgerding/kissfft. To do so I include the header files by adding the corresponding directory to the "INCLUDES += -I ... " in the Makefile and placed the source files I needed in a VPATH folder as suggested in this post viewtopic.php?f=6&t=4502&p=20601&hilit= ... arm#p20601. The code compiles with "make clean && make" and I am able to flash the Crazyflie but as soon as it finishes then LEDs 1 and 4 turn RED (no blinking) and the self test routine never takes place.
Do you know what could be happening? I first tried this on a separate STM32F4 platform successfully by adding the headers and source files to the project in STM32CubeIDE to see that the problem was not in the code. Any suggestions?