Skip to content
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

lbm lib, MCU_FLAGS default to nc generating error #76

Open
disk91 opened this issue Jul 29, 2024 · 0 comments
Open

lbm lib, MCU_FLAGS default to nc generating error #76

disk91 opened this issue Jul 29, 2024 · 0 comments

Comments

@disk91
Copy link

disk91 commented Jul 29, 2024

The MCU_FLAG default

# MCU - Must be provided by user
MCU_FLAGS ?= nc

Is source of compilation error

arm-none-eabi-gcc: warning: nc: linker input file unused because linking not done
arm-none-eabi-gcc: error: nc: linker input file not found: No such file or directory
make[4]: *** [makefiles/common.mk:535: build/sx1262/trace/ralf_sx126x.o] Error 1
make[4]: *** Waiting for unfinished jobs....

It would be better to have an empty value instead of nc

If other user have the same problem, compile w/o having to change the option.mk file with make ... MCU_FLAG= but the best is to set the righ mcu flags according to your target MCU.

If the purpose is to force user to setup MCU FLAGS, better replace nc by please provide MCU FLAGS in options.mk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant