No uart->early with UART_USE_WAIT=FALSE Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
User avatar
wurstnase
Posts: 121
Joined: Tue Oct 17, 2017 2:24 pm
Has thanked: 43 times
Been thanked: 30 times
Contact:

No uart->early with UART_USE_WAIT=FALSE  Topic is solved

Postby wurstnase » Thu Dec 14, 2017 10:21 pm

Without UART_USE_WAIT and with HAL_USE_UART TRUE with STM32s, you will receive a compile error:

Code: Select all

Compiling hal_uart_lld.c
../../os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.c: In function 'uart_lld_start_send':
../../os/hal/ports/STM32/LLD/USARTv1/hal_uart_lld.c:736:51: error: 'UARTDriver {aka struct UARTDriver}' has no member named 'early'
   if ((uartp->config->txend2_cb != NULL) || (uartp->early == false)) {
                                                   ^~
../../os/common/startup/ARMCMx/compilers/GCC/rules.mk:231: recipe for target 'build/obj/hal_uart_lld.o' failed
make: *** [build/obj/hal_uart_lld.o] Error 1


Probably this patch helps.
Attachments
901bug.tar.gz
(618 Bytes) Downloaded 143 times
\o/ Nico

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: No uart->early with UART_USE_WAIT=FALSE

Postby Giovanni » Thu Dec 14, 2017 10:25 pm

Hi,

Thanks for the patch, did you also open the ticket about this on SF? I was just reading it.

https://sourceforge.net/p/chibios/bugs/908/

Giovanni

User avatar
wurstnase
Posts: 121
Joined: Tue Oct 17, 2017 2:24 pm
Has thanked: 43 times
Been thanked: 30 times
Contact:

Re: No uart->early with UART_USE_WAIT=FALSE

Postby wurstnase » Fri Dec 15, 2017 4:30 am

Good morning,

Yes, this was me.
\o/ Nico

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: No uart->early with UART_USE_WAIT=FALSE

Postby Giovanni » Fri Dec 29, 2017 10:49 am

Fixed as bug #908.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 29 guests