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.

NMI Interrupt with TI-RTOS

Other Parts Discussed in Thread: SYSBIOS

Hi, Everyone

I need your help.
I want to use NMI interrupt with TI-RTOS on Tiva TM4C129x.

but I have a Error like this.

Only intNums > = 15 can be created.

Can you tell me how to set NMI interrupt with TI-RTOS?

Best Regaeds
Hiroyasu

  • Hiroyasu,

    You can only set the NMI vector at build time using the config file your project.

    In the .cfg, if you are editing the file directly:

    Hwi.nmiFunc = "&handleNMI";

    where the function is defined:

    void handleNMI(void)  { /* your code here */ }

    Mark

  • Hi,Mark

    I try to setup nmi with .cfg GUI

    I setup interrupt number 2.

    but I got this Error.

    Only intNums > = 15 can be created

    Can you tell me how to setup?

    and I try to setup with Editor

    but nmiFunc is not defined
    Can you tell me where is nmiFunc's defined?

    best Regards
    Hiroyasu

  • Hello Mark,

    I have noticed that Hwi.nmiFunc gives an error but not m3Hwi.nmiFunc, though the latter does not find the NMI Function in the main c file. Any idea's as to why Hwi.nmiFunc does not compile at all?

    Regards
    Amit
  • Hi Amit,

    I am guessing 'Hwi' is a handle to the 'ti.sysbios.hal.Hwi' module in your *.cfg file (see cfg source) while 'm3Hwi' is a handle to the M3 specific Hwi module i.e. 'ti.sysbios.family.arm.m3.Hwi' module.

    'nmiFunc' is a config param defined only in the M3 specific Hwi module and is not present in the generic (target independent) hal.Hwi module. Therefore, if you attempt to configure it using the hal.Hwi module's handle, you will get an error.

    Best,

    Ashish

  • Hello Ashish,

    The M3 and M4F devices have the same Interrupt Vector structure so the m3Hwi does work. However it still does not find the function declared in the main file of the project. Any ideas on how to get the same compiling?

    Regards
    Amit
  • Hi Amit,

    Can you share the *.cfg code you are using to assign the function to the m3Hwi.nmiFunc config param ? Also, please share the function signature.

    Best,

    Ashish

  • Hello Ashish,

    Details on the thread are in TM4C forum. You can post the question there to poster (Soumyajit)

    e2e.ti.com/.../400896

    Regards
    Amit
  • Hi Ashish,

      Posting the *.cfg file contents in case you wanna have a look:

    /*
    * Copyright (c) 2013, Texas Instruments Incorporated
    * All rights reserved.
    *
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    *
    * * Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    *
    * * Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in the
    * documentation and/or other materials provided with the distribution.
    *
    * * Neither the name of Texas Instruments Incorporated nor the names of
    * its contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    *
    * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
    * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
    * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
    * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
    * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
    * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
    * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    */

    /*
    * ======== fatsdusbcopy.cfg ========
    */

    /* ================ 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 Main = xdc.useModule('xdc.runtime.Main');
    var Memory = xdc.useModule('xdc.runtime.Memory');
    var System = xdc.useModule('xdc.runtime.System');
    var Text = xdc.useModule('xdc.runtime.Text');

    var Task = xdc.useModule('ti.sysbios.knl.Task');
    var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');
    var FatFS = xdc.useModule('ti.sysbios.fatfs.FatFS');
    var m3Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');

    var Mailbox = xdc.useModule('ti.sysbios.knl.Mailbox');
    var UART = xdc.useModule('ti.drivers.UART');
    var I2C = xdc.useModule('ti.drivers.I2C');
    var SPI = xdc.useModule('ti.drivers.SPI');
    var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');
    var EMAC = xdc.useModule('ti.drivers.EMAC');
    var Global = xdc.useModule('ti.ndk.config.Global');
    var Ip = xdc.useModule('ti.ndk.config.Ip');
    var Http = xdc.useModule('ti.ndk.config.Http');

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

    /*
    * Comment this line to allow module names to be 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 = 2;

    /*
    * Comment this line to allow Error, Assert, and Log strings to be
    * 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 = true;//false;

    /* ================ System configuration ================ */
    var SysStd = xdc.useModule('xdc.runtime.SysStd');
    System.SupportProxy = SysStd;

    /* ================ BIOS configuration ================ */
    /*
    * Disable unused BIOS features to minimize footprint.
    * This example uses Tasks but not Swis or Clocks.
    */
    var BIOS = xdc.useModule('ti.sysbios.BIOS');
    BIOS.libType = BIOS.LibType_Custom;
    BIOS.swiEnabled = true;//false;
    BIOS.logsEnabled = false;
    BIOS.assertsEnabled = false;

    /* Declare the heap size */
    BIOS.heapSize = 22528;

    /* No runtime stack checking is performed */
    Task.checkStackFlag = false;
    Hwi.checkStackFlag = false;

    /* Reduce the number of task priorities */
    Task.numPriorities = 16;

    /* Remove the Idle Task */
    Task.enableIdleTask = true;//false;

    //var mboxParam = new Mailbox.Params();

    //m3Hwi.resetVectorAddress = 0x8000; // App base

    /* ================ Task configuration ================ */
    var taskParams = new Task.Params();
    taskParams.instance.name = "fatsdUSBCopyTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&taskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "lcdTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 9;
    Program.global.task = Task.create("&lcdTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "com0Task";
    taskParams.stackSize = 8000;//0x400;
    taskParams.priority = 5;
    Program.global.task = Task.create("&com0TaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "ExtRtcTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 9;
    Program.global.task = Task.create("&extRtcTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "KeyTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 10;
    Program.global.task = Task.create("&keyTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "AdcCh16Task";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&adcCh16TaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "AdcCh4Task";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&adcCh4TaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "DataLogTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&dataLogTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "SdCardLogTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&sdCardLogTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "DigitalInputTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&DigInputTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "Sdi12Task";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&sdi12TaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "DigitalOutputTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&DigOutputTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "UserInterfaceTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&userInterfaceTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "AlarmTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&alarmTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "GpsTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&gpsTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "GpsTimeUpdateTriggerTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&gpsTimeUpdateTriggerTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "SerialFlashTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&serialFlashTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "TestTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&testTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "LCDTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 5;
    Program.global.task = Task.create("&LCDTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "GsmTask";
    taskParams.stackSize = 4000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&gsmTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "HmiTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&hmiTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "TcpOutgoingTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&tcpOutgoingTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "SfLogTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&sfLogTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "SfDebugStoreTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&sfDebugStoreTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "SfDebugRestoreTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&sfDebugRestoreTaskFxn", taskParams);

    var taskParams = new Task.Params();
    taskParams.instance.name = "QeiTask";
    taskParams.stackSize = 2000;//0x400;
    taskParams.priority = 3;
    Program.global.task = Task.create("&qeiTaskFxn", taskParams);

    /* ================ Driver configuration ================ */
    var TIRTOS = xdc.useModule('ti.tirtos.TIRTOS');
    var GPIO = xdc.useModule('ti.drivers.GPIO');
    var SDSPI = xdc.useModule('ti.drivers.SDSPI');
    var USBMSCHFatFs = xdc.useModule('ti.drivers.USBMSCHFatFs');
    GPIO.libType = GPIO.LibType_NonInstrumented;
    SDSPI.libType = SDSPI.LibType_NonInstrumented;
    USBMSCHFatFs.libType = USBMSCHFatFs.LibType_NonInstrumented;
    var mailbox0Params = new Mailbox.Params();
    mailbox0Params.instance.name = "mboxLcd";
    Program.global.mboxLcd = Mailbox.create(22, 12, mailbox0Params);
    UART.libType = UART.LibType_NonInstrumented;
    I2C.libType = I2C.LibType_NonInstrumented;
    SPI.libType = SPI.LibType_NonInstrumented;
    var semaphore0Params = new Semaphore.Params();
    semaphore0Params.instance.name = "mtxMdoAdc4Ch";
    semaphore0Params.mode = Semaphore.Mode_BINARY;
    Program.global.mtxMdoAdc4Ch = Semaphore.create(1, semaphore0Params);
    var semaphore1Params = new Semaphore.Params();
    semaphore1Params.instance.name = "mtxMdoAdc16Ch";
    semaphore1Params.mode = Semaphore.Mode_BINARY;
    Program.global.mtxMdoAdc16Ch = Semaphore.create(1, semaphore1Params);
    var semaphore2Params = new Semaphore.Params();
    semaphore2Params.instance.name = "semDataLog";
    semaphore2Params.mode = Semaphore.Mode_BINARY;
    Program.global.semDataLog = Semaphore.create(null, semaphore2Params);
    var semaphore3Params = new Semaphore.Params();
    semaphore3Params.instance.name = "mtxSdCardAccess";
    semaphore3Params.mode = Semaphore.Mode_BINARY;
    Program.global.mtxSdCardAccess = Semaphore.create(1, semaphore3Params);
    var semaphore4Params = new Semaphore.Params();
    semaphore4Params.instance.name = "semOneSecTickForDataLogging";
    Program.global.semOneSecTickForDataLogging = Semaphore.create(null, semaphore4Params);
    var semaphore5Params = new Semaphore.Params();
    semaphore5Params.instance.name = "semSdCardActivityTrigger";
    semaphore5Params.mode = Semaphore.Mode_BINARY;
    Program.global.semSdCardActivityTrigger = Semaphore.create(null, semaphore5Params);
    var mailbox1Params = new Mailbox.Params();
    mailbox1Params.instance.name = "mboxUiIncoming";
    Program.global.mboxUiIncoming = Mailbox.create(256, 1, mailbox1Params);
    var mailbox2Params = new Mailbox.Params();
    mailbox2Params.instance.name = "mboxUiOutgoing";
    Program.global.mboxUiOutgoing = Mailbox.create(256, 1, mailbox2Params);
    var mailbox3Params = new Mailbox.Params();
    mailbox3Params.instance.name = "mboxSetRtc";
    Program.global.mboxSetRtc = Mailbox.create(30, 1, mailbox3Params);
    var mailbox4Params = new Mailbox.Params();
    mailbox4Params.instance.name = "mboxSd2UsbCopy";
    Program.global.mboxSd2UsbCopy = Mailbox.create(50, 1, mailbox4Params);
    var mailbox5Params = new Mailbox.Params();
    mailbox5Params.instance.name = "mboxAlarmLog";
    Program.global.mboxAlarmLog = Mailbox.create(50, 20, mailbox5Params);
    var semaphore6Params = new Semaphore.Params();
    semaphore6Params.instance.name = "semOneSecTickForGpsTimeUpdate";
    Program.global.semOneSecTickForGpsTimeUpdate = Semaphore.create(null, semaphore6Params);
    var semaphore7Params = new Semaphore.Params();
    semaphore7Params.instance.name = "semGpsTimeUpdateRequest";
    semaphore7Params.mode = Semaphore.Mode_BINARY;
    Program.global.semGpsTimeUpdateRequest = Semaphore.create(0, semaphore7Params);
    var semaphore8Params = new Semaphore.Params();
    semaphore8Params.instance.name = "semSfActivityTrigger";
    semaphore8Params.mode = Semaphore.Mode_BINARY;
    Program.global.semSfActivityTrigger = Semaphore.create(null, semaphore8Params);
    EMAC.libType = EMAC.LibType_NonInstrumented;
    Global.IPv6 = false;
    Ip.autoIp = false;
    Ip.address = "192.168.1.1";
    Ip.mask = "255.255.255.0";
    Ip.gatewayIpAddr = "192.168.1.2";
    Ip.domainName = "mydomain.com";
    var http0Params = new Http.Params();
    var http0 = Http.create(http0Params);
    Global.lowTaskPriLevel = 3;
    Global.stackInitHook = "&AddWebFiles";
    Global.stackDeleteHook = "&RemoveWebFiles";
    var semaphore9Params = new Semaphore.Params();
    semaphore9Params.instance.name = "semOneSecTickForGsmGprs";
    Program.global.semOneSecTickForGsmGprs = Semaphore.create(null, semaphore9Params);
    var semaphore10Params = new Semaphore.Params();
    semaphore10Params.instance.name = "semSfLogActivityTrigger";
    semaphore10Params.mode = Semaphore.Mode_BINARY;
    Program.global.semSfLogActivityTrigger = Semaphore.create(null, semaphore10Params);
    var mailbox6Params = new Mailbox.Params();
    mailbox6Params.instance.name = "mboxDebugStore";
    Program.global.mboxDebugStore = Mailbox.create(32, 10, mailbox6Params);
    var semaphore11Params = new Semaphore.Params();
    semaphore11Params.instance.name = "semSfDbgRead";
    Program.global.semSfDbgRead = Semaphore.create(null, semaphore11Params);
    Global.networkIPAddrHook = "&mynetworkIPAddrHook";
    Global.networkOpenHook = "&functionNetworkOpenHook";
    m3Hwi.nmiFunc = "&NmiSR";

    -

    Thanks

    -

    Regards

    Soumyajit

  • Hi Soumyajit,

    I am able to repro this error on my setup too. Let me figure out how to fix it and get back.

    Best,
    Ashish
  • Hi Soumyajit,

    I can confirm that we have a bug in our Hwi module because of which you are getting this error. We do not add an "extern" for the nmiFunc pointer specified in the *.cfg file (in this case an extern for NmiSR). I will file a bug to fix this issue and provide a link so you can track the bug.

    Meanwhile, you can register your custom NMI function at runtime using the following code:

    #include <ti/sysbios/family/arm/m3/Hwi.h>
    
    main()
    {
        ...
        Hwi_plug(2, &NmiSR);
        ...
        BIOS_start();
    }

    The Hwi_plug() function is an internal nodoc'ed function. Since it is an internal function, its definition may change and and therefore you should plan to stop using it once "Hwi.nmiFunc" is fixed in a future SYS/BIOS GA release.

    Best,

    Ashish

  • Link to bug for tracking this issue:
    https://cqweb.ext.ti.com/cqweb/main?command=GenerateMainFrame&service=CQ&schema=SDO-Web&contextid=SDOWP&entityID=SDOCM00114929&entityDefName=IncidentReport&username=readonly&password=readonly

    Best,
    Ashish

  • Hello Ashish,

    Thanks for the help in isolating the long outstanding issue.

    Regards
    Amit
  • Hi Ashish,

       The NMI is now working fine (thanks a lot for that), but the compiler is throwing a lot of warnings!! Can these warnings be eliminated? (Warnings listed below)

    Description Resource Path Location Type

    #48-D incompatible redefinition of macro "Hwi_dispatcherTaskSupport" (declared at line 1321 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 685, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_dispatcherIrpTrackingSupport" (declared at line 1322 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 686, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_dispatcherAutoNestingSupport" (declared at line 1319 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 683, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_dispatcherSwiSupport" (declared at line 1320 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 684, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_MaskingOption_BITMASK" (declared at line 1317 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 681, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_MaskingOption_LOWER" (declared at line 1318 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 682, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_MaskingOption_ALL" (declared at line 1315 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 679, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_MaskingOption_SELF" (declared at line 1316 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 680, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_disableInterrupt" (declared at line 1359 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 694, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_enableInterrupt" (declared at line 1360 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 695, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_post" (declared at line 1357 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 692, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_getTaskSP" (declared at line 1358 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 693, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_startup" (declared at line 1355 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 690, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_switchFromBootStack" (declared at line 1356 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 691, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Params" (declared at line 1353 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 688, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_getStackInfo" (declared at line 1354 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 689, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_restore" (declared at line 1370 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 703, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_enable" (declared at line 1369 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 702, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_disable" (declared at line 1368 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 701, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_getIrp" (declared at line 1367 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 700, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_setFunc" (declared at line 1364 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 699, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_getFunc" (declared at line 1363 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 698, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_clearInterrupt" (declared at line 1362 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 697, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_restoreInterrupt" (declared at line 1361 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 696, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Module_getMask" (declared at line 1387 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 711, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Module_hasMask" (declared at line 1386 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 710, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Module_startupDone" (declared at line 1385 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 709, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Module_startup" (declared at line 1384 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 708, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Module_id" (declared at line 1383 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 707, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Module_name" (declared at line 1382 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 706, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_setHookContext" (declared at line 1366 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 705, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_getHookContext" (declared at line 1365 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 704, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_create" (declared at line 1392 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 716, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_handle" (declared at line 1393 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 717, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_struct" (declared at line 1394 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 718, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Handle_label" (declared at line 1395 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 719, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Module_setMask" (declared at line 1388 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 712, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Object_heap" (declared at line 1389 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 713, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Module_heap" (declared at line 1390 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 714, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_construct" (declared at line 1391 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 715, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Object_first" (declared at line 1400 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 724, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Object_next" (declared at line 1401 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 725, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Object_sizeof" (declared at line 1402 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 726, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Params_copy" (declared at line 1403 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 727, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Handle_name" (declared at line 1396 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 720, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Instance_init" (declared at line 1397 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 721, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Object_count" (declared at line 1398 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 722, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Object_get" (declared at line 1399 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 723, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Module_to_ti_sysbios_interfaces_IHwi" (declared at line 1409 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 733, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Module_upCast" (declared at line 1408 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 732, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Handle_to_ti_sysbios_interfaces_IHwi" (declared at line 1411 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 735, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Handle_upCast" (declared at line 1410 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 734, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Instance_finalize" (declared at line 1405 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 729, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Params_init" (declared at line 1404 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 728, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_destruct" (declared at line 1407 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 731, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_delete" (declared at line 1406 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 730, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Handle_from_ti_sysbios_interfaces_IHwi" (declared at line 1413 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 737, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Handle_downCast" (declared at line 1412 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 736, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Handle" (declared at line 1294 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 668, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Instance" (declared at line 1293 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 667, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Object" (declared at line 1296 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 670, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Module" (declared at line 1295 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 669, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_FuncPtr" (declared at line 1298 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 672, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Struct" (declared at line 1297 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 671, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_HookSet" (declared at line 1300 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 674, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Irp" (declared at line 1299 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 673, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_StackInfo" (declared at line 1302 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 676, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_MaskingOption" (declared at line 1301 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 675, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_MaskingOption_NONE" (declared at line 1314 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 678, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    #48-D incompatible redefinition of macro "Hwi_Instance_State" (declared at line 1312 of "C:/ti/tirtos_tivac_2_01_00_03/products/bios_6_40_03_39/packages/ti/sysbios/family/arm/m3/Hwi.h") .ccsproject /DL_Tiva_v2 line 677, external location: C:\ti\tirtos_tivac_2_01_00_03\products\bios_6_40_03_39\packages\ti\sysbios\hal\Hwi.h C/C++ Problem

    -

    Thanks

    -

    Regards

    Soumyajit

  • Hi Soumyajit,

    Were you always getting these warning messages or some recent change triggered it ? If yes, can you share the change ?

    Also, I am guessing you are building a C++ project ?

    Best,
    Ashish
  • Hi Ashish,

       Firstly, my code is pure C (no C++). Secondly, as you mentioned in the earlier post to add the following two lines

    1. #include <ti/sysbios/family/arm/m3/Hwi.h>

    &

    2. Hwi_plug(2, &NmiSR);

        I did so & got the list of some 70 warnings. To cross check, I commented out these two lines (above) & the warnings vanished immediately.

    How do I get rid of the warnings?

    -

    Thanks

    -

    Regards

    Soumyajit

  • Hi Soumyajit,

    I am guessing you still have "ti/sysbios/hal/Hwi.h" header file being included in your application. This header will conflict with the device specific Hwi.h header that I asked you to add. Please remove the hal/Hwi.h header from your C file and try building again.

    Best,
    Ashish
  • Hi Ashish,

       Thanks for the resolution, I removed "#include <ti/sysbios/hal/Hwi.h>" from the code & the warnings disappeared.

    -

    Thanks

    -

    Regards

    Soumyajit