stm32 lmic
#1584
|
Sir, I am using STM32L071 with lmic (LoRaWAN)...i can compile 100% But, how can i use use Serial.print into the lmic routines to debug values ? I am getting the following error |
Answered by
fpistm
Dec 10, 2021
Replies: 3 comments
|
Well you can't as the Serial in a C++ instance object so you could not call it from C file. |
0 replies
Answer selected by
fpistm
|
it´s works! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Well you can't as the Serial in a C++ instance object so you could not call it from C file.
You can try to use the core debug feature by defining
CORE_DEBUGthen include core_debug.h and use:void core_debug(const char *format, ...)