AnsweredAssumed Answered

STM32CubeMX Project rtos+lwip STM32F746ZGYx

Question asked by papkov.zachar on Nov 1, 2017

IDE :Eclipce OpenSTM32: ac6    

 

after compiling the project  i get  this error 

 

#ifndef LWIP_TIMEVAL_PRIVATE
#define LWIP_TIMEVAL_PRIVATE 1  
#endif

#if LWIP_TIMEVAL_PRIVATE
struct timeval {
long tv_sec; /* seconds */
long tv_usec; /* and microseconds */
};
#endif /* LWIP_TIMEVAL_PRIVATE */

 

i change LWIP_TIMEVAL_PRIVATE to 0 and include <sys/time.h> in cc.h what is the meaning of tis change 

secondly i didnt get rx interput rmii  

void ETH_IRQHandler(void)
{
/* USER CODE BEGIN ETH_IRQn 0 */

/* USER CODE END ETH_IRQn 0 */
HAL_ETH_IRQHandler(&heth);
/* USER CODE BEGIN ETH_IRQn 1 */

/* USER CODE END ETH_IRQn 1 */
}

 

the example of stm32f746 nucleo lwip+rtos work but many diffrents in lwip and rtos  any ideas ? 

Outcomes