-
Notifications
You must be signed in to change notification settings - Fork 74
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
Update Makefiles to use proper BOARD definitions #833
Comments
The makefile is outdated but I will check it and give you some feedback soon. |
Check the changes to the make file and how to use it in #834. |
Thanks for your answer. Building with your changes fails with Need to escape special characters like Is BOARDMAP_FILE really needed? You dropped it since e13316e commit uCNC/uCNC/src/hal/boards/avr/avr.ini Line 43 in 50986f6
|
Previous versions of µCNC had that style of BOARD definition (up to version 1.9). I was able to compile with I've added a makefile helper and modified the code a bit. |
Thanks for your work.
System info: |
On windows I am able to compile it. But you seem to hit a wall in linux. I will try running that on WSL to see if I can manage to reproduce the same issue. |
I modified slightly the makefile helper. I was able to compile this on WSL (ubuntu).
|
Thanks for your work! I looked at old commits of the project and it seems that makefile_helper.h partially repeats code from boarddefs.h and boards.h, and it would be nice to go back to the old board definition. Defining board maps in one place is a good option, working for both makefiles and the PlatformIO. |
Hello all
I'm trying to build uCNC using makefiles and avr-gcc for Arduino Uno. It seems that makefiles use old-style board definitions (-D BOARD=UNO) , while PlatformIO ini use boardmap file (-D BOARD="src/hal/boards/avr/boardmap_uno.h").
Is it possible to use something like this: reinforce@d7e2755 ?
Build command in this case still will be like:
BOARD=UNO-SHIELD-V3 make clean all
I can create pull request if this is ok.
The text was updated successfully, but these errors were encountered: