CubeMX 6.19.0: Cant enable adv_trace and LPUART issues
- 2 replies
- 35 views
I have attached ioc file.
I can’t enable ADV_TRACE in CubeMX using STM32WB09KEVx.
I have all peripherals enabled to use STM32_BLE (client app) and using LPUART with DMA
Even with it ADV_TRACE disabled it adds it to app_conf.h and usart_if.h:
#include "stm32_adv_trace.h"
And it wont build since the file doesn’t exist.
It also adds other things which are related to adv_trace (app_conf.h):
#define APP_DBG(...) \
{ \
UTIL_ADV_TRACE_COND_FSend(VLEVEL_L, ~0x0, ADV_TRACE_TIMESTAMP_ENABLE, __VA_ARGS__); \
}
Second issue: in usart_if.c:
HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
HAL_UART_Receive_IT(&huart1, &charRx, 1);
shouldn’t it be:
HAL_UART_Receive_IT(huart, &charRx, 1);
Third issue: it’s trying to use LPUART1_DMA_MspDeInit() in usart_if.c which doesn’t exist.
