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.
Hi,
I am trying to send 4 bit data through 433MHZ RF. My code will transmit 0x0A if switch1 is pressed and 0x0F if switch2 is pressed.
But i am getting compilation failure and error as "error #10234-D: unresolved symbols remain".
I am using CCS 6.1.1
My code is as follows
**** Build of configuration Debug for project msp_rf_tx ****
"C:\\TI\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../msp_rf_tx.c'
'Invoking: MSP430 Compiler'
"C:/TI/ccsv6/tools/compiler/ti-cgt-msp430_4.4.5/bin/cl430" -vmsp --abi=eabi --use_hw_mpy=none --include_path="C:/TI/ccsv6/ccs_base/msp430/include" --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-msp430_4.4.5/include" --advice:power=all -g --define=__MSP430G2553__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal --preproc_with_compile --preproc_dependency="msp_rf_tx.pp" "../msp_rf_tx.c"
"../msp_rf_tx.c", line 57: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
"../msp_rf_tx.c", line 63: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
"../msp_rf_tx.c", line 96: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
'Finished building: ../msp_rf_tx.c'
' '
'Building target: msp_rf_tx.out'
'Invoking: MSP430 Linker'
"C:/TI/ccsv6/tools/compiler/ti-cgt-msp430_4.4.5/bin/cl430" -vmsp --abi=eabi --use_hw_mpy=none --advice:power=all -g --define=__MSP430G2553__ --diag_warning=225 --diag_wrap=off --display_error_number --printf_support=minimal -z -m"msp_rf_tx.map" --heap_size=80 --stack_size=80 -i"C:/TI/ccsv6/ccs_base/msp430/include" -i"C:/TI/ccsv6/tools/compiler/ti-cgt-msp430_4.4.5/lib" -i"C:/TI/ccsv6/tools/compiler/ti-cgt-msp430_4.4.5/include" --reread_libs --warn_sections --diag_wrap=off --display_error_number --xml_link_info="msp_rf_tx_linkInfo.xml" --use_hw_mpy=none --rom_model -o "msp_rf_tx.out" "./msp_rf_tx.obj" "../lnk_msp430g2553.cmd" -l"libc.a"
<Linking>
remark #10371-D: (ULP 1.1) Detected no uses of low power mode state changing instructions
remark #10372-D: (ULP 4.1) Detected uninitialized Port 3 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
undefined first referenced
symbol in file
--------- ----------------
ConfigPins ./msp_rf_tx.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "msp_rf_tx.out" not built
>> Compilation failure
gmake: *** [msp_rf_tx.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
The function main calls ...
AMIT said:ConfigPins(); // Configure I/O pins
Later on your code defines this function ...
AMIT said:void configPins(void)
Those are not the same function. The first letter is different case. The linker complains that your code calls ConfigPins, but there is no function by that name.
Thanks and regards,
-George