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.

Compile/Build issue for CC2531 ZLL Zlight2 IAR from SampleLight Project

Other Parts Discussed in Thread: CC2531, Z-STACK

Hi,

I am getting the below error when I am trying to build the "SampleLight" Project for ZLL Zlight2 for CC2531 Evaluation Kit:

Error[e46]: Undefined external "?V1" referred in AF ( C:\Texas Instruments\Z-Stack Lighting 1.0.2\Projects\zstack\ZLL\SampleApp\CC253x\EndDeviceEB\Obj\AF.r51

My IAR Details are:

IAR Assembler for 8051
8.30.1.41636 (8.30.1.41636)

IAR C/C++ Compiler for 8051
8.30.1.41636 (8.30.1.41636)

Can you please let me know if I am missing anything.

By searching online, I got the below link:
www.deyisupport.com/.../124362.aspx

It has a chipcon_cstartup.s51 file, which it asks to replace with the existing chipcon_cstartup.s51 file.

I tried to diff and I saw that the new file has 8 Virtual Registers mentioned. So is it safe to replace the above mentioned file ?

I replaced the above file, and changed the "Number of Virtual Registers" to "8". The code got compiled, but I need some confirmation before I flash the code in the Light2 HW.

Awaiting your reply.

Thanks,
Sunny