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.

cc2530调用zstack 2.5.0中HalUARTClose()函数问题

Other Parts Discussed in Thread: Z-STACK, CC2530

hal_uart.h文件中有对HalUART函数的声明

hal_uart.c文件中有对HalUART函数的定义

但是我只有在hal_uart.h文件中发现函数HalUARTClose()的声明

在hal_uart.c文件中没有找到函数定义

现在调用函数时提示

Error[e46]: Undefined external "HalUARTClose::?relay" referred in XXXX ( X:\Texas Instruments\ZStack-CC2530-2.5.0\Projects\zstack\Samples\XXXXX\CC2530DB\CoordinatorEB\Obj\UartData.r51 )
Error while running Linker
 
Total number of errors: 1
Total number of warnings: 0

请问这个问题如何解决?

是否要引用其它头文件或者库文件?