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.

Compiling RTOS examples for MSP430F5529 with GNU v4.9.1 (Red Hat)

Other Parts Discussed in Thread: MSP430F5529, SYSBIOS, MSP430F6459, MSP430F5527, MSP430FR6989, MSP430FR5969, MSP430WARE

Hello,

I hope this is the right place for my question, if not pleas move it where it belongs.

I am trying to compile the empty RTOS example with the GNU v4.9.1 (Red Hat) compiler for the MSP430F5529 Launchpad. If I try to do so with the empty (minimal) Project everything works fine. With the GNU v4.9.1 as well as with TI v4.4.6. If I try to compile the "Empty Project"  I get errors from the compiler I don't really understand:

**** Build of configuration Debug__GNU for project empty_MSP_EXP430F5529LP_TI_MSP430F5529 ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
making ../src/sysbios/sysbios.ae430X ...
gmake[1]: Entering directory `C:/Users/siglerd/Desktop/CCSprojects/empty_MSP_EXP430F5529LP_TI_MSP430F5529/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `C:/Users/siglerd/Desktop/CCSprojects/empty_MSP_EXP430F5529LP_TI_MSP430F5529/src/sysbios'
'Building file: ../empty.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_31_01_33_core/xs" --xdcpath="C:/ti/tirtos_msp43x_2_14_03_28/packages;C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages;C:/ti/tirtos_msp43x_2_14_03_28/products/uia_2_00_02_39/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.msp430.elf.MSP430X -p ti.platforms.msp430:MSP430F5529 -r release -c "C:/ti/ccsv6/tools/compiler/gcc_msp430_4.9.14r1_364" "../empty.cfg"
making package.mak (because of package.bld) ...
ti.targets.msp430.elf.MSP430X: warning: exec of 'C:/ti/ccsv6/tools/compiler/gcc_msp430_4.9.14r1_364/bin/cl430 --compiler_revision' failed:java.io.IOException: Cannot run program "C:/ti/ccsv6/tools/compiler/gcc_msp430_4.9.14r1_364/bin/cl430" (in directory "."): CreateProcess error=2, Das System kann die angegebene Datei nicht finden; check tools installation
ti.targets.msp430.elf.MSP430X: warning: exec of 'C:/ti/ccsv6/tools/compiler/gcc_msp430_4.9.14r1_364/bin/cl430 --compiler_revision' failed:java.io.IOException: Cannot run program "C:/ti/ccsv6/tools/compiler/gcc_msp430_4.9.14r1_364/bin/cl430" (in directory "."): CreateProcess error=2, Das System kann die angegebene Datei nicht finden; check tools installation
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring empty.xe430X from package/cfg/empty_pe430X.cfg ...
js: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/cfg/Main.xs", line 167: Error: xdc.cfg.INCOMPATIBLE_TARGET_VERSION: the compiler version [] used by the current target 'ti.targets.msp430.elf.MSP430X' is not compatible with compiler version of targets used to build the following packages; package ti.catalog.msp430.init [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/catalog/msp430/init/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.targets.msp430.rts430 [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/targets/msp430/rts430/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.family.msp430 [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/family/msp430/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.knl [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/knl/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.hal [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/hal/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.heaps [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/heaps/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.uia.events [in C:/ti/tirtos_msp43x_2_14_03_28/products/uia_2_00_02_39/packages/ti/uia/events/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.uia.runtime [in C:/ti/tirtos_msp43x_2_14_03_28/products/uia_2_00_02_39/packages/ti/uia/runtime/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.syncs [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/syncs/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.uia.sysbios [in C:/ti/tirtos_msp43x_2_14_03_28/products/uia_2_00_02_39/packages/ti/uia/sysbios/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.fatfs [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/fatfs/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.drivers [in C:/ti/tirtos_msp43x_2_14_03_28/packages/ti/drivers/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.gates [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/gates/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.xdcruntime [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/xdcruntime/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.uia.loggers [in C:/ti/tirtos_msp43x_2_14_03_28/products/uia_2_00_02_39/packages/ti/uia/loggers/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.utils [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/utils/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].

Adding the following line to your program configuration script:
    environment['xdc.cfg.check.fatal'] = 'false';
converts this incompatibility error into a warning. Please, check the documentation for the package xdc.cfg for more information.
gmake.exe: *** [package/cfg/empty_pe430X.xdl] Error 1
js: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [configPkg/linker.cmd] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****


After I add the "environment['xdc.cfg.check.fatal'] = 'false';" flag as suggested, I get the following errors:

**** Build of configuration Debug__GNU for project empty_MSP_EXP430F5529LP_TI_MSP430F5529 ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../empty.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_31_01_33_core/xs" --xdcpath="C:/ti/tirtos_msp43x_2_14_03_28/packages;C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages;C:/ti/tirtos_msp43x_2_14_03_28/products/uia_2_00_02_39/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.msp430.elf.MSP430X -p ti.platforms.msp430:MSP430F5529 -r release -c "C:/ti/ccsv6/tools/compiler/gcc_msp430_4.9.14r1_364" "../empty.cfg"
making package.mak (because of package.bld) ...
ti.targets.msp430.elf.MSP430X: warning: exec of 'C:/ti/ccsv6/tools/compiler/gcc_msp430_4.9.14r1_364/bin/cl430 --compiler_revision' failed:java.io.IOException: Cannot run program "C:/ti/ccsv6/tools/compiler/gcc_msp430_4.9.14r1_364/bin/cl430" (in directory "."): CreateProcess error=2, Das System kann die angegebene Datei nicht finden; check tools installation
ti.targets.msp430.elf.MSP430X: warning: exec of 'C:/ti/ccsv6/tools/compiler/gcc_msp430_4.9.14r1_364/bin/cl430 --compiler_revision' failed:java.io.IOException: Cannot run program "C:/ti/ccsv6/tools/compiler/gcc_msp430_4.9.14r1_364/bin/cl430" (in directory "."): CreateProcess error=2, Das System kann die angegebene Datei nicht finden; check tools installation
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring empty.xe430X from package/cfg/empty_pe430X.cfg ...
Warning: xdc.cfg.INCOMPATIBLE_TARGET_VERSION: the compiler version [] used by the current target 'ti.targets.msp430.elf.MSP430X' is not compatible with compiler version of targets used to build the following packages; package ti.catalog.msp430.init [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/catalog/msp430/init/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.targets.msp430.rts430 [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/targets/msp430/rts430/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.family.msp430 [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/family/msp430/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.knl [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/knl/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.hal [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/hal/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.heaps [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/heaps/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.uia.events [in C:/ti/tirtos_msp43x_2_14_03_28/products/uia_2_00_02_39/packages/ti/uia/events/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.uia.runtime [in C:/ti/tirtos_msp43x_2_14_03_28/products/uia_2_00_02_39/packages/ti/uia/runtime/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.syncs [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/syncs/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.uia.sysbios [in C:/ti/tirtos_msp43x_2_14_03_28/products/uia_2_00_02_39/packages/ti/uia/sysbios/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.fatfs [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/fatfs/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.drivers [in C:/ti/tirtos_msp43x_2_14_03_28/packages/ti/drivers/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.gates [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/gates/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.xdcruntime [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/xdcruntime/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.uia.loggers [in C:/ti/tirtos_msp43x_2_14_03_28/products/uia_2_00_02_39/packages/ti/uia/loggers/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].
; package ti.sysbios.utils [in C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/utils/] was built using the target 'ti.targets.msp430.elf.MSP430X' with compiler version [4.4.2].

generating custom ti.sysbios library makefile ...
generating custom ti.sysbios.family.msp430 Hwi stubs ...
Starting build of library sources ...
making C:/Users/siglerd/Desktop/CCSprojects/empty_MSP_EXP430F5529LP_TI_MSP430F5529/src/sysbios/sysbios.ae430X ...
gmake[1]: Entering directory `C:/Users/siglerd/Desktop/CCSprojects/empty_MSP_EXP430F5529LP_TI_MSP430F5529/src/sysbios'
cle430X C:/ti/tirtos_msp43x_2_14_03_28/products/bios_6_42_03_35/packages/ti/sysbios/BIOS.c ...
C:/ti/ccsv6/tools/compiler/gcc_msp430_4.9.14r1_364/bin/cl430: not found
gmake[1]: *** [BIOS.obj] Error 127
gmake[1]: Leaving directory `C:/Users/siglerd/Desktop/CCSprojects/empty_MSP_EXP430F5529LP_TI_MSP430F5529/src/sysbios'
Build of libraries failed.
gmake: *** [C:/Users/siglerd/Desktop/CCSprojects/empty_MSP_EXP430F5529LP_TI_MSP430F5529/src/sysbios/sysbios.ae430X] Error 2
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

js: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package/cfg/empty_pe430X.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/empty_pe430X.xdl'
gmake.exe: *** [package/cfg/empty_pe430X.xdl] Deleting file `package/cfg/empty_pe430X.h'
gmake.exe: *** [package/cfg/empty_pe430X.xdl] Deleting file `package/cfg/empty_pe430X.c'
js: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: Target `all' not remade because of errors.

**** Build Finished ****

My tirtos.mak looks as follows:

#  ======== tirtos.mak ========
#

#
# Set location of various cgtools
#
# These variables can be set here or on the command line.  Paths must not
# have spaces.  If using a Windows PC, the following command can be used to
# determine the a directory's DOS path (path without spaces):
#
#     > for %I in ("path") do echo %~sI
#
# IAR Workbench example:
#     Path:        c:\Program Files (x86)\IAR Systems\Embedded Workbench 7.2
#     DOS Path:    c:\PROGRA~2\IARSYS~1\EMBEDD~1.2
#
DEFAULT_INSTALLATION_DIR ?= c:/ti
CCS_COMPILERS_DIR        ?= $(DEFAULT_INSTALLATION_DIR)/ccsv6/tools/compiler

#
# Enable TI-RTOS to build for CCS.
# Set CCS_BUILD to true and modify path to toolchain
#
CCS_BUILD ?= true
TI_INSTALLATION_DIR           ?= $(CCS_COMPILERS_DIR)
ti.targets.msp430.elf.MSP430X ?= $(TI_INSTALLATION_DIR)/ti-cgt-msp430_4.4.3
ti.targets.arm.elf.M4F        ?= $(TI_INSTALLATION_DIR)/ti-cgt-arm_5.2.2

#
# Enable TI-RTOS to build for IAR.
# Set IAR_BUILD to true and modify path to toolchain.
#
# The IAR_MSP430/ARM_INSTALLATION_DIR must be set to point to the
# "Embedded Workbench x.y" directory in IAR Workbench.  This path MUST NOT
# contain spaces.  If using a Windows PC, see the comments above for steps to
# get the DOS path for a directory.
#
IAR_BUILD ?= false
IAR_MSP430_INSTALLATION_DIR      ?= c:/iar
iar.targets.msp430.MSP430X_small ?= $(IAR_MSP430_INSTALLATION_DIR)/430
IAR_MSP430HEADERS                ?= $(IAR_MSP430_INSTALLATION_DIR)/430/inc

IAR_ARM_INSTALLATION_DIR         ?= c:/iar
iar.targets.arm.M4F              ?= $(IAR_ARM_INSTALLATION_DIR)/arm
IAR_MSP432HEADERS                ?= $(IAR_ARM_INSTALLATION_DIR)/arm/inc/TexasInstruments

#
# Enable TI-RTOS to build for GCC.
# Set GCC_BUILD to true and modify path to toolchain
#
GCC_BUILD ?= true
GCC_INSTALLATION_DIR ?= $(CCS_COMPILERS_DIR)/gcc_msp430_4.9.14r1_364"
gnu.targets.arm.M4F  ?= $(GCC_INSTALLATION_DIR)/gcc-arm-none-eabi-4_8-2014q3
#gnu.targets.arm.M4F  ?= $(GCC_INSTALLATION_DIR)/libexec/gcc/msp430-elf/4.9.1
#
# Enable TI-RTOS to build for MSP430/MSP432 devices.
# Set MSP430_BUILD or MSP432_BUILD to false to skip building TI-RTOS for the
# respective device family.
#
MSP430_BUILD ?= true
MSP432_BUILD ?= true

#
# TI-RTOS and XDCTools settings
#
XDCTOOLS_INSTALLATION_DIR ?= $(DEFAULT_INSTALLATION_DIR)/xdctools_3_31_01_33_core
export XDCTOOLS_JAVA_HOME ?= $(DEFAULT_INSTALLATION_DIR)/ccsv6/eclipse/jre

TIRTOS_INSTALLATION_VER   ?= tirtos_msp43x_2_14_03_28
TIRTOS_INSTALLATION_DIR   ?= $(DEFAULT_INSTALLATION_DIR)/$(TIRTOS_INSTALLATION_VER)
BIOS_INSTALLATION_DIR     ?= $(TIRTOS_INSTALLATION_DIR)/products/bios_6_42_03_35
UIA_INSTALLATION_DIR      ?= $(TIRTOS_INSTALLATION_DIR)/products/uia_2_00_02_39
MSPWARE_INSTALLATION_DIR  ?= $(TIRTOS_INSTALLATION_DIR)/products/MSPWare_2_00_00_40c
#MSP430HEADERS             ?= $(DEFAULT_INSTALLATION_DIR)/ccsv6/ccs_base/msp430/include
MSP430HEADERS             ?= $(DEFAULT_INSTALLATION_DIR)/ccsv6/ccs_base/msp430/include_gcc
MSP432HEADERS             ?= $(DEFAULT_INSTALLATION_DIR)/ccsv6/ccs_base/arm/include

#
# To build TI-RTOS driver libraries for other MSP430 devices; simply append the
# device names to MSP430DEVLIST (separated by commas)
# MSP430DEVLIST := MSP430F5529,MSP430F5527,MSP430F6459,etc...
#
MSP430DEVLIST := MSP430F5529,MSP430FR5969,MSP430FR6989

#
# To build TI-RTOS driver libraries for other MSP432 devices; simply append the
# device names to MSP432DEVLIST (separated by commas)
# MSP432DEVLIST := MSP432P401R,etc...
#
MSP432DEVLIST := MSP432P401R

#
# Set XDCARGS to some of the variables above.  XDCARGS are passed
# to the XDC build engine... which will load tirtos.bld... which will
# extract these variables and use them to determine what to build and which
# toolchains to use.
#
# Note that not all of these variables need to be set to something valid.
# Unfortunately, since these vars are unconditionally assigned, your build line
# will be longer and more noisy than necessary (e.g., it will include CC_V5T
# assignment even if you're just building for C64P).
#
# Some background is here:
#     rtsc.eclipse.org/.../Command_-_xdc
#
XDCARGS = \
    profile=release \
    XDCTOOLS=$(XDCTOOLS_INSTALLATION_DIR) \
    TIRTOS=$(TIRTOS_INSTALLATION_DIR) \
    BIOS=$(BIOS_INSTALLATION_DIR) \
    UIA=$(UIA_INSTALLATION_DIR) \
    MSPWARE=$(MSPWARE_INSTALLATION_DIR) \
    MSP430DEVLIST="$(MSP430DEVLIST)" \
    MSP432DEVLIST="$(MSP432DEVLIST)"

ifeq ("$(CCS_BUILD)", "true")
ifeq ("$(MSP430_BUILD)", "true")
XDCARGS += \
    ti.targets.msp430.elf.MSP430X=$(ti.targets.msp430.elf.MSP430X) \
    MSP430HEADERS=$(MSP430HEADERS)
    allmsp430ware += msp430ware
endif
ifeq ("$(MSP432_BUILD)", "true")
XDCARGS += \
    ti.targets.arm.elf.M4F=$(ti.targets.arm.elf.M4F) \
    MSP432HEADERS=$(MSP432HEADERS)
endif
endif

ifeq ("$(IAR_BUILD)", "true")
ifeq ("$(MSP430_BUILD)", "true")
XDCARGS += \
    iar.targets.msp430.MSP430X_small=$(iar.targets.msp430.MSP430X_small) \
    IAR_MSP430HEADERS=$(IAR_MSP430HEADERS)
    allmsp430ware += iar-msp430ware
endif
ifeq ("$(MSP432_BUILD)", "true")
XDCARGS += \
    iar.targets.arm.M4F=$(iar.targets.arm.M4F) \
    IAR_MSP432HEADERS=$(IAR_MSP432HEADERS)
endif
endif

ifeq ("$(GCC_BUILD)", "true")
XDCARGS += \
    gnu.targets.arm.M4F=$(gnu.targets.arm.M4F) \
    MSP432HEADERS=$(MSP432HEADERS)
endif

export XDCARGS

#
# Set XDCPATH to contain necessary repositories.
#
XDCPATH = $(TIRTOS_INSTALLATION_DIR)/packages;$(BIOS_INSTALLATION_DIR)/packages;$(UIA_INSTALLATION_DIR)/packages;
export XDCPATH

#
# Set XDCOPTIONS.  Use -v for a verbose build.
#
#XDCOPTIONS=v
export XDCOPTIONS

#
# Set XDC executable command
# Note that XDCBUILDCFG points to the tirtos.bld file which uses
# the arguments specified by XDCARGS
#
XDC = $(XDCTOOLS_INSTALLATION_DIR)/xdc XDCARGS="$(XDCARGS)" XDCBUILDCFG=./tirtos.bld
XS = $(XDCTOOLS_INSTALLATION_DIR)/xs

#######################################################
## Shouldn't have to modify anything below this line ##
#######################################################

I have not changed enything here.

I don't know what I am missing here. Do you have any suggestions?

Thanks in advance

  • David,
    you are trying to use a gcc compiler with an MSP430 target. That combination does not seem to be supported in SYS/BIOS 6.42.03.35 - downloads.ti.com/.../devices.html. The right side of the table shows that only Arm targets have a corresponding gcc compiler supported. The empty RTOS example does not use TI-RTOS or SYS/BIOS, and that why it compiles without errors.
    For MSP430 targets, you have to use TI compilers.
  • Hello David,

    TI-RTOS for MSP43x does not support any GCC compilers for MSP430. Only the TI and IAR compilers are supported for MSP430. For the MSP432, TI, GCC and IAR are supported. Please refer to the release notes in the "Target and Compiler Support" and "Validation Information" sections for more details about exact versions used were used to build and test with.

    Todd