This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Not able to build the project.

Hi,

I am trying to combine two example projects from TM4C1294XL board in CCSv6.

1- enet_io and 2- enet_weather. But there is a compilation time error coming which I am not able to resolve despite including all necessary files.

Code Zip file is attached. Can you please check and let me know?

enet_io_ek.zip

Basically what I want to do is run the httpd server on the board and at the same time do the communication of weather data with another server.

Server is required because I want to change some variables at the run time and that can be configured from web page. Actual web page is not in the zip code but that is the idea.

Thanks,

Bhavesh

 

  • Hello Bhavesh,

    I could get you project to build with the following changes. Note that I did not test if the application is running or not.

    • In "enet_io.c" file, the variable "g_ui32SysClock" was being re-declared. So made it "extern".
    • In "enet_weather.c" file
      • included "io.h" header file
      • declared "setHttpHandlers()" function
      • lwip library was being initialized twice so corrected that
      • moved http server and Locator service set-up to after "EthClientInit()" function call.
    • In lwipopts.h file, enabled DNS options and LWIP_TCP (as done in enet_weather application).

    For future reference, please give more details of the errors you see. You could also paste those errors. This would result in quicker responses.

    Thanks,

    Sai

  • Thanks Sai.
    I am able to build the projects as per your suggestions. And yes the application is not working.
    It is not able to assign the IP address to the board so not able to send the data nor server running on the board.
    Will have to do more RnD.

    Thanks,
    Bhavesh
  • Sai,

    I made some code changes and was able to run the code and its working as expected.
    Thank you for your support.

    - Bhavesh
  • Bhavesh Patel said:
    Will have to do more RnD

    Wish you well - and glad you're (now) working.

    Yet - working at intersection of engineering, finance & law - it's unlikely you are performing, "Research."  Instead - you and 99.9% here (including this reporter) at best are performing, "D & D."  (that's Design & Development)

    Your taxing authorities determine what (really) constitutes & qualifies as "research" - should you describe your efforts as "research" on your/firm's tax return - prepare for many/loud knocks - your front door.

    Schools - around the world - enable the chronic misuse of research.  Guys/gals w/years of school, great smarts, working in elaborate firms w/highly specialized equipment - are the "true" researchers.  You/I are investigators - our methods "pale" when compared to real research...

    BFD (some) may say - but some here may eventually need investors.  Venture Capital firms are notorious for, "rejecting on the spot" those who utter, "research."  Firms so qualified - have no need - to make such utterance...

    Offer this as, "Word to the wise..."