Build error while using UART_CONFIG and UART together

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi,

I am using UART_CONFIG APP and UART APP in my DAVE CE XMC4700 project.

The following error is thrown,
.
xxxx/Dave/Generated/UART_CONFIG/uart_config.h:134:16: error: redefinition of 'struct UART_CONFIG'
.
.
xxxx/Dave/Generated/UART_CONFIG/uart_config.h:138:3: error: conflicting types for 'UART_CONFIG_t'

I understand, both UART and the Config APP declares the config struct with the same name the creates this error.

I manually change the struct name in UART_CONFIG every time I generate code, but this is taking lot of time.

Is there a bugfix for this? or anyother way I can resolve it.

Regards,
Sridhar
0 Likes
0 Replies