Вопрос снимаю. Щелкнув правой мышиной кнопкой название проекта в нижней строке выпавшего меню нашёл Properties, выбрал вкладку C/C++ Build и убрал строку
'c:/CCEssentials/eclipse/workspace/my1stprj'
Оставил лишь две строки -
"C:\CCEssentials\cgtools\include\lnk_msp430f427.cmd"
"rts430.lib"
Ошибка can't find input file исчезла, но появилась другая.
**** Full rebuild of configuration Debug for project VlduAtt0 ****
"c:\CCEssentials\cgtools\bin\gmake.exe" clean all
"c:\CCEssentials\utils\rm.exe" -rf fet410_1.obj fet410_1.pp VlduAtt0.out
'Building file: ../fet410_1.c'
"c:\CCEssentials\cgtools\bin\cl430.exe" --include_path="c:\CCEssentials\cgtools\include" --symdebug:dwarf ../fet410_1.c
'Finished building: ../fet410_1.c'
' '
'Building target: VlduAtt0.out'
"c:\CCEssentials\cgtools\bin\cl430.exe" -z --rom_model --heap_size=80 --search_path="c:\CCEssentials\cgtools\lib" --search_path="c:\CCEssentials\cgtools\include" --stack_size=80 --warn_sections --output_fileVlduAtt0.out fet410_1.obj -l="C:\CCEssentials\cgtools\include\lnk_msp430f427.cmd" -l="rts430.lib" 1<&2
<Linking>
undefined first referenced
symbol in file
--------- ----------------
P5DIR fet410_1.obj
P5OUT fet410_1.obj
>> error: symbol referencing errors - 'VlduAtt0.out' not built
>> Compilation failure
c:\CCEssentials\cgtools\bin\gmake.exe: *** [VlduAtt0.out] Error 1
Build finished for project VlduAtt0.
Please check the Problems window for a complete list of compilation errors and warnings.
See the window you are reading now for linker errors.
Предполагаю, что значения P5DIR и P5OUT, заданные в заголовочном файле, неправильно считываются, подскажите, пожалуйста, как их правильно считать?
Привожу текст демо-примера
Код
//******************************************************************************
// MSP-FET430P410 Demo - Software Toggle P5.1
//
// Description; Toggle P5.1 by xor'ing P5.1 inside of a software loop.
// ACLK = n/a, MCLK = SMCLK = default DCO
//
// MSP430F413
// -----------------
// /|\| XIN|-
// | | |
// --|RST XOUT|-
// | |
// | P5.1|-->LED
//
// M. Buccini
// Texas Instruments, Inc
// September 2004
// Built with CCE for MSP430 Version: 1.00
//******************************************************************************
#include "msp430x41x.h"
void main(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer
P5DIR |= 0x02; // Set P5.1 to output direction
for (;;)
{
volatile unsigned int i;
P5OUT ^= 0x02; // Toggle P5.1 using exclusive-OR
i = 50000; // Delay
do (i--);
while (i != 0);
}
}