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

EFR32 examples : build failed with show_qr_code=false #19059

Closed
alexandre-humbert opened this issue Jun 1, 2022 · 0 comments · Fixed by #19067
Closed

EFR32 examples : build failed with show_qr_code=false #19059

alexandre-humbert opened this issue Jun 1, 2022 · 0 comments · Fixed by #19067

Comments

@alexandre-humbert
Copy link

Hi,
I tried to compile the lighting app for BRD4186 (MG24) with show_qr_code=false and the build failed. (undefined reference to "LCDWriteQRCode")

I can't compile the examples with show_qr_code=false because disable_lcd=false by default. It works if I add disable_lcd=true.

I think the reason why it fails is that lcd.h is included in AppTask.c and LCDWriteQRCode() is called because disable_lcd=false => DISPLAY_ENABLED but LCDWriteQRCode() is not defined in lcd.h because show_qr_code=false => QR_CODE_ENABLED not defined.

#18474

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

Successfully merging a pull request may close this issue.

1 participant