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.

CCS/AM4376: RTOS compilation errors

Part Number: AM4376
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hello,

I have done an application for the AM437x Starter Kit that was compiling well, without errors, using the following items and versions:

 

CCS 7.2

GCC ARM Compiler 4.9.3

processor_sdk_rtos_am437x  04.00.00.04

am437x PDK v1.0.7

bios 6.46.05.55

xdctools 3.32.02.25_core

Board: AM437x Starter Kit

 

Recently, I received a new computer and then I installed PDK again. The PDK installed on this new machine is the version 04.02.00.09.  After importing the application done on the last version and compiling it, some errors related to gmake appeared. Below is a copy of the console showing the errors message:

 

xdctools_3_50_03_33_core\gmake.exe: *** [package/cfg/app_pa9fg.xdl] Error 1

js: "C:/ti/xdctools_3_50_03_33_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

gmake[1]: *** [build-1811057185-inproc] Error 1

gmake: *** [build-1811057185] Error 2

gmake[1]: Leaving directory 'C:/ALSTOM/DSP/CED2/SRC/Teste_Board/Debug'

subdir_rules.mk:9: recipe for target 'build-1811057185' failed

gmake: Target 'all' not remade because of errors.

 

**** Build Finished ****

 

After see these errors, I started to remove some parts of the application in attempt to discover where the problem was. I realized that the errors disappear when I remove some specific parts of the *.cfg archive. To be more accurate, the errors showed above disappear when I remove the lines of *.cfg related to NDK configurations and functions process that call xdc’s paths.

 

I’m using the items versions according to the PDK’s release notes. Below I’m listing the versions installed and that are in usage on the compilation of my application:

 

CCS 7.3.0.00019

GCC ARM Compiler v6.3.1

Processor_sdk_rtos_am437x 04.02.00.09

am437x PDK v1.0.9

bios 6.52.0.12

xdctools 3.50.3.33_core

Board: AM437x Starter Kit

 

Can someone help me to solve this?

Best regards.

  • Hi,

    Can you clarify what Processor SDK RTOS driver example you tried to compile or this is your own application? Do you need NDK? There is a NDK NIMU driver example under ti\transport\ndk\nimu, do you have any issue to compile this standalone example?

    How your .cfg file looks like and what specific to NDK was removed?

    Regards, Eric
  • Hello,

    The issue that I reported appeared on my own application. This application was made on the older version that I mentioned on my post.

    I need NDK on my application, so this was the reason that I included it on my *.cfg file.

    I tried to run a NIMU example ("NIMU_BasicExample_skAM437x_armExampleproject") and its compile ran successful.

    This is my actual *.cfg file. I made coments blocks on it to signal which fragments are causing troubles and errors.

    //----------------------------------------------------------------------------
    // General configuration
    //----------------------------------------------------------------------------

    var Defaults = xdc.useModule('xdc.runtime.Defaults');
    var Diags = xdc.useModule('xdc.runtime.Diags');
    var Error = xdc.useModule('xdc.runtime.Error');
    var Log = xdc.useModule('xdc.runtime.Log');
    var LoggerBuf = xdc.useModule('xdc.runtime.LoggerBuf');
    var Main = xdc.useModule('xdc.runtime.Main');
    var Memory = xdc.useModule('xdc.runtime.Memory')
    var SysMin = xdc.useModule('xdc.runtime.SysMin');
    var System = xdc.useModule('xdc.runtime.System');
    var Text = xdc.useModule('xdc.runtime.Text');

    //----------------------------------------------------------------------------
    // SYS/BIOS configuration
    //----------------------------------------------------------------------------

    var BIOS = xdc.useModule('ti.sysbios.BIOS');
    var Clock = xdc.useModule('ti.sysbios.knl.Clock');
    var Swi = xdc.useModule('ti.sysbios.knl.Swi');
    var Task = xdc.useModule('ti.sysbios.knl.Task');
    var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
    var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
    var Mailbox = xdc.useModule('ti.sysbios.knl.Mailbox');
    var Queue = xdc.useModule('ti.sysbios.knl.Queue');
    var Timer = xdc.useModule('ti.sysbios.hal.Timer');
    var Idle = xdc.useModule('ti.sysbios.knl.Idle');


    /*
    * Uncomment this line to globally disable Asserts.
    * All modules inherit the default from the 'Defaults' module. You
    * can override these defaults on a per-module basis using Module.common$.
    * Disabling Asserts will save code space and improve runtime performance.
    Defaults.common$.diags_ASSERT = Diags.ALWAYS_OFF;
    */

    /*
    * Uncomment this line to keep module names from being loaded on the target.
    * The module name strings are placed in the .const section. Setting this
    * parameter to false will save space in the .const section. Error and
    * Assert messages will contain an "unknown module" prefix instead
    * of the actual module name.
    Defaults.common$.namedModule = false;
    */

    /*
    * Minimize exit handler array in System. The System module includes
    * an array of functions that are registered with System_atexit() to be
    * called by System_exit().
    */
    System.maxAtexitHandlers = 1; //4;


    // Handler to be called by System_exit().
    // The prototype for a custom exit handler is: typedef Void (*System_AtexitHandler)(Int);
    System.exitFxn = "&exmSystemExitHandler";

    // Handler to be called by System_abort().
    // The prototype for a custom abort handler is: typedef Void (*System_AbortFxn)();
    System.abortFxn = "&exmSystemAbortHandler";

    /*
    * Uncomment this line to disable the Error print function.
    * We lose error information when this is disabled since the errors are
    * not printed. Disabling the raiseHook will save some code space if
    * your app is not using System_printf() since the Error_print() function
    * calls System_printf().
    Error.raiseHook = null;
    */

    /* Fragment of the "startup.cfg" that is causing the error
    "recipe for target 'all' failed
    -----------------------------------------------

    // Enable printf/System_printf to go to CCS IO console on ARM devices
    // GNU GCC users on ARM platforms need to link to "rdimon" library to the "GNU Linker"
    var SemiHostSupport = xdc.useModule('ti.sysbios.rts.gnu.SemiHostSupport');

    -----------------------------------------------
    */


    /* Fragment of the "startup.cfg" that is causing the error
    "recipe for target 'all' failed
    -----------------------------------------------

    Re-routed the console I/O prints from TI-RTOS to the UART.
    The console I/O messages are printed using the System module which can be
    configured to call callback functions (myUARTAbort, myUARTPutch and myUARTReady).
    Where:
    typedef Void (*SysCallback_AbortFxn)(CString);
    typedef Void (*SysCallback_PutchFxn)(Char);
    typedef Bool (*SysCallback_ReadyFxn)();
    Configuration:
    var SysCallback = xdc.useModule('xdc.runtime.SysCallback');
    SysCallback.abortFxn = "&myUARTAbort";
    SysCallback.putchFxn = "&myUARTPutch";
    SysCallback.readyFxn = "&myUARTReady";
    System.SupportProxy = SysCallback;

    var SysCallback = xdc.useModule('xdc.runtime.SysCallback');
    SysCallback.putchFxn = "&exmPrintChar";
    SysCallback.abortFxn = "&exmPrintString";
    System.SupportProxy = SysCallback;

    -----------------------------------------------
    */

    /*
    * Uncomment this line to keep Error, Assert, and Log strings from being
    * loaded on the target. These strings are placed in the .const section.
    * Setting this parameter to false will save space in the .const section.
    * Error, Assert and Log message will print raw ids and args instead of
    * a formatted message.
    Text.isLoaded = false;
    */

    /*
    * Uncomment this line to disable the output of characters by SysMin
    * when the program exits. SysMin writes characters to a circular buffer.
    * This buffer can be viewed using the SysMin Output view in ROV.
    SysMin.flushAtExit = false;
    */

    // This is useful for dynamic Task names to show up in some of the TIRTOS visualization tools.
    Task.common$.namedInstance = true;

    // Dump exception register context to the console.
    var Exception = xdc.useModule('ti.sysbios.family.arm.exc.Exception');

    /*
    * Program.argSize sets the size of the .args section.
    * The examples don't use command line args so argSize is set to 0.
    */
    Program.argSize = 0x0;

    /* System stack size (used by ISRs and Swis) */
    Program.stack = 0x10000;

    /*
    * The BIOS module will create the default heap for the system.
    * Specify the size of this default heap.
    */
    BIOS.heapSize = 0xA0000; //0x1000;

    /*
    * Build a custom SYS/BIOS library from sources.
    */
    BIOS.libType = BIOS.LibType_Custom;

    /* System stack size (used by ISRs and Swis) */
    Program.stack = 0x2000;


    /* Circular buffer size for System_printf() */
    /* Commented to turn this equal to the "startup.cfg" of the project
    ----------------------------------------

    SysMin.bufSize = 0x200;

    ----------------------------------------
    */

    /*
    * Create and install logger for the whole system
    */

    /* Commented to turn this equal to the "startup.cfg" of the project
    ----------------------------------------

    var loggerBufParams = new LoggerBuf.Params();
    loggerBufParams.numEntries = 16;
    var logger0 = LoggerBuf.create(loggerBufParams);
    Defaults.common$.logger = logger0;
    Main.common$.diags_INFO = Diags.ALWAYS_ON;

    ----------------------------------------
    */

    System.SupportProxy = SysMin;


    //----------------------------------------------------------------------------
    // Driver configuration
    //----------------------------------------------------------------------------

    /* Load the OSAL package */
    var osType = "tirtos";
    var Osal = xdc.useModule('ti.osal.Settings');
    Osal.osType = osType;

    var socType = "am437x";

    /* Load the CSL package*/
    var Csl = xdc.loadPackage('ti.csl');
    Csl.Settings.deviceType = socType;

    /* Load the Board package and set the board name */
    var Board = xdc.loadPackage('ti.board');
    Board.Settings.boardName = "skAM437x";

    /* Load the UART package */
    var Uart = xdc.loadPackage('ti.drv.uart');
    Uart.Settings.socType = socType;

    /* Load the I2C package */
    //var I2C = xdc.loadPackage('ti.drv.i2c');
    //I2C.Settings.socType = socType;

    /* Load the GPIO package */
    //var Gpio = xdc.loadPackage('ti.drv.gpio');
    //Gpio.Settings.socType = socType;

    /* Load the SPI package */
    //var Spi = xdc.loadPackage('ti.drv.spi');
    //Spi.Settings.socType = socType;

    /* Load the EMAC package */
    var Emac = xdc.loadPackage('ti.drv.emac');
    Emac.Settings.socType = socType;

    /* Load the NIMU package */
    var Nimu = xdc.loadPackage('ti.transport.ndk.nimu');
    Nimu.Settings.socType = socType;



    Regards,
    Edgard.

  • Hello,

    Can someone help me with this issue, please? This is holding back the continuance of my project...

    Regards,
    Edgard

  • Hi,

    You mentioned the issue is NDK related in .cfg, what is the version of the NDK? Also, from your .cfg, I didn't see you load NDK, and some comments looks that callback functions caused the build failure. Can you clarify what changes in .cfg  caused issue?

    Regards, Eric

    /* Fragment of the "startup.cfg" that is causing the error

    "recipe for target 'all' failed

    -----------------------------------------------

    // Enable printf/System_printf to go to CCS IO console on ARM devices

    // GNU GCC users on ARM platforms need to link to "rdimon" library to the "GNU Linker"

    var SemiHostSupport = xdc.useModule('ti.sysbios.rts.gnu.SemiHostSupport');

    -----------------------------------------------

    */

    /* Fragment of the "startup.cfg" that is causing the error

    "recipe for target 'all' failed

    -----------------------------------------------

    Re-routed the console I/O prints from TI-RTOS to the UART.

    The console I/O messages are printed using the System module which can be

    configured to call callback functions (myUARTAbort, myUARTPutch and myUARTReady).

    Where:

    typedef Void (*SysCallback_AbortFxn)(CString);

    typedef Void (*SysCallback_PutchFxn)(Char);

    typedef Bool (*SysCallback_ReadyFxn)();

    Configuration:

    var SysCallback = xdc.useModule('xdc.runtime.SysCallback');

    SysCallback.abortFxn = "&myUARTAbort";

    SysCallback.putchFxn = "&myUARTPutch";

    SysCallback.readyFxn = "&myUARTReady";

    System.SupportProxy = SysCallback;

    var SysCallback = xdc.useModule('xdc.runtime.SysCallback');

    SysCallback.putchFxn = "&exmPrintChar";

    SysCallback.abortFxn = "&exmPrintString";

    System.SupportProxy = SysCallback;

  • Hi Eric,

    The version of the NDK that Edgard is using is the version that comes with the new CCS / PDK.

    Edgard is installing development environment on a brand new PC using the most recent release of CCS/PDK.

    He instaled the CCS / PDK, imported our project and changed the project properties to the new package versions accoding to the release notes.

    Our project builds correctly on my PC, which has CCS 7.3.0.00019 and PDK v1.0.9.

    He have striped out parts of the code to try to find the problem, and it seems related to the XDC.

    I´ve already had problems with incompatibility of versions, please refer to this thread: https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/622982

    regards,

    Marcio.

  • Hello, Eric.

     

    The NDK that I'm using is the version 2_26_00_08.

    On that *.cfg code that I pasted on the last post, I removed the fragment that calls NDK configuration, but now I'll paste it below. 

    Maybe the comments that I made to clarify what parts of the code were causing errors brought confusion to identify it. So, I'll paste here the entire *.cfg code and paint of yellow the fragments of the code that caused troubles with compilation, apparently related do XDC (remembering that I suspect that these fragments are causing troubles because I stripped the code and compiled it some times to know when exactly the errors appears).

     

    //----------------------------------------------------------------------------

    // General configuration

    //----------------------------------------------------------------------------

     

    var Defaults = xdc.useModule('xdc.runtime.Defaults');

    var Diags = xdc.useModule('xdc.runtime.Diags');

    var Error = xdc.useModule('xdc.runtime.Error');

    var Log = xdc.useModule('xdc.runtime.Log');

    var LoggerBuf = xdc.useModule('xdc.runtime.LoggerBuf');

    var Main = xdc.useModule('xdc.runtime.Main');

    var Memory = xdc.useModule('xdc.runtime.Memory')

    var SysMin = xdc.useModule('xdc.runtime.SysMin');

    var System = xdc.useModule('xdc.runtime.System');

    var Text = xdc.useModule('xdc.runtime.Text');

     

    //----------------------------------------------------------------------------

    // SYS/BIOS configuration

    //----------------------------------------------------------------------------

     

    var BIOS = xdc.useModule('ti.sysbios.BIOS');

    var Clock = xdc.useModule('ti.sysbios.knl.Clock');

    var Swi = xdc.useModule('ti.sysbios.knl.Swi');

    var Task = xdc.useModule('ti.sysbios.knl.Task');

    var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');

    var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');

    var Mailbox = xdc.useModule('ti.sysbios.knl.Mailbox');

    var Queue = xdc.useModule('ti.sysbios.knl.Queue');

    var Timer = xdc.useModule('ti.sysbios.hal.Timer');

    var Idle = xdc.useModule('ti.sysbios.knl.Idle');

     

     

    /*

    * Uncomment this line to globally disable Asserts.

    * All modules inherit the default from the 'Defaults' module. You

    * can override these defaults on a per-module basis using Module.common$.

    * Disabling Asserts will save code space and improve runtime performance.

    Defaults.common$.diags_ASSERT = Diags.ALWAYS_OFF;

    */

     

    /*

    * Uncomment this line to keep module names from being loaded on the target.

    * The module name strings are placed in the .const section. Setting this

    * parameter to false will save space in the .const section. Error and

    * Assert messages will contain an "unknown module" prefix instead

    * of the actual module name.

    Defaults.common$.namedModule = false;

    */

     

    /*

    * Minimize exit handler array in System. The System module includes

    * an array of functions that are registered with System_atexit() to be

    * called by System_exit().

    */

    System.maxAtexitHandlers = 1; //4;      

     

     

     

     

    // Handler to be called by System_exit().

    // The prototype for a custom exit handler is: typedef Void (*System_AtexitHandler)(Int);

    System.exitFxn = "&exmSystemExitHandler";

     

    // Handler to be called by System_abort().

    // The prototype for a custom abort handler is: typedef Void (*System_AbortFxn)();

    System.abortFxn = "&exmSystemAbortHandler";

     

     

     

    /*

    * Uncomment this line to disable the Error print function.

    * We lose error information when this is disabled since the errors are

    * not printed. Disabling the raiseHook will save some code space if

    * your app is not using System_printf() since the Error_print() function

    * calls System_printf().

    Error.raiseHook = null;

    */

     

    /* Fragment of the "startup.cfg" that is causing the error

    "recipe for target 'all' failed

    -----------------------------------------------

     

    // Enable printf/System_printf to go to CCS IO console on ARM devices

    // GNU GCC users on ARM platforms need to link to "rdimon" library to the "GNU Linker"

    var SemiHostSupport = xdc.useModule('ti.sysbios.rts.gnu.SemiHostSupport');

     

    -----------------------------------------------

    */

     

     

    /* Fragment of the "startup.cfg" that is causing the error

    "recipe for target 'all' failed

    -----------------------------------------------

     

    Re-routed the console I/O prints from TI-RTOS to the UART.

    The console I/O messages are printed using the System module which can be

    configured to call callback functions (myUARTAbort, myUARTPutch and myUARTReady).

    Where:

    typedef Void (*SysCallback_AbortFxn)(CString);

    typedef Void (*SysCallback_PutchFxn)(Char);

    typedef Bool (*SysCallback_ReadyFxn)();

    Configuration:

    var SysCallback = xdc.useModule('xdc.runtime.SysCallback');

    SysCallback.abortFxn = "&myUARTAbort";

    SysCallback.putchFxn = "&myUARTPutch";

    SysCallback.readyFxn = "&myUARTReady";

    System.SupportProxy = SysCallback;

     

    -----------------------------------------------

    */

     

    /*

    * Uncomment this line to keep Error, Assert, and Log strings from being

    * loaded on the target. These strings are placed in the .const section.

    * Setting this parameter to false will save space in the .const section.

    * Error, Assert and Log message will print raw ids and args instead of

    * a formatted message.

    Text.isLoaded = false;

    */

     

    /*

    * Uncomment this line to disable the output of characters by SysMin

    * when the program exits. SysMin writes characters to a circular buffer.

    * This buffer can be viewed using the SysMin Output view in ROV.

    SysMin.flushAtExit = false;

    */

     

    // This is useful for dynamic Task names to show up in some of the TIRTOS visualization tools.

    Task.common$.namedInstance = true;

     

    // Dump exception register context to the console.

    var Exception = xdc.useModule('ti.sysbios.family.arm.exc.Exception');

     

    /*

    * Program.argSize sets the size of the .args section.

    * The examples don't use command line args so argSize is set to 0.

    */

    Program.argSize = 0x0;

     

    /* System stack size (used by ISRs and Swis) */

    Program.stack = 0x10000;

     

    /*

    * The BIOS module will create the default heap for the system.

    * Specify the size of this default heap.

    */

    BIOS.heapSize = 0xA0000; //0x1000;

     

    /*

    * Build a custom SYS/BIOS library from sources.

    */

    BIOS.libType = BIOS.LibType_Custom;

     

    /* System stack size (used by ISRs and Swis) */

    Program.stack = 0x2000;

     

     

    /* Circular buffer size for System_printf() */

    /* Commented to turn this equal to the "startup.cfg" of the project

    ----------------------------------------

     

    SysMin.bufSize = 0x200;

     

    ----------------------------------------

    */

     

    /*

    * Create and install logger for the whole system

    */

    /* Commented to turn this equal to the "startup.cfg" of the project

    ----------------------------------------

     

    var loggerBufParams = new LoggerBuf.Params();

    loggerBufParams.numEntries = 16;

    var logger0 = LoggerBuf.create(loggerBufParams);

    Defaults.common$.logger = logger0;

    Main.common$.diags_INFO = Diags.ALWAYS_ON;

     

    ----------------------------------------

    */

     

    System.SupportProxy = SysMin;

     

     

    //----------------------------------------------------------------------------

    // Driver configuration

    //----------------------------------------------------------------------------

     

    /* Load the OSAL package */

    var osType = "tirtos";

    var Osal = xdc.useModule('ti.osal.Settings');

    Osal.osType = osType;

     

    var socType = "am437x";

     

    /* Load the CSL package*/

    var Csl = xdc.loadPackage('ti.csl');

    Csl.Settings.deviceType = socType;

     

    /* Load the Board package and set the board name */

    var Board = xdc.loadPackage('ti.board');

    Board.Settings.boardName = "skAM437x";

     

    /* Load the UART package */

    var Uart = xdc.loadPackage('ti.drv.uart');

    Uart.Settings.socType = socType;

     

    /* Load the I2C package */

    //var I2C = xdc.loadPackage('ti.drv.i2c');

    //I2C.Settings.socType = socType;

     

    /* Load the GPIO package */

    //var Gpio = xdc.loadPackage('ti.drv.gpio');

    //Gpio.Settings.socType = socType;

     

    /* Load the SPI package */

    //var Spi = xdc.loadPackage('ti.drv.spi');

    //Spi.Settings.socType = socType;

     

    /* Load the EMAC package */

    var Emac = xdc.loadPackage('ti.drv.emac');

    Emac.Settings.socType = socType;

     

    /* Load the NIMU package */

    var Nimu = xdc.loadPackage('ti.transport.ndk.nimu');

    Nimu.Settings.socType = socType;

     

     

    //----------------------------------------------------------------------------

    // NDK configuration

    //----------------------------------------------------------------------------

     

    var Global = xdc.useModule('ti.ndk.config.Global');

    var Icmp = xdc.useModule('ti.ndk.config.Icmp');

    var Ip = xdc.useModule('ti.ndk.config.Ip');

    //var Tcp = xdc.useModule('ti.ndk.config.Tcp');

    var Udp = xdc.useModule('ti.ndk.config.Udp');

     

    // With the autoOpenCloseFD parameter set to true, you do not have to call

    // fdOpenSession in the code (for dynamically created tasks). The downside is

    // that every task in the application will call fdOpenSession as part of a

    // create hook. Even ones that do not use the stack.

    //Global.autoOpenCloseFD = true;

     

     

    Global.netSchedulerPri = Global.NC_PRIORITY_HIGH;

    Global.ndkTickPeriod = 100;

    Global.kernTaskPriLevel = 11;

    Global.serviceReportHook = null;

    Global.IPv6 = false;

     

    // IP configuration

    //Ip.socketBufMinTxSize = 1;

    Ip.domainName = "ced2.net";

     

    // Settings for static IP configuration

    Ip.ResolveIP = false;

    Ip.CallByIP = false;

    Ip.autoIp = false;

     

    // If initializing without IP.

    Ip.address = "0.0.0.0";

    Ip.mask = "255.255.255.0";

    // If initializing with 2 IPs (Dual MAC mode operation)

    // Configure the second Ethernet interface here and the first interface programatically.

    // For Dual MAC mode operation, configure the second Ethernet interface here and

    // use the Global.stackInitHook to add a hook that performs the IP configuration of

    // the first interface programatically.

    //Ip.address = "192.168.2.34";

    //Ip.gatewayIpAddr = "192.168.2.2";

    //Ip.ifIdx = 2;

    // For Dual MAC mode operation add the hook Global.stackInitHook to perform the

    // IP configuration for the first interface programatically.

    //Global.stackInitHook = "&ethStackInitHook";

     

    //----------------------------------------------------------------------------

    // NDK configuration

    //----------------------------------------------------------------------------

     

    var Global = xdc.useModule('ti.ndk.config.Global');

    var Icmp = xdc.useModule('ti.ndk.config.Icmp');

    var Ip = xdc.useModule('ti.ndk.config.Ip');

    //var Tcp = xdc.useModule('ti.ndk.config.Tcp');

    var Udp = xdc.useModule('ti.ndk.config.Udp');

     

    // With the autoOpenCloseFD parameter set to true, you do not have to call

    // fdOpenSession in the code (for dynamically created tasks). The downside is

    // that every task in the application will call fdOpenSession as part of a

    // create hook. Even ones that do not use the stack.

    //Global.autoOpenCloseFD = true;

     

     

    Global.netSchedulerPri = Global.NC_PRIORITY_HIGH;

    Global.ndkTickPeriod = 100;

    Global.kernTaskPriLevel = 11;

    Global.serviceReportHook = null;

    Global.IPv6 = false;

     

    // IP configuration

    //Ip.socketBufMinTxSize = 1;

    Ip.domainName = "ced2.net";

     

    // Settings for static IP configuration

    Ip.ResolveIP = false;

    Ip.CallByIP = false;

    Ip.autoIp = false;

     

    // If initializing without IP.

    Ip.address = "0.0.0.0";

    Ip.mask = "255.255.255.0";

    // If initializing with 2 IPs (Dual MAC mode operation)

    // Configure the second Ethernet interface here and the first interface programatically.

    // For Dual MAC mode operation, configure the second Ethernet interface here and

    // use the Global.stackInitHook to add a hook that performs the IP configuration of

    // the first interface programatically.

    //Ip.address = "192.168.2.34";

    //Ip.gatewayIpAddr = "192.168.2.2";

    //Ip.ifIdx = 2;

    // For Dual MAC mode operation add the hook Global.stackInitHook to perform the

    // IP configuration for the first interface programatically.

    //Global.stackInitHook = "&ethStackInitHook";

     

    Regards,
    Edgard.

     

  • Have you read the SYS/BIOS release notes regarding "Migrating GCC Projects Built with SYS/BIOS v6.50 or older to SYS/BIOS v6.52"?

    Todd
  • Did this get resolved?
  • We have not tried yet. Sorry, but we came across other problems that are more urgent.

    But I can say that when we updated the CCS and PDK we have not payed enougth attention to section "Migrating GCC Projects Built with SYS/BIOS v6.50 or older to SYS/BIOS v6.52". We have to double check it.

    Thanks,
    Marcio.

  • Hello,

    Sorry for the delay to send news about this case. Urgent problems appeared and I had to switch for a while to another task.

    I read the "Migrating GCC Projects Built with SYS/BIOS v6.50 or older to SYS/BIOS v6.52" and followed the steps written there, but the project remained not compiling. So, I imported a PDK Example to have its definitions, removed all files and put my project files on it. Making this, that errors that I mentioned on previous posts disappeared. However, the following warning appeared after building the project:

    Invalid project path: Include path not found (C:\ti\ccsv7\eclipse\Debug\C::\ti\bios_6_52_00_12\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\newlib-nano).

    How can I solve this?

    Thanks so!
    Edgard.
  • Why are there two colons ("C::\")in the path? Also, it looks like a semicolon in missing "\C".
  • Hi,

    It's weird because I didn't change any variable/symbol, so the directories were defined as default... Is there some symbol that I must to change to correct this?

    Regards.
  • Can you do a rebuild and attach the entire build output? Please attach the output as a text file instead of copy/paste (to keep the thread short).
  • After rebuild the project, these are the console output ("Console.txt") and the problems related ("Problems.txt").

    Thanks!

    Console.txt
    **** Clean-only build of configuration Debug for project Forum_CED2 ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 6 clean -O 
    cleaning ../src/sysbios ...
    DEL /F  "New_CED2.hex"  "configPkg\linker.cmd" "configPkg\compiler.opt"  "New_CED2.out" 
    RMDIR /S/Q  "configPkg\" 
    DEL /F "bacmapl.o" "bdapl.o" "bdmailapl.o" "bdpoolapl.o" "boardapl.o" "bpposapl.o" "configapl.o" "consoleapl.o" "crcapl.o" "datetimeapl.o" "dcapl.o" "dcpageapl.o" "ethapl.o" "exmapl.o" "gpiodrvapl.o" "ipgateapl.o" "main.o" "nimu_osal.o" "rawosapl.o" "routerapl.o" "scigateapl.o" "spidrvapl.o" "spigateapl.o" "uartdrvapl.o" "udpapl.o" "versionapl.o" "wdtapl.o" 
    DEL /F "boardapl.d" "nimu_osal.d" 
    DEL /F "bacmapl.d" "bdapl.d" "bdmailapl.d" "bdpoolapl.d" "bpposapl.d" "configapl.d" "consoleapl.d" "crcapl.d" "datetimeapl.d" "dcapl.d" "dcpageapl.d" "ethapl.d" "exmapl.d" "gpiodrvapl.d" "ipgateapl.d" "main.d" "rawosapl.d" "routerapl.d" "scigateapl.d" "spidrvapl.d" "spigateapl.d" "uartdrvapl.d" "udpapl.d" "versionapl.d" "wdtapl.d" 
    N�o foi poss�vel encontrar C:\ALSTOM\DSP\CED2\SRC\Forum_CED2\Debug\New_CED2.hex
    'Finished clean'
    ' '
    
    **** Build Finished ****
    
    **** Build of configuration Debug for project Forum_CED2 ****
    
    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 6 all -O 
    gmake[1]: Entering directory 'C:/ALSTOM/DSP/CED2/SRC/Forum_CED2/Debug'
    'Building file: ../startup.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_50_03_33_core/xs" --xdcpath="C:/ti/bios_6_52_00_12/packages;C:/ti/edma3_lld_2_12_05_30B/packages;C:/ti/ndk_2_26_00_08/packages;C:/ti/pdk_am437x_1_0_9/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A9F -p ti.platforms.evmAM437X -r release -c "C:/ti/gcc-arm-none-eabi-6-2017-q1-update" "../startup.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring startup.xa9fg from package/cfg/startup_pa9fg.cfg ...
    generating custom ti.sysbios library makefile ... 
    	Linking with library ti.transport.ndk.nimu:./lib/am437x/a9/release/ti.transport.ndk.nimu.aa9fg
    	Linking with library ti.drv.emac:./lib/am437x/a9/release/ti.drv.emac.aa9fg
    	Linking with library ti.drv.uart:./lib/am437x/a9/release/ti.drv.uart.aa9fg
    	Linking with library ti.board:./lib/skAM437x/a9/release/ti.board.aa9fg
    	Linking with library ti.csl:./lib/am437x/a9/release/ti.csl.aa9fg
    	Linking with library ti.osal:./lib/tirtos/a9/release/ti.osal.aa9fg
    Starting build of library sources ...
    making C:/ALSTOM/DSP/CED2/SRC/Forum_CED2/src/sysbios/sysbios.aa9fg ...
    gmake[1]: Entering directory `C:/ALSTOM/DSP/CED2/SRC/Forum_CED2/src/sysbios'
    asma9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm_gnu.asm ...
    asma9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/TaskSupport_asm_gnu.asm ...
    asma9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/exc/Exception_asm_gnu.asm ...
    asma9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/gic/Hwi_asm_gnu.asm ...
    asma9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/a9/Cache_asm_gnu.sv7A ...
    asma9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/a8/Mmu_asm_gnu.sv7A ...
    asma9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/timers/dmtimer/Timer_asm_gnu.sv7A ...
    asma9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/a15/TimestampProvider_asm_gnu.asm ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/BIOS.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/IntrinsicsSupport.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/TaskSupport.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Clock.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Idle.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Intrinsics.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Event.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Mailbox.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Queue.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Semaphore.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Swi.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/knl/Task.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/rts/gnu/ReentSupport.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/rts/gnu/SemiHostSupport.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/hal/Cache.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/hal/Core.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/hal/CoreNull.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/hal/Hwi.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/hal/Hwi_stack.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/hal/Hwi_startup.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/hal/Seconds.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/hal/SecondsClock.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/hal/Timer.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/exc/Exception.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/gic/Hwi.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/a9/Cache.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/a9/Timer.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/a8/Mmu.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/gates/GateHwi.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/gates/GateMutex.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/heaps/HeapMem.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/timers/dmtimer/Timer.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/a9/am437x/TimerSupport.c ...
    cla9fg C:/ti/bios_6_52_00_12/packages/ti/sysbios/family/arm/a15/TimestampProvider.c ...
    ara9fg arm_IntrinsicsSupport_asm_gnu.o arm_TaskSupport_asm_gnu.o exc_Exception_asm_gnu.o gic_Hwi_asm_gnu.o a9_Cache_asm_gnu.o a8_Mmu_asm_gnu.o dmtimer_Timer_asm_gnu.o a15_TimestampProvider_asm_gnu.o _BIOS.o arm_IntrinsicsSupport.o arm_TaskSupport.o knl_Clock.o knl_Idle.o knl_Intrinsics.o knl_Event.o knl_Mailbox.o knl_Queue.o knl_Semaphore.o knl_Swi.o knl_Task.o gnu_ReentSupport.o gnu_SemiHostSupport.o hal_Cache.o hal_Core.o hal_CoreNull.o hal_Hwi.o hal_Hwi_stack.o hal_Hwi_startup.o hal_Seconds.o hal_SecondsClock.o hal_Timer.o exc_Exception.o gic_Hwi.o a9_Cache.o a9_Timer.o a8_Mmu.o gates_GateHwi.o gates_GateMutex.o heaps_HeapMem.o dmtimer_Timer.o am437x_TimerSupport.o a15_TimestampProvider.o ...
    gmake[1]: Leaving directory `C:/ALSTOM/DSP/CED2/SRC/Forum_CED2/src/sysbios'
    Build of libraries done.
    cla9fg package/cfg/startup_pa9fg.c ...
    'Finished building: ../startup.cfg'
    ' '
    gmake[1]: Leaving directory 'C:/ALSTOM/DSP/CED2/SRC/Forum_CED2/Debug'
            1 arquivo(s) copiado(s).
    making ../src/sysbios/sysbios.aa9fg ...
    gmake[1]: Nothing to be done for 'all'.
    'Building file: ../boardapl.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"boardapl.d" -MT"boardapl.o" -o"boardapl.o" @"configPkg/compiler.opt" "../boardapl.c"
    'Finished building: ../boardapl.c'
    ' '
    'Building file: ../bdapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"bdapl.d" -MT"bdapl.o" -o"bdapl.o" @"configPkg/compiler.opt" "../bdapl.cpp"
    'Finished building: ../bdapl.cpp'
    ' '
    'Building file: ../bdpoolapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"bdpoolapl.d" -MT"bdpoolapl.o" -o"bdpoolapl.o" @"configPkg/compiler.opt" "../bdpoolapl.cpp"
    'Finished building: ../bdpoolapl.cpp'
    ' '
    'Building file: ../bdmailapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"bdmailapl.d" -MT"bdmailapl.o" -o"bdmailapl.o" @"configPkg/compiler.opt" "../bdmailapl.cpp"
    'Finished building: ../bdmailapl.cpp'
    ' '
    'Building file: ../bacmapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"bacmapl.d" -MT"bacmapl.o" -o"bacmapl.o" @"configPkg/compiler.opt" "../bacmapl.cpp"
    'Finished building: ../bacmapl.cpp'
    ' '
    'Building file: ../bpposapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"bpposapl.d" -MT"bpposapl.o" -o"bpposapl.o" @"configPkg/compiler.opt" "../bpposapl.cpp"
    'Finished building: ../bpposapl.cpp'
    ' '
    'Building file: ../configapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"configapl.d" -MT"configapl.o" -o"configapl.o" @"configPkg/compiler.opt" "../configapl.cpp"
    'Finished building: ../configapl.cpp'
    ' '
    'Building file: ../crcapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"crcapl.d" -MT"crcapl.o" -o"crcapl.o" @"configPkg/compiler.opt" "../crcapl.cpp"
    'Finished building: ../crcapl.cpp'
    ' '
    'Building file: ../consoleapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"consoleapl.d" -MT"consoleapl.o" -o"consoleapl.o" @"configPkg/compiler.opt" "../consoleapl.cpp"
    'Finished building: ../consoleapl.cpp'
    ' '
    'Building file: ../dcpageapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"dcpageapl.d" -MT"dcpageapl.o" -o"dcpageapl.o" @"configPkg/compiler.opt" "../dcpageapl.cpp"
    'Finished building: ../dcpageapl.cpp'
    ' '
    'Building file: ../datetimeapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"datetimeapl.d" -MT"datetimeapl.o" -o"datetimeapl.o" @"configPkg/compiler.opt" "../datetimeapl.cpp"
    'Finished building: ../datetimeapl.cpp'
    ' '
    'Building file: ../exmapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"exmapl.d" -MT"exmapl.o" -o"exmapl.o" @"configPkg/compiler.opt" "../exmapl.cpp"
    'Finished building: ../exmapl.cpp'
    ' '
    'Building file: ../dcapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"dcapl.d" -MT"dcapl.o" -o"dcapl.o" @"configPkg/compiler.opt" "../dcapl.cpp"
    'Finished building: ../dcapl.cpp'
    ' '
    'Building file: ../gpiodrvapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"gpiodrvapl.d" -MT"gpiodrvapl.o" -o"gpiodrvapl.o" @"configPkg/compiler.opt" "../gpiodrvapl.cpp"
    'Finished building: ../gpiodrvapl.cpp'
    ' '
    'Building file: ../ethapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"ethapl.d" -MT"ethapl.o" -o"ethapl.o" @"configPkg/compiler.opt" "../ethapl.cpp"
    'Finished building: ../ethapl.cpp'
    ' '
    'Building file: ../ipgateapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"ipgateapl.d" -MT"ipgateapl.o" -o"ipgateapl.o" @"configPkg/compiler.opt" "../ipgateapl.cpp"
    'Finished building: ../ipgateapl.cpp'
    ' '
    'Building file: ../main.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"main.d" -MT"main.o" -o"main.o" @"configPkg/compiler.opt" "../main.cpp"
    'Finished building: ../main.cpp'
    ' '
    'Building file: ../nimu_osal.c'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"nimu_osal.d" -MT"nimu_osal.o" -o"nimu_osal.o" @"configPkg/compiler.opt" "../nimu_osal.c"
    'Finished building: ../nimu_osal.c'
    ' '
    'Building file: ../scigateapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"scigateapl.d" -MT"scigateapl.o" -o"scigateapl.o" @"configPkg/compiler.opt" "../scigateapl.cpp"
    'Finished building: ../scigateapl.cpp'
    ' '
    'Building file: ../rawosapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"rawosapl.d" -MT"rawosapl.o" -o"rawosapl.o" @"configPkg/compiler.opt" "../rawosapl.cpp"
    'Finished building: ../rawosapl.cpp'
    ' '
    'Building file: ../routerapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"routerapl.d" -MT"routerapl.o" -o"routerapl.o" @"configPkg/compiler.opt" "../routerapl.cpp"
    'Finished building: ../routerapl.cpp'
    ' '
    'Building file: ../spidrvapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"spidrvapl.d" -MT"spidrvapl.o" -o"spidrvapl.o" @"configPkg/compiler.opt" "../spidrvapl.cpp"
    'Finished building: ../spidrvapl.cpp'
    ' '
    'Building file: ../spigateapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"spigateapl.d" -MT"spigateapl.o" -o"spigateapl.o" @"configPkg/compiler.opt" "../spigateapl.cpp"
    'Finished building: ../spigateapl.cpp'
    ' '
    'Building file: ../uartdrvapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"uartdrvapl.d" -MT"uartdrvapl.o" -o"uartdrvapl.o" @"configPkg/compiler.opt" "../uartdrvapl.cpp"
    'Finished building: ../uartdrvapl.cpp'
    ' '
    'Building file: ../versionapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"versionapl.d" -MT"versionapl.o" -o"versionapl.o" @"configPkg/compiler.opt" "../versionapl.cpp"
    'Finished building: ../versionapl.cpp'
    ' '
    'Building file: ../wdtapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"wdtapl.d" -MT"wdtapl.o" -o"wdtapl.o" @"configPkg/compiler.opt" "../wdtapl.cpp"
    'Finished building: ../wdtapl.cpp'
    ' '
    'Building file: ../udpapl.cpp'
    'Invoking: GNU Compiler'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF"udpapl.d" -MT"udpapl.o" -o"udpapl.o" @"configPkg/compiler.opt" "../udpapl.cpp"
    'Finished building: ../udpapl.cpp'
    ' '
    making ../src/sysbios/sysbios.aa9fg ...
    gmake[2]: Nothing to be done for 'all'.
    'Building target: Forum_CED2.out'
    'Invoking: GNU Linker'
    "C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -mtune=cortex-a9 -marm -DSOC_AM437x -DSK_AM437X -Dam4376 -g -gdwarf-3 -gstrict-dwarf -Wall -mfloat-abi=hard -Wl,-Map,"Forum_CED2.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/hard" -Wl,--defsym,STACKSIZE=0x18000 -Wl,--defsym,HEAPSIZE=0x400 --specs=nano.specs -o"Forum_CED2.out" "./bacmapl.o" "./bdapl.o" "./bdmailapl.o" "./bdpoolapl.o" "./boardapl.o" "./bpposapl.o" "./configapl.o" "./consoleapl.o" "./crcapl.o" "./datetimeapl.o" "./dcapl.o" "./dcpageapl.o" "./ethapl.o" "./exmapl.o" "./gpiodrvapl.o" "./ipgateapl.o" "./main.o" "./nimu_osal.o" "./rawosapl.o" "./routerapl.o" "./scigateapl.o" "./spidrvapl.o" "./spigateapl.o" "./uartdrvapl.o" "./udpapl.o" "./versionapl.o" "./wdtapl.o" -Wl,-T"../AM437x.lds" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lstdc++ -lgcc -lm -lrdimon -lc -Wl,--end-group 
    'Finished building target: Forum_CED2.out'
    ' '
    
    **** Build Finished ****
    

    Problems.txt
    Description	Resource	Path	Location	Type
    Invalid project path: Include path not found (C:\ti\ccsv7\eclipse\Debug\C::\ti\bios_6_52_00_12\packages\gnu\targets\arm\libs\install-native\arm-none-eabi\include\newlib-nano).	Forum_CED2		pathentry	Path Entry Problem
    

  • Edgard,
    can you go to Project Properties->CCS Build->GNU Compiler, and check the content of the command line?
    Do you remember adding or seeing the directory 'eclipse/debug' somewhere in the project properties?

  • Hello,

    I checked the content of the GNU Compiler and it's defined like this:

    -> Command: "${CG_TOOL_GCC}" -c
    -> Command-line pattern: ${command} ${flags} ${output_flag}${output} ${inputs}
    -> Summary of flags set: -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -DSOC_AM437x -DSK_AM437X -Dam4376 -I"C:/ALSTOM/DSP/CED2/SRC/Forum_CED2" -I"C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" -I"C:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include" -g -gdwarf-3 -gstrict-dwarf -Wall

    I noticed that the directory "C:/ti/bios_6_52_00_12/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/newlib-nano" pointed on the "Summary of flags set" does not contain two "::", like the warning of the console reported.

    About the directory "eclipse/debug", the only thing that I found related to this was a variable "XDCTOOLS_JAVA_HOME" on "Project -> Properties -> Build -> Environment". The field "Value" of this variable has the content "C:\ti\ccsv7\eclipse\jre", and the field "Origin" of this is filled with "BUILD SYSTEM".

    Regards.
  • That could also be a leftover from a previous failed build. Can you right-click on that Problem entry and delete it? Then, when you rebuild and the build succeeds, does that Problem entry appear again?
  • When I cleaned the project and rebuilt it, the warning appeared again. So, I deleted the warning and recompiled the project, but unfortunately the warning emerged again...

  • Was this thread ever in the CCS forum? I think they should be able to help because I am out of the ideas and can't really debug the problem. You may also want to start a new thread in the CCS forum because this one is getting long and just say something like "I have a project that builds just fine but the Problems window has an item that I can't get rid of".