Skip to main content
Graduate
July 31, 2024
Solved

NUCLEO-F767ZI Ethernet Problem

  • July 31, 2024
  • 6 replies
  • 2639 views

Hi Team, 

I am Using NUCLEO-F767ZI board for Ethernet interface. After all Ethernet configuration. The code shows lots of error which is attached below. Guide me how to rectify this error, what mistake I was done during configuration and programming.
This picture gives the detail of ethernet configuration. 

Ramachandran1992_0-1722408760388.png

In LWIP I enabled the HTTPD_USE_CUSTOM_FSDATA (Custom FS Data)  in the HTTPD section.

Below picture shows the list of error after build the code.

Ramachandran1992_1-1722408950710.png

Thank You

regards
Ramachandran S

 

    This topic has been closed for replies.
    Best answer by UserGabriele

    Hello,

     

    STM32CubeIDE by default removes the "Middlewares" folder from the compilation, so when you compile the project the compiler returns link errors to the definitions contained in the header files of each library contained in the "Middlewares" folder.

     

    To solve this I've done theese steps:

     

    - Click on LWIP folder with left mouse button, it will open a menu.

    - Select "Properties",

    - Go to "C/C++ General",

    - Click on "Path and Symbols",

    - Click on "Source Locations",

    - if there is no "Middleware" folder then add it just by clicking "add folder" button and selecting "Middleware" folder.

    -Recompile and all linking errors should be solved.

     

    Remember that theese steps must be done for every new project. ( I'm using STM32CubeIDE 1.15.0, i don't know for other versions).

     

    I hope that's usefull for you!

     

    Best regards,

    Gabriele.

    6 replies

    Technical Moderator
    July 31, 2024

    Hello @Ramachandran1992 

    First let me thank you for posting.

    I 'am  checking this issue internally and i will get back to you asap.

     

    THX

    Ghofrane

    Technical Moderator
    July 31, 2024

    Hello @Ramachandran1992 

    This issue has been raised to our dev team .

    Internal ticket number: 187803 (This is an internal tracking number and is not accessible or usable by customers).

    I will keep you posted with updates.

    THX

    Ghofrane

    Graduate
    July 31, 2024

    Hi  Ghofrane
    Thanks for your quick response.

    Super User
    July 31, 2024

    @Ramachandran1992 wrote:

    The code shows lots of error ...


    Usually that's due to just one error early on in the build, and all the rest are just a result of that - eg, a missing header file.

    A classic example here: https://community.st.com/t5/stm32cubeide-mcus/enabling-peripherals-for-spi-communication-in-seongji-lsm110a/m-p/739889/highlight/true#M32138

    Therefore the thing to do is to address the earliest-reported error first.

    Note that the 'Problems' window is not useful for this, as it re-orders the messages.

    Instead, use the 'Console' view - which is in order.

     


    @Ramachandran1992 wrote:

    ... which is attached below.


    A screenshot is not very useful, as it doesn't show the whole message, and doesn't show all the messages.

    Instead, please select-all from the 'Console' window, then copy and paste the text here, using the </> button as for source code - instructions here:

    https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

     

    #LotsOfErrors #MultipleErrors #FirstErrorFirst #FixFirstErrorFirst

    Explorer
    September 4, 2024

    Hello,

     

    STM32CubeIDE by default removes the "Middlewares" folder from the compilation, so when you compile the project the compiler returns link errors to the definitions contained in the header files of each library contained in the "Middlewares" folder.

     

    To solve this I've done theese steps:

     

    - Click on LWIP folder with left mouse button, it will open a menu.

    - Select "Properties",

    - Go to "C/C++ General",

    - Click on "Path and Symbols",

    - Click on "Source Locations",

    - if there is no "Middleware" folder then add it just by clicking "add folder" button and selecting "Middleware" folder.

    -Recompile and all linking errors should be solved.

     

    Remember that theese steps must be done for every new project. ( I'm using STM32CubeIDE 1.15.0, i don't know for other versions).

     

    I hope that's usefull for you!

     

    Best regards,

    Gabriele.

    Graduate
    September 4, 2024

    Hi UserGabriele,

    Hope you are doing well, Thanks for the great information, its works fine.