Tool/software: Code Composer Studio
Hi, I'm having problem with #10010 error and #10234-D error
I used UART code in one project and it worked very well.
I copied the code and pasted the code to another project.
Then errors came up!
I added interrupt handler in startup_css.c file, also added uartstdio header/souce file in this project.
I don't think that code is the problem, but I posted the code below.
#include <stdint.h>
#include <stdbool.h>
#include "inc/hw_memmap.h"
#include "inc/hw_types.h"
#include "inc/hw_ints.h"
#include "driverlib/gpio.h"
#include "driverlib/interrupt.h"
#include "driverlib/pin_map.h"
#include "driverlib/sysctl.h"
#include "driverlib/uart.h"
#include "utils/uartstdio.h"
int main(void)
{
uint32_t sysClkFreq;
sysClkFreq=SysCtlClockFreq((SYSCTL_XTAL_25MHZ | SYSCTL_OSC_MAIN |
SYSCTL_USE_PLL | SYSCTL_CFG_VCO_480), 120000000);
SysCtlPeripheralEnable(SYSCTL_PERIPH_UART0);
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOA);
GPIOPinConfigure(GPIO_PA0_U0RX);
GPIOPinTypeUART(GPIO_PORTA_BASE, GPIO_PIN_0);
GPIOPinConfigure(GPIO_PA1_U0TX);
GPIOPinTyteUART(GPIO_PORTA_BASE, GPIO_PIN_1);
UARTIntEnable(UART0_BASE, UART_INT_RX | UART_INT_RT);
IntEnagle(INT_UART0);
IntMasterEnable();
UARTStdioConfig(0, 115200, sysClkFreq);
UARTprintf("pleas work!\n");
while(1){
}
return 0;
}
Error codes are like this!
Description Resource Path Location Type
#10010 errors encountered during linking; "lab07_spi_eeprom.out" not built lab07_spi_eeprom C/C++ Problem
<a href="processors.wiki.ti.com/.../10234"> unresolved symbols remain lab07_spi_eeprom C/C++ Problem
gmake: *** [all] Error 2 lab07_spi_eeprom C/C++ Problem
gmake[1]: *** [lab07_spi_eeprom.out] Error 1 lab07_spi_eeprom C/C++ Problem
unresolved symbol GPIOPinConfigure, first referenced in ./main.obj lab07_spi_eeprom C/C++ Problem
unresolved symbol GPIOPinTypeUART, first referenced in ./main.obj lab07_spi_eeprom C/C++ Problem
unresolved symbol GPIOPinTyteUART, first referenced in ./main.obj lab07_spi_eeprom C/C++ Problem
unresolved symbol IntEnagle, first referenced in ./main.obj lab07_spi_eeprom C/C++ Problem
unresolved symbol IntMasterEnable, first referenced in ./main.obj lab07_spi_eeprom C/C++ Problem
unresolved symbol SysCtlClockFreq, first referenced in ./main.obj lab07_spi_eeprom C/C++ Problem
unresolved symbol SysCtlPeripheralEnable, first referenced in ./main.obj lab07_spi_eeprom C/C++ Problem
unresolved symbol SysCtlPeripheralPresent, first referenced in ./uartstdio.obj lab07_spi_eeprom C/C++ Problem
unresolved symbol UART0IntHandler, first referenced in ./tm4c129xnczad_startup_ccs.obj lab07_spi_eeprom C/C++ Problem
unresolved symbol UARTCharGet, first referenced in ./uartstdio.obj lab07_spi_eeprom C/C++ Problem
unresolved symbol UARTCharPut, first referenced in ./uartstdio.obj lab07_spi_eeprom C/C++ Problem
unresolved symbol UARTConfigSetExpClk, first referenced in ./uartstdio.obj lab07_spi_eeprom C/C++ Problem
unresolved symbol UARTEnable, first referenced in ./uartstdio.obj lab07_spi_eeprom C/C++ Problem
unresolved symbol UARTIntEnable, first referenced in ./main.obj lab07_spi_eeprom C/C++ Problem
#112-D statement is unreachable main.c /lab07_spi_eeprom line 44 C/C++ Problem
<a href="processors.wiki.ti.com/.../225"> function "GPIOPinTyteUART" declared implicitly main.c /lab07_spi_eeprom line 29 C/C++ Problem
<a href="processors.wiki.ti.com/.../225"> function "IntEnagle" declared implicitly main.c /lab07_spi_eeprom line 32 C/C++ Problem
<a href="processors.wiki.ti.com/.../225"> function "SysCtlClockFreq" declared implicitly main.c /lab07_spi_eeprom line 19 C/C++ Problem