-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
samples: gsm_modem: Compilation failed, likely related to logging changes #35329
Labels
area: Modem
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Comments
jukkar
added a commit
to jukkar/zephyr
that referenced
this issue
May 17, 2021
The logging macros use _Generic() atm and it started to complain when we are trying to print pointer value of gsm_dlci and gsm_mux structs. Cast the pointer value to (void *) to overcome this. Fixes zephyrproject-rtos#35329 Signed-off-by: Jukka Rissanen <[email protected]>
nashif
pushed a commit
that referenced
this issue
May 17, 2021
The logging macros use _Generic() atm and it started to complain when we are trying to print pointer value of gsm_dlci and gsm_mux structs. Cast the pointer value to (void *) to overcome this. Fixes #35329 Signed-off-by: Jukka Rissanen <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Modem
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Describe the bug
On the latest zephyr master, after added
CONFIG_GSM_MUX=y
to theprj.conf
of thesamples/net/gsm_modem
and build that with:west build -t ram_report --pristine -b frdm_k22f -- -DDTC_OVERLAY_FILE="boards/frdm_uart2_dts.overlay"
will result in massive compilation error related to log/uart_mux/struct gsm_mux.
It worked on master v2.5ish @ commit 365145a. Likely related to logging changes according to @jukkar on Slack
To Reproduce
Build the
gsm_modem
sample with the command written above.Expected behavior
The sample should compiles fine, but for now it results in very long compilation error related to log/uart_mux/struct gsm_mux.
Impact
Unable to progress with anything that requires
CONFIG_GSM_MUX=y
Logs and console output
Similar to this: compile_log.txt
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: