I am using the TI-RTOS 1.21 Getting Started guide to set up IAR Embedded Workbench for MSP430 V6.10.2. I have successfully generated the examples files and have set the Custom Argument Variables as described in the guide.
The values are:
XDCROOT = D:/ti/xdctools_3_30_01_25_core
XDCPATH = D:/ti/tirtos_msp430_2_00_02_36/packages;D:/ti/tirtos_msp430_2_00_02_36/products/uia_2_00_01_34/packages;;D:/ti/tirtos_msp430_2_00_02_36/products/bios_6_40_02_27/packages;
EXAMPLE_ROOT = d:\ti\RTOS_Examples\tirtos_msp430_2_00_02_36_examples\IAR
My first attempt at building a simple project consisting of the main.c from Lab 4 of the "Intro to the TI-RTOS Kernel Workshop" yielded:
Building configuration: TIRTOS - Debug
Updating build tree...
Performing Pre-Build Action
Error while running "D:/ti/xdctools_3_30_01_25_core/xs"
--xdcpath="D:/ti/tirtos_msp430_2_00_02_36/packages;D:/ti/tirtos_msp430_2_00_02_36/products/uia_2_00_01_34/packages;;D:/ti/tirtos_msp430_2_00_02_36/products/bios_6_40_02_27/packages;" iar.tools.configuro -c "D:\Program
Files (x86)\IAR Systems\Embedded Workbench 7.0\430" --cc "D:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\430\bin\icc430.exe" --device "MSP430F5529" --compileOptions "-f \"D:\ti\IAR
Tutorial/configPkg/compiler.opt.defs\" --diag_suppress=Pa050 -DMSP430WARE -ID:/ti/tirtos_msp430_2_00_02_36/products/MSP430Ware_1_80_01_03a/driverlib/MSP430F5xx_6xx -o \"D:\ti\IAR Tutorial\Debug\Obj\\\" --no_cse
--no_unroll --no_inline --no_code_motion --no_tbaa --debug -D__MSP430F5529__ -e --double=32 --dlib_config \"D:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\430\lib\dlib\dl430xlsfn.h\" --core=430X --data_model=small
-Ol --multiplier=32 --multiplier_location=4C0 --hw_workaround=CPU40 --hw_workaround=CPU39 --segment __data16=DATA16 --segment __data20=DATA20 --code_model=large" --linkOptions "-f \"D:\ti\IAR Tutorial/configPkg/linker.cmd\
" D:/ti/tirtos_msp430_2_00_02_36/products/MSP430Ware_1_80_01_03a/driverlib/iar-MSP430F5529/iar-MSP430F5529.r43 -o \"D:\ti\IAR Tutorial\Debug\Exe\TIRTOS.d43\" \"-ID:\Program Files (x86)\IAR Systems\Embedded Workbench
7.0\430\LIB\\\" -f \"D:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\430\config\linker\lnk430F5529.xcl\" -f \"D:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\430\config\linker\multiplier32_loc2.xcl\"
-D_STACK_SIZE=200 -rt \"D:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\430\lib\dlib\dl430xlsfn.r43\" -D_DATA16_HEAP_SIZE=0 -s __program_start -D_DATA20_HEAP_SIZE=0" --profile release --projFile "D:\ti\IAR
Tutorial\TIRTOS.ewp"
Total number of errors: 1
Total number of warnings: 0
I don't even know what xs.exe is, much less why it is throwing an error! Help please!
Jim