Menu

#908 compile error HAL UART without WAIT

17.6.4
closed
None
STM32-HAL
Medium
17.6.3
True
2018-03-17
2017-12-11
No

Compile error when using HAL:
halconf.h

/**

 * @brief   Enables the UART subsystem.
 */
#if !defined(HAL_USE_UART) || defined(__DOXYGEN__)
#define HAL_USE_UART                TRUE
#endif

#...

#if !defined(UART_USE_WAIT) || defined(__DOXYGEN__)
#define UART_USE_WAIT               FALSE
#endif
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

Discussion

  • Giovanni Di Sirio

    • assigned_to: Giovanni Di Sirio
    • Component: Other --> STM32-HAL
    • Severity: Low --> Medium
     
  • Giovanni Di Sirio

    • Milestone: trunk --> 17.6.4
    • Fixed in Repository: False --> True
     
  • Giovanni Di Sirio

    Fixed in repository.

     
  • Giovanni Di Sirio

    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB