-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make command doesn't run #111
Comments
I'm too getting error on running the make command for the booloader. |
@davids5: It looks as if the fsl_device_registers.h file required by kinetis/cdcacm.c (original commit adding kinetis/cdcacm.c 000ba88) was never committed into the repo. @ThomasH3 @prtkj : You can still build your required bootloader (as long as it isn't one for one of the kinetis targets) by running |
@ksschwabe : Actually I tried that as well. I could successfully build the px4fmuv5_bl . It doesn't show any error. But the px4fmuv2_bl doesn't build successfully |
I wanted to build bootloader for STM32 F4 series.That is for Pixhawk 1. |
@prtkj : 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
|
@davids5: After having manually updated the submodules, the compilation of the kinetis worked. We probably need the kinetis submodule to also be 'updated automatically' like the libopencm3 module is, e.g. show a warning and if you press 'u', it updates the kinetis submodule. |
@ksschwabe : I tried the commands but still couldn't build. |
My goto git command is 'git submodule sync --recursive && git submodule update --init --recursive' |
|
It doens't work. C:\Bootloader>make clean C:\Bootloader>make px4fmuv2_bl |
@ThomasH3 What OS are you building on? It looks like Windows. I have never even tried to build this on Windows but that looks to be your issue. Have you tried it on linux? |
Error message in Linux: |
make[2]: arm-none-eabi-gcc: Command not found You do not have a toolchain installed. Please follow the dev guide @ https://dev.px4.io/en/setup/dev_env.html for linux. |
@ThomasH3 as david says, try setting up the toolchain as mentioned in the link for linux. Follow the development of Pixhawk/NuttX and try make the px4fmuv2_bl . |
Got it. Thank You ! |
I'm getting the following error message while running the make command.
make (e=2): "Can't find the file".
make[1]: *** [build/nxphlitev3_bl/bl.o] Error 2
make: *** [nxphlitev3_bl] Error 2
The text was updated successfully, but these errors were encountered: