Menu

#824 lwip and HAL_USE_RTC both define struct timeval

trunk
closed
None
lwIP
Medium
Trunk
True
2018-02-23
2017-04-02
Cillian
No

When trying to build ChibiOS with HAL_USE_RTC and LwIP I get a compile error. HAL_USE_RTC causes the include of the system's time.h which defines struct timeval. LwIP with LWIP_TIMEVAL_PRIVATE (ChibiOS/ext/lwip/src/include/lwip/sockets.h:309) defined to 1 also defines struct timeval.

Discussion

  • Cillian

    Cillian - 2017-04-02

    Adding #define LWIP_TIMEVAL_PRIVATE 0 to lwipopts.h fixes this, but it feels like a bodge.

     
  • Giovanni Di Sirio

    • assigned_to: Giovanni Di Sirio
    • Fixed in Repository: False --> True
     
  • Giovanni Di Sirio

    Fixed with lwIP 2.0 merge.

     
  • Giovanni Di Sirio

    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB