Hi
We are using a MSP430F6779 device and CCS6 with the following settings:
TI v4.4.3 Compiler
XDCTools 3.31.0.24
TI-RTOS 2.12.1.33
I had problems using the drivers and found out that I had to build the packagemyself using the 'Creating TI-RTOS Projects for Other MSP430 Devices' Guide. Only to find that the device was not fully supported. Adding MSP430F6779 to MSP430DEVLIST in titros.mak would generate errors on building the files I need. I had to edit the package.bld file as well as this, to pull in the correct files as follows:
I haven't added all the files as I am only using UART at the moment and I am unsure of the correct list of files for my device.
var MSP430ObjList2 = [
"./gpio/GPIOMSP430.c",
"UART.c",
"./uart/UARTEUSCIA.c",
"I2C.c",
"./i2c/I2CEUSCIB.c",
];
I also had to add the following:
if ((MSP430DevList[dev].match(/MSP430F[56][\d\w]*/g)) &&
(MSP430DevList[dev] == "MSP430F6779")) { <- If it is my device
//MSP430ObjList = MSP430GenericObjList.concat(MSP430ObjList);
makeLibs("lib/drivers_" + MSP430DevList[dev], tiTargets,
MSP430ObjList2, copts, MSP430DevList[dev], MSPWareDir, <- Pass my new object list
MSP430Headers);
makeLibs("lib/drivers_" + MSP430DevList[dev], iarTargets,
MSP430ObjList2, copts, MSP430DevList[dev], MSPWareDir,
IAR_MSP430Headers);
}
I started to initialise my UART in the main, only to find that the linker could not see the UART functions, even though I included the header files as instructed by the RTOS manual. The functions I am using and cannot see are:
UART_init,
UART_Params_init
UART_open
I now have included the files directly into my project that are contained in the ../ti/drivers/ folders, UART.h and UARTEUSCIA.h so that they can be seen.
I am now getting the following error:
I'm now starting to think that there is too much hacking and manipulating of files going on, that technically should be pretty much automated when the package is built.
Is there an alternative to the methods I am using to get it to work for MSP430F6779 and please could you help me with why I am now getting this error?
Thanks Again