Skip to main content
Associate III
April 8, 2024
Solved

DbgOutputTraces cubemx generation error

  • April 8, 2024
  • 1 reply
  • 655 views

I think I've spot a small bug into the cube mx code generation tool for STM_WPAN module

into app_debug.c in function

 

 

void DbgOutputTraces( uint8_t *p_data, uint16_t size, void (*cb)(void) )
{
/* USER CODE END DbgOutputTraces */
 HW_UART_Transmit_DMA(CFG_DEBUG_TRACE_UART, p_data, size, cb);

/* USER CODE END DbgOutputTraces */
 return;
}

 

 

There is 2 "END" tags the first one should be a BEGIN

due to this everything you wrote between both tag that should be kept when generating code from IOC file is scraped

thank's for the help

 

 

 

This topic has been closed for replies.
Best answer by STTwo-32

Hello @oga 

Thank you so much for reporting this. I've reported this issue to the concerned team for correction (under internal ticket number 180510).

Best Regards.

STTwo-32

1 reply

STTwo-32
STTwo-32Best answer
ST Technical Moderator
May 2, 2024

Hello @oga 

Thank you so much for reporting this. I've reported this issue to the concerned team for correction (under internal ticket number 180510).

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.