Dear:
I am using ZStack-CC2530-2.3.1-1.4.0 and Sensor Demo Software, we want to add CC2591 with CC2530, and defined HAL_PA_LNA, build it, but get error information as follow, could you help me how to solve it. urgent, very thanks.
Error[e46]: Undefined external "MAC_RfFrontendSetup::?relay" referred in ZMain ( C:\Texas Instruments\ZStack-CC2530-2.3.1-1.4.0\Projects\zstack\Samples\SensorDemo\CC2530DB\CollectorEB-PRO\Obj\ZMain.r51 )
BestRegard.Yihua
Did it compile fine without defining HAL_PA_LNA?
--Derek
fixituntilitsbroken.blogspot.com
Hi Derek,
Yes, it's complie fine without define HAL_PA_LNA. as follow:
#define xHAL_PA_LNA#define xHAL_PA_LNA_CC2590
if we open the define for HAL_PA_LNA as follow, than get the error meesage:
#define HAL_PA_LNA#define xHAL_PA_LNA#define xHAL_PA_LNA_CC2590
Hi Zhai,
Try with this,
/* ------------------------------------------------------------------------------------------------
* CC2590/CC2591 support
*
* Define HAL_PA_LNA_CC2590 if CC2530+CC2590EM is used
* Define HAL_PA_LNA if CC2530+CC2591EM is used
* Note that only one of them can be defined
* ------------------------------------------------------------------------------------------------
*/
#define HAL_PA_LNA
//#define xHAL_PA_LNA_CC2590
I hope this help you.
Joaquim Martinez.
Hi Martinez,
I try it if define as follow, also have the same error.
//#define xHAL_PA_LNA
I think the problem is not at here, if I use the same define, the will be complier fine at GenericApp, SamleApp, SimpleApp or TIMAC-CC2530, it just can't be complier at SensorDemo, I think the problem will be at SensorDemo.
Could someone can help me, very urgent.
Yihua,
The issue is that the SensorDemo did not include the mac_rffrontend.c. See attached screenshot.
HI,
Yes, Very good, resolved.