cancel
Showing results for 
Search instead for 
Did you mean: 

stm32wb Debug options value no matter

dungeonlords789
Senior III

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​ 

2 REPLIES 2
dungeonlords789
Senior III

@Khouloud OTHMAN​ any news?

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.