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.

MSPM0G3507: Benign "could not be resolved" errors occurring after upgrade from 12.6 to 12.7

Part Number: MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG,

Hi,

After upgrading to CCS 12.7 some of my projects will generate numerous "Type {***} could not be resolved" errors.  These error occur after the code compiles and the *.out file successfully builds. When I start a debug session, the IDE will warn about the build errors.  But the builds can still be downloaded and run successfully so I assume the errors are invalid.  Do you know what I should to do prevent these error messages?

Type 'portNVIC_INT_CTRL_REG' could not be resolved
Type 'portNVIC_INT_CTRL_REG' could not be resolved
Type 'portNVIC_SHPR3_REG' could not be resolved
Type 'portNVIC_SHPR3_REG' could not be resolved
Type 'portNVIC_SYSTICK_CTRL_REG' could not be resolved
Type 'portNVIC_SYSTICK_CTRL_REG' could not be resolved
Type 'portNVIC_SYSTICK_CTRL_REG' could not be resolved
Type 'portNVIC_SYSTICK_CTRL_REG' could not be resolved
Type 'portNVIC_SYSTICK_CTRL_REG' could not be resolved
Type 'portNVIC_SYSTICK_CTRL_REG' could not be resolved
Type 'portNVIC_SYSTICK_CTRL_REG' could not be resolved
Type 'portNVIC_SYSTICK_CTRL_REG' could not be resolved
Type 'portNVIC_SYSTICK_CURRENT_VALUE_REG' could not be resolved
Type 'portNVIC_SYSTICK_CURRENT_VALUE_REG' could not be resolved
Type 'portNVIC_SYSTICK_CURRENT_VALUE_REG' could not be resolved
Type 'portNVIC_SYSTICK_CURRENT_VALUE_REG' could not be resolved
Type 'portNVIC_SYSTICK_CURRENT_VALUE_REG' could not be resolved
Type 'portNVIC_SYSTICK_CURRENT_VALUE_REG' could not be resolved
Type 'portNVIC_SYSTICK_CURRENT_VALUE_REG' could not be resolved
Type 'portNVIC_SYSTICK_LOAD_REG' could not be resolved
Type 'portNVIC_SYSTICK_LOAD_REG' could not be resolved
Type 'portNVIC_SYSTICK_LOAD_REG' could not be resolved
Type 'portNVIC_SYSTICK_LOAD_REG' could not be resolved
Type 'portNVIC_SYSTICK_LOAD_REG' could not be resolved
Type 'portNVIC_SYSTICK_LOAD_REG' could not be resolved
Type 'portNVIC_SYSTICK_LOAD_REG' could not be resolved
Type 'uint32_t' could not be resolved
Type 'uint32_t' could not be resolved
Type 'uint32_t' could not be resolved
Type 'uint32_t' could not be resolved
Type 'uint32_t' could not be resolved
Type 'uint32_t' could not be resolved
Type 'uint32_t' could not be resolved
Type 'uint32_t' could not be resolved
Type 'uint32_t' could not be resolved

  • Hi, 

    Do you update the SDK and sysconfig at the same time?

    Change the project properties here and choose the latest version of them.

     '

    then try to import a project and debug.

    Regards,

    Helic

  • Hi Helic,

    Yes I updated the SDK and sysconfig when updating to 12.7, and my Products tab shows the same information as yours

  • Hi, 

    Please try to compare these include Path:

    And also, import a new project from SDK and compare these path.

    BR,

    Helic

  • The highlighted fields from these images return <none> when hovered over.  All others map to a variable defined as a directory, path,or string:

  • Hi, Bryan

    I import a freertos project and didn't find any issue.

    Here is my complier's param:

    -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O2 -I"C:/Users/helic/workspace_v12_CCS_FreeRTOS/gpio_interrupt_LP_MSPM0G3507_freertos_ticlang" -I"C:/ti/mspm0_sdk_2_00_00_03/source/third_party/CMSIS/Core/Include" -I"C:/ti/mspm0_sdk_2_00_00_03/kernel/freertos/Source/include" -I"C:/ti/mspm0_sdk_2_00_00_03/source" -I"C:/ti/mspm0_sdk_2_00_00_03/kernel/freertos/Source/portable/TI_ARM_CLANG/ARM_CM0" -I"C:/ti/mspm0_sdk_2_00_00_03/source/ti/posix/ticlang" -I"C:/Users/helic/workspace_v12_CCS_FreeRTOS/freertos_builds_LP_MSPM0G3507_release_ticlang" -D__MSPM0G3507__ -gdwarf-3

    And linker's:

    -march=thumbv6m -mcpu=cortex-m0plus -mfloat-abi=soft -mlittle-endian -mthumb -O2 -D__MSPM0G3507__ -gdwarf-3 -Wl,-m"gpio_interrupt_LP_MSPM0G3507_freertos_ticlang.map" -Wl,-i"C:/Users/helic/workspace_v12_CCS_FreeRTOS/freertos_builds_LP_MSPM0G3507_release_ticlang/Debug" -Wl,-i"C:/ti/mspm0_sdk_2_00_00_03/source" -Wl,-i"C:/Users/helic/workspace_v12_CCS_FreeRTOS/gpio_interrupt_LP_MSPM0G3507_freertos_ticlang" -Wl,-i"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-armllvm_3.2.2.LTS/lib" -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="gpio_interrupt_LP_MSPM0G3507_freertos_ticlang_linkInfo.xml" -Wl,--rom_model

    Regards,

    Helic

  • My params don't match and lead to more questions.  Can we try a live session so that we can troubleshoot the issue on my build?

  • Hi, 

    try a live session

    OK, My time zone is GMT+8.

    Can you try this:

    CCS - project - Import CCS project - Browse - Choose a rtos example from link below - build

    C:\ti\mspm0_sdk_2_00_00_03\examples\rtos\LP_MSPM0G3507\drivers

    Regards,

    Helic

  • Hi Helic,

    I was able to resolve the issue by creating a new workspace and importing the projects into it.  Now in the new workspace the projects build without the phantom errors.

  • Hi, 

    That's great~

    Regards,

    Helic