HI!
I am new DA14683 user,I have a problem about "how to enable application uses UART2 for logging with printf() ?"
I follow//www.wsdof.com/sites/default/files/um-b-056-da1468..., and turn on smartsnippets terminal . but the terminal only output DA14683BB.
Can someone help me to solve this?
Thanks.
kuda
Device:
Hi kuda,
Can you please indicate which is the SDK you are using, and which SDK example are you running?
Please take a look at the freertos_retarget example of the SDK. For debugging or for general printing since you would like to use the UART2 you can use the CONFIG_RETARGET flag, this will redirect the printf functionality to the UART2 (or to the UART, depends on the configuration). You can change the configuration in the custom_config_xxxx.h file.
Thanks, PM_Dialog