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.

EK-TM4C1294XL: Really Checked about build before Releasing Examples?

Part Number: EK-TM4C1294XL

Hi,

I try to build;

C:\ti\TivaWare_C_Series-2.1.4.178\examples\boards\ek-tm4c1294xl\enet_lwip

but I meet error as follows;

>> Compilation failure
subdir_rules.mk:30: recipe for target 'startup_ewarm.obj' failed
"../startup_ewarm.c", line 35: warning #163-D: unrecognized #pragma
"../startup_ewarm.c", line 67: error #7: unrecognized token
"../startup_ewarm.c", line 67: error #66: expected a ";"
"../startup_ewarm.c", line 89: warning #78-D: this declaration has no storage class or type specifier
"../startup_ewarm.c", line 89: error #66: expected a ";"
"../startup_ewarm.c", line 89: error #7: unrecognized token
"../startup_ewarm.c", line 220: warning #12-D: parsing restarts here after previous syntax error
"../startup_ewarm.c", line 263: warning #179-D: function "NmiSR" was declared but never referenced
"../startup_ewarm.c", line 281: warning #179-D: function "FaultISR" was declared but never referenced
"../startup_ewarm.c", line 299: warning #179-D: function "IntDefaultHandler" was declared but never referenced
"../startup_ewarm.c", line 67: warning #179-D: variable "pui32Stack" was declared but never referenced
4 errors detected in the compilation of "../startup_ewarm.c".
gmake: *** [startup_ewarm.obj] Error 1

So, really did you checked a build before releasing? And how to solve this error?

Best Regards,

Takano

  • I set include search path as follows;

    "${CG_TOOL_ROOT}/include"
    "C:\ti\TivaWare_C_Series-2.1.4.178"
    "C:\ti\TivaWare_C_Series-2.1.4.178\third_party"
    "C:\ti\TivaWare_C_Series-2.1.4.178\third_party\lwip-1.4.1\apps"
    "C:\ti\TivaWare_C_Series-2.1.4.178\third_party\lwip-1.4.1\src\include"
    "C:\ti\TivaWare_C_Series-2.1.4.178\third_party\lwip-1.4.1\src\include\ipv4"
    "C:\ti\TivaWare_C_Series-2.1.4.178\third_party\fatfs\src"
    "C:\ti\TivaWare_C_Series-2.1.4.178\third_party\lwip-1.4.1\ports\tiva-tm4c129\include"
    "C:\ti\TivaWare_C_Series-2.1.4.178\examples\boards\ek-tm4c1294xl"
    "C:\Users\J100044214\workspace_v7\test_enet"

    I searched dirs and add it to the entry after I checked build errors. This is not core part of work but takes long time. Please consider to make a list of dependency list for include, and make simple include structure, setting redundant include list makes a frustration.

    Best Regards,
    Takano
  • Hi,

    In this link: you use CCS to build your project, but you use startup_ewarm.c. This file must be used with IAR tools. For CCS you must add startup_ccs.c to the project. As Markel told you in the above link, the best method to succeed is to import your project to your workspace. Go to Project | Import Project to do that, and when successful inspect all project properties to see an example how to add paths.

    Eclipse/Windows has some problems with absolute long paths processing, so it is used and recommended to use relative paths. Can be done in Eclipse, right click on a path (except root) and choose relative path option from pop-up menu opened.

  • Hi

    I met following error message now;
    e2e.ti.com/.../2140890

    Best Regards,
    Takano
  • Hi,

    Can you import a simpler project like uart-echo and compile/ link successfully?

    This is to check/ verify if it is systematic error or a simple mistake in lwip example.

  • Hi,

    I tried to import some projects as follows;
    enet_lwip: NG as I already described.
    hello: OK
    watchdog: OK
    uart_echo: OK
    blinky: OK

    Should I uninstall TivaWare and install again for checking purpose?

    Best Regards,
    Takano
  • Hi,

    No, no need to re-install Tivaware.

    You did also compiled/linked sucessfuly those examples? To verify there are not some other hidden problems.

    You could try to build from command line if you know how, this builds all examples in Tiva and takes long time, or buil the program from scratch, which is a little bit more difficult. (I do not have/use CCS 7.x  so I cannot tell you where to look for metadata problems, sorry)

  • Hi,

    >You did also compiled/linked sucessfuly those examples?
    OK@Previous message means "can be done" (Build Finished, no problem).

    At first I tried to make project from scratch just copying source codes to new folder and make new project. But I do not know include and linking information for the "C:\ti\TivaWare_C_Series-2.1.4.178\examples\boards\ek-tm4c1294xl\enet_lwip" project. You and other one told me about importing the project, so I now do it. If possible please tell me about it on here, I will try to make project from scratch again.

    Best Regards,
    Takano
  • Hi,

    Can you check also the enet-uip example? I noticed a difference in .cproject files of the actual version and a previous one - I would like to know if it is systematic or simply missing something in actual version (the file is shorter than previous one). 

    As for a new project from scratch - big folders as lwip one can be easily added as symbolic link. 

  • Hello Takano,

    To verify that it works, I did an import of the project "C:\ti\TivaWare_C_Series-2.1.4.178\examples\boards\ek-tm4c1294xl\enet_lwip" using CCS Version: 7.0.0.00043 and it imported correctly and built correctly.

    Choose "File" -> "Import", then select CCS Projects

    Select "Next", then paste this path "C:\ti\TivaWare_C_Series-2.1.4.178\examples\boards\ek-tm4c1294xl\enet_lwip" into the directory "Select search-directory" field and hit "Enter"

    You should see "enet_lwip" in the "Discovered projects" box.

    Select "Finish".  Now the project should be imported and you should be able to build the project as is.

     

  • Hi All,

    I used Version: 7.0.0.00045, and now I updated to  Version: 7.1.0.00016, after that there is no problem.

    I did see build finished through import enet_lwip project.

    Many thanks for adivsers!

    Best Regards,

    Takano