-
Notifications
You must be signed in to change notification settings - Fork 411
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: *** [Makefile:145: build/hover.elf] Error 1 #171
Comments
hey crowerade, I got the same error: any insght to solve it? regards, Bruno Oliveira |
Seems that three of the "HandleTypeDef" definitions are redefined outside of setup.c and should be proceeded by "extern" rather than re-defined outright. I had this same issue and for me they were: comms.c:8 : UART_HandleTypeDef huart2; I put 'extern' in front of each of those lines in their respective files and it compiled for me. I believe this is because they are defined first in setup.c which is compiled before those two files. By marking them extern we tell the compiler to look for them to already have been defined. I just got this to compile and have not tested it further so let me know if it works for you guys! -Chris |
@jonescb5 Indeed same issue here, when compiling today on macOS had to make following patch to get it to compile:
After that I get a has file in build/hover.hex (also some warnings on readr.c and writer.c from libc/reent). |
I did add extern to those three but still the same error. any idea on the issue? |
ok looks like it's nagging about this in the bldc.c but I don't understand what's wrong! |
Hello,
I am on Manjaro and I'm trying to compile the hoverboard-firmware-hack. However, each time in enter 'sudo make' inside the folder, the terminal returns to me this error :
The text was updated successfully, but these errors were encountered: