Skip to main content
dungeonlords789
Associate III
Apr 8, 2021 6:28 PM UTC
Question

stm32wb Debug options value no matter

I generate project using CubeIDE 1.6.1 with pack 1.11.0 for stm32wb55CC. I select BLE in code generator and look at Debug options. But it looks this options value not matter. I create project with enabled and disabled debug options and compare .c and .h files and no different... Please fix this problem. 0693W000008z2TdQAI.png @Nawres GHARBI​ 

This topic has been closed for replies.

2 replies

dungeonlords789
Associate III
Apr 25, 2021 11:17 PM UTC

@Khouloud OTHMAN​ any news?

Khouloud OTHMAN
Associate
Apr 26, 2021 3:29 PM UTC

Hello @dungeonlords789​ ,

Sorry for the late reply.

If I well understand your problem, when enabling the two Debug options (BLE_DBG_APP_EN and BLE_DBG_P2P_STM_EN), the generated code remains unchanged and both defines are set to 0. Please correct me if I misunderstood.

In case I correctly discern your problem, this is not reproduced from my side. Actually, opening the generated ble_dbg_conf.h file under <Project_Location>\STM32_WPAN\App, BLE_DBG_APP_EN and BLE_DBG_P2P_STM_EN are correctly set to 1:

/**
 * Enable or Disable traces from BLE
 */
 
#define BLE_DBG_APP_EN 1
#define BLE_DBG_DIS_EN 0
#define BLE_DBG_HRS_EN 0
#define BLE_DBG_SVCCTL_EN 0
#define BLE_DBG_BLS_EN 0
#define BLE_DBG_HTS_EN 0
#define BLE_DBG_P2P_STM_EN 1

Please refer to the generated ble_dbg_conf.h file and see if the problem still occurs. Furthermore, you can share your .ioc to check it from my side.

Khouloud.