Skip to main content
Associate II
February 24, 2024
Solved

Problem on file stm32c0xx_hal_conf_template.h for STM32C0XX

  • February 24, 2024
  • 6 replies
  • 3956 views

In file stm32c0xx_hal_conf_template.h there are duplicated lines at 239 row.

#ifdef HAL_UART_MODULE_ENABLED
#include "stm32c0xx_hal_uart.h"
#endif /* HAL_UART_MODULE_ENABLED */

 

if you are using Cube MX you can't compile.

 

 

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

Hello @MatteoBandini74 

Thank you for reporting this. I confirm the issue and i will escalate it to the concerned team for correction.

An internal Ticket 174573 is created for the tracking of this bug.

(PS: Ticket 174573 is an internal tracking number, not accessible by customers and usable for internal tracking).

Thanks again for your question.

Best Regards.

STTwo-32 

6 replies

STTwo-32
Technical Moderator
February 24, 2024

Hello @MatteoBandini74 

Can you add more details on the issue. On the stm32c0xx_hal_conf_template.h, i can't see any duplicated lines:

Screenshot_2024-02-24-12-21-42-51_db51e592e420a9871f4a37915a68789b.jpg

could you add your .ioc file with some description (screenshots,...) So we can reproduce this behavior.

Best Regards.

STTwo-32 

Andrew Neil
Super User
February 24, 2024

@MatteoBandini74 wrote:

 there are duplicated lines at 239 row.


To be duplicated, it must occur twice - so where is the other occurrence?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
TDK
Super User
February 24, 2024
"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate II
February 25, 2024

It's right, I've done a mistake. But yuo can't compile if you create a project with Cube mx.. Look:

Screenshot 2024-02-25 104054.png

Screenshot 2024-02-25 104114.png

Screenshot 2024-02-25 104145.png

Screenshot 2024-02-25 104223.png

Screenshot 2024-02-25 104328.png

Screenshot 2024-02-25 104337.png

Screenshot 2024-02-25 104358.png

Associate II
February 25, 2024

And if you reopen ioc file th uart disappear..

Look:

Screenshot 2024-02-25 110749.png

Screenshot 2024-02-25 110839.png

 

Screenshot 2024-02-25 111015.png

STTwo-32
STTwo-32Best answer
Technical Moderator
February 25, 2024

Hello @MatteoBandini74 

Thank you for reporting this. I confirm the issue and i will escalate it to the concerned team for correction.

An internal Ticket 174573 is created for the tracking of this bug.

(PS: Ticket 174573 is an internal tracking number, not accessible by customers and usable for internal tracking).

Thanks again for your question.

Best Regards.

STTwo-32 

Associate II
February 25, 2024

Nice. Thank you!

I'm sorry for my English..

Ciao.