#环境使用树莓派编译
#问题 提示 fsl_device_registers.h文件找不到
kinetis/cdcacm.c:38:10: fatal error: fsl_device_registers.h: No such file or directory
#include “fsl_device_registers.h”
^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
rules.mk:28: recipe for target ‘build/nxphlitev3_bl/kinetis/cdcacm.o’ failed
make[1]: *** [build/nxphlitev3_bl/kinetis/cdcacm.o] Error 1
Makefile:77: recipe for target ‘nxphlitev3_bl’ failed
make: *** [nxphlitev3_bl] Error 2
#解决办法
The px4fmuv2_bl compiles on my system, so the problem probably lies on your end somewhere. Have you updated the libopencm3 submodule?
To update the submodule, run the following commands
git submodule init
git submodule update
make clean
make px4fmuv2_bl
更新完解决问题
qq794543797
参考资料
https://blog.csdn.net/q7727765/article/details/69054452 树莓派编译下载
https://github.com/PX4/Bootloader/issues/111