Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

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 */