2020-07-02 02:45 AM
Hi,
Can any one guide me how can i enable debug messages in BLE_HeartRateFreeRTOS demo.
i have enable below macro but doesn't get any success
#define CFG_DEBUGGER_SUPPORTED 1
#define CFG_DEBUG_BLE_TRACE 1
#define CFG_DEBUG_APP_TRACE 1
#define CFG_DEBUG_TRACE_LIGHT 1
Please help me what i am missing i need debug print come from
APP_DBG_MSG and BLE_DBG_HRS_MSG.
Thanks,
Arjun
2020-07-31 07:42 AM
Could you please try with the new CubeWB FW package V1.8 avaible on our web site?
Setting the #define to 1 should be enough.
2020-08-24 05:23 PM
Hi Arjun,
I advise you change the CFG_*** in CubeMX under Middleware -> STM32_WPAN.
You will notice that you can only enable CFG_DEBUGGER_SUPPORTED if Sys Debug is enabled.
If you only want to display the logs, enabling:
#define CFG_DEBUG_BLE_TRACE 1
#define CFG_DEBUG_APP_TRACE 1
#define CFG_DEBUG_TRACE_LIGHT 1
should work.
I however observed that logs aren't be outputed when compiling with CubeIDE. The same project would output logs when compiled with IAR.
I am investigating this issue, I will get back to you if I find a fix.
Best Regards,
Hugues