Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


You are viewing a reply to Nucleo-STM32F429ZI - LwIP  

Nucleo-STM32F429ZI - LwIP

I will answer my own question.
The project was not set up correctly from MXCube. Comparing a similar project found on

http://www.carminenoviello.com/2016/01/22/getting-started-stm32-nucleo-f746zg/Question

the resources for lwip were not completely configured. Once I got it fully configured also using FreeRTOS, config.h is in the project.

However it still falis to compile:
Description Resource Path Location Type
make: *** Middlewares/LwIP/init.o Error 1 Hello_Ethernet C/C++ Problem
Description Resource Path Location Type
redefinition of ‘struct timeval’ Hello_Ethernet line 313, external location: C:\Users\Greg\workspace\AC6\necleo-f429ZI\Hello_Ethernet\Middlewares\Third_Party\LwIP\src\include\lwip\sockets.h C/C++ Problem

When I implemented FreeRTOS I was warned in MXCube regarding the use of systick as a time base source for SYS with the OS selection. I switched the source to TIM1. I am not sure if this has any bearing on what I am seeing. Not even sure if TIM1 is the correct choice since there is a lack of guidence.

Still waiting to know if anyone has gone down this path before.

Stuck in the same place as you, are you able to yourself give guindance now? :-)

- I selected TIM1
- I have the struct timeval issue too

Thanks for your help


Inside /Inc/lwipopts.h make this

/* Within ‘USER CODE’ section, code will be kept by default at each generation */
/* USER CODE BEGIN 0 */

  1. define LWIP_TIMEVAL_PRIVATE 0


/* USER CODE END 0 */