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/AWR1642: What causes a warning message?

Part Number: AWR1642
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hi

The following message is displayed.

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

Description Resource Path Location Type
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/can/lib/libcan_xwr16xx.aer4f<can_xwr16xx.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/can/lib/libcan_xwr16xx.aer4f<can.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/can/lib/libcan_xwr16xx.aer4f<dcan.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/crc/lib/libcrc_xwr16xx.aer4f<crc.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/dma/lib/libdma_xwr16xx.aer4f<dma_xwr16xx.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/dma/lib/libdma_xwr16xx.aer4f<dma.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/esm/lib/libesm_xwr16xx.aer4f<esm_xwr1xxx.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/esm/lib/libesm_xwr16xx.aer4f<esm.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/osal/lib/libosal_xwr16xx.aer4f<DebugP_tirtos.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/osal/lib/libosal_xwr16xx.aer4f<HwiP_tirtos.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/osal/lib/libosal_xwr16xx.aer4f<MemoryP_tirtos.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/osal/lib/libosal_xwr16xx.aer4f<SemaphoreP_tirtos.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/pinmux/lib/libpinmux_xwr16xx.aer4f<pinmux.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/qspi/lib/libqspi_xwr16xx.aer4f<qspi_xwr16xx.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/qspi/lib/libqspi_xwr16xx.aer4f<qspi.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/qspiflash/lib/libqspiflash_xwr16xx.aer4f<qspiflash_device_macronix.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/qspiflash/lib/libqspiflash_xwr16xx.aer4f<qspiflash_xwr16xx.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:/ti/mmwave_sdk_02_00_00_04/packages/ti/drivers/qspiflash/lib/libqspiflash_xwr16xx.aer4f<qspiflash.oer4f>" = 32-bit, "./main.obj" = packed) test_project C/C++ Problem

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

If I change the properties-> ARM Compiler-> Advanced Options-> Runtime Model Options-> Designate enum type (packed to int) on ccs, the following message is displayed.

------------------------------------------
Description Resource Path Location Type
#16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Assert.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Core-label.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Core-mem.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Core-params.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Core-smem.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Error.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Gate.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Memory.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Registry.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Startup.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<SysStd.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<System.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Text.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Timestamp.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:\Users\workspace_v7\test_project\Debug\configPkg\package\cfg\sbl_per4f.oer4f" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
#16027-D null: object files have incompatible enumeration types ("C:\Users\workspace_v7\test_project\src\sysbios\sysbios.aer4f<BIOS.obj>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
------------------------------------------

What causes a warning message?

What is the way to remove?

Thanks

-Changyu Kim

  • Hi,

    Please see

    e2e.ti.com/.../293095


    Please search on the internet for "#16027-D null: object files have incompatible enum"

    Thank you
    Cesar
  • Hi

    I did a search on the internet.
    So the result --> >If I change the properties-> ARM Compiler-> Advanced Options-> Runtime Model Options-> Designate enum type (packed to int) on ccs, the following message is displayed.

    ------------------------------------------
    Description Resource Path Location Type
    #16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Assert.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    #16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Core-label.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    #16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Core-mem.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    #16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Core-params.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    #16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Core-smem.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    #16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Error.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    #16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Gate.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    #16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Memory.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    #16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Registry.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    #16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Startup.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    #16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<SysStd.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    #16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<System.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    #16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Text.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    #16027-D null: object files have incompatible enumeration types ("C:\ti\bios_6_53_02_00\packages\ti\targets\arm\rtsarm\lib\ti.targets.arm.rtsarm.aer4f<Timestamp.oer4f>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    #16027-D null: object files have incompatible enumeration types ("C:\Users\workspace_v7\test_project\Debug\configPkg\package\cfg\sbl_per4f.oer4f" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    #16027-D null: object files have incompatible enumeration types ("C:\Users\workspace_v7\test_project\src\sysbios\sysbios.aer4f<BIOS.obj>" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem
    ------------------------------------------
  • The CCS projects provided in the mmWave Industrial toolbox in TIRex will solve this problem.  In TIRex, navigate to mmWave Sensors -> Industrial Toolbox v2.4 -> Labs -> mmWave SDK Demo 16xx.  Install and build this (both MSS and DSS projects), then add in whatever changes you have, if any.

      -dave

  • Hi

    I can not find Industrial Toolbox v2.4.

    Can you tell me the path?

  • 2.3.1 will work fine.  Just download and install the mmWave SDK Demo - 16xx.

  • Hi

    I found the difference between the mmWave SDK Demo - 16xx project and my project.

    I found that the under configuration was added to the .cfg file.

    /* Make sure libraries are built with 32-bit enum types to be compatible with DSP enum types*/
    BIOS.includeXdcRuntime = true;
    BIOS.libType = BIOS.LibType_Custom;
    BIOS.customCCOpts += " --enum_type=int ";

    So I checked by adding to my project cfg file.

    As a result, the following message was output.

    #16027-D null: object files have incompatible enumeration types ("C:\Users\workspace_v7\test_project\Debug\configPkg\package\cfg\sbl_per4f.oer4f" = packed, "./main.obj" = 32-bit) test_project C/C++ Problem

    and when i run debugging.

    then execution error always come out at the same location.

    My project first performs QSPI initialization. 

    In it, ti_sysbios_family_arm_exc_Exception_excHandlerDataAsm__I occurs in QSPI Open.

    My project cfg has the following added:

    /* get handle to xdc Reset module */
    Reset = xdc.useModule('xdc.runtime.Reset');
    /* install a "reset function" */
    Reset.fxns[Reset.fxns.length++] = '&_system_pre_init';

    I request you to check.

    Thanks.

    -Chan-gyu Kim

  • Can you do a clean build of the MMW demo's DSS and MSS CCS projects - the ones downloaded in the Industrial Toolbox? If so, then I would suggest renaming those projects to be used as the basis of your new projects. The fact that you are still getting the warning suggests that you are pulling in other modules (sbl_per4f) that are not being rebuilt with int enumeration types.

    One other flag you can check: MSS project properties -> Build -> XDCtools -> Advanced Options -> Additional compiler options (--compileOptions) should contain the string "--enum_type=int ".
  • Thank you.

    Actually, On July 4th, I received technical support through the local.