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


 

Newest Forum Posts

  1. Analog servomotors with nucleo f334r8 by SkelePaw, 2025-11-01 05:57
  2. So happy to finally meet you! by Danielrug, 2025-10-28 11:01
  3. STM32 MCU model shortlisting for Making RC remote by Palvish, 2025-07-07 15:05
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  6. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  7. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  8. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05

Last-Modified Blogs