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: IAR project

Part Number: MSPM0G3507

Tool/software:

Hi,
customer tried to import the adc12_triggered_by_timer_even into IAR:
c:\ti\mspm0_sdk_2_02_00_05\examples\nortos\LP_MSPM0G3507\driverlib\adc12_triggered_by_timer_event\
but received errors (see log attached).

Also the file ADC12_triggered_by_timer_event_LP_MSPM0G3507_nortos_IAR.custom_argvars cannot be imported into the project either.

Regards, Holger

Live logging to 'C:\ti\mspm0_sdk_2_02_00_05\examples\nortos\LP_MSPM0G3507\driverlib\adc12_triggered_by_timer_event - dha\BuildLog.log' enabled.

Live logging to 'C:\ti\mspm0_sdk_2_02_00_05\examples\nortos\LP_MSPM0G3507\driverlib\adc12_triggered_by_timer_event - dha\BuildLog.log' enabled.
Variable expansion failed.
  Offending text: "$MSPM0_SDK_INSTALL_DIR$/source/third_party/CMSIS/Core/Include\"
  Partial command line: ""$TOOLKIT_DIR$\bin\iccarm.exe" "C:\ti\mspm0_sdk_2_02_00_05\examples\nortos\LP_MSPM0G3507\driverlib\adc12_triggered_by_timer_event - dha\iar\startup_mspm0g350x_iar.c" "-D" "__MSPM0G3507__" "-o" "C:\ti\mspm0_sdk_2_02_00_05\examples\nortos\LP_MSPM0G3507\driverlib\adc12_triggered_by_timer_event - dha\Debug\Obj\$ROOT_REL_PATH$" "--no_unroll" "--no_inline" "--no_tbaa" "--no_scheduling" "--debug" "--endian=little" "--cpu=Cortex-M0+" "--debug" "--silent" "-e" "--aeabi" "--thumb" "--diag_suppress=Pa050" "-e" "--fpu=None" "--dlib_config" "$TOOLKIT_DIR$\inc\c\DLib_Config_Normal.h" "-I" "$PROJ_DIR$\\" "-I" "$MSPM0_SDK_INSTALL_DIR$/source/third_party/CMSIS/Core/Include\\" "-I" "$MSPM0_SDK_INSTALL_DIR$/source\\" "-Om" "--vla" "
Failed to generate node description for C/C++ Compiler tool and file(s): startup_mspm0g350x_iar.o
Failed to generate build node descriptions

adc12_triggered_by_timer_event_LP_MSPM0G3507_nortos_iar - Debug
Reading project nodes...

Variable expansion failed.
  Offending text: "$MSPM0_SDK_INSTALL_DIR$/source/third_party/CMSIS/Core/Include\"
  Partial command line: ""$TOOLKIT_DIR$\bin\iccarm.exe" "C:\ti\mspm0_sdk_2_02_00_05\examples\nortos\LP_MSPM0G3507\driverlib\adc12_triggered_by_timer_event - dha\iar\startup_mspm0g350x_iar.c" "-D" "__MSPM0G3507__" "-o" "C:\ti\mspm0_sdk_2_02_00_05\examples\nortos\LP_MSPM0G3507\driverlib\adc12_triggered_by_timer_event - dha\Debug\Obj\$ROOT_REL_PATH$" "--no_unroll" "--no_inline" "--no_tbaa" "--no_scheduling" "--debug" "--endian=little" "--cpu=Cortex-M0+" "--debug" "--silent" "-e" "--aeabi" "--thumb" "--diag_suppress=Pa050" "-e" "--fpu=None" "--dlib_config" "$TOOLKIT_DIR$\inc\c\DLib_Config_Normal.h" "-I" "$PROJ_DIR$\\" "-I" "$MSPM0_SDK_INSTALL_DIR$/source/third_party/CMSIS/Core/Include\\" "-I" "$MSPM0_SDK_INSTALL_DIR$/source\\" "-Om" "--vla" "
Failed to generate node description for C/C++ Compiler tool and file(s): startup_mspm0g350x_iar.o
Failed to generate build node descriptions
Reading project nodes failed.

  • Hi,

    I can load and build the demo project in to IAR Arm v 9.60.2 without errors. What version of IAR is the customer using? 

    Best regards,

    Cash Hao

  • Hi,

    he used the 9.50.1.

    He stores the project in a new folder in "C:\ti\mspm0_SDK_2_02_00_05\examples\nortos\LP_MSPM0G3507\driverlib" with [name of example - Copy] or similar. Saving works. But the execution of the saved project fails, because some files are not copied or are located in other program paths than the original project.

    Regards, Holger

  • Hi,

    Oh, I see. So the SDK is not installed in the default path "C:\ti\...". 

    Please let the customer follow the MSP0 SDK quick start guides for IAR and try. The document should be found in SDK installation path. Something like below. 

    C:\ti\mspm0_sdk_2_02_00_02\docs\english\quickstart_guides

    Best regards,

    Cash Hao