2021-04-08 11:28 AM
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. @Nawres GHARBI
2021-04-25 04:17 PM
@Khouloud OTHMAN any news?
2021-04-26 08:29 AM
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.