Sensor Demo's link error under ZStack-CC2530-2.4.0-1.4.0

來自:http://blog.sina.com.cn/weidebao1985


I. Installation & Setup  in "CC2530ZDK Sensor Demo User’s Guide"

1. Install Z-Stack™ 2.3.1 for CC2530. 
    It is recommended to download and install the newest version of swrc126.zip (56.9MB) as it contains the ZStack-CC2530-2.3.1-1.4.0.exe (the "full" CC2530 Z-stack v.2.3.1 & Application Examples v.1.4.0), which gives you additional application examples to work with.

the download kitwebsite is: http://focus.ti.com.cn/cn/docs/toolsw/folders/print/z-stack.html
2. Install IAR Embedded Workbench for 8051.

    Please consult Z-Stack’s release notes to see which version of IAR to use.  (More info about IAR EW 8051 is found on IAR’s websites www.iar.com/ew8051). 
3. Download the CC2530 Sensor Demo zip file  (SWRC147B.zip)

    The download kitwebsite is: “http://focus.ti.com/docs/toolsw/folders/print/cc2530zdk.html ”

and the zip as shown in below image:

Sensor <wbr>Demo's <wbr>link <wbr>error <wbr>under <wbr>ZStack-CC2530-2.4.0-1.4.0

    Unzip this file into the following directory of the Z-Stack installation: ..\Projects\zstack\Samples\Projects\zstack\Samples
    If Z-Stack was installed on the default path, the folder to copy the files into will be:
C:\Texas Instruments\ZStack-CC2530-2.3.1-1.4.0\Projects\zstack\Samples

II. Problems of need to say:

1、IAR ew8051 v7.51 or above;

2、the Stack is ZStack-CC2530-2.4.0-1.4.0;

2、When I try to build the project I get the following linker error :

Sensor <wbr>Demo's <wbr>link <wbr>error <wbr>under <wbr>ZStack-CC2530-2.4.0-1.4.0


III. Method to resolve:

1、You just need to add a new file to the project. In the OSAL group of files, addOSAL_Math.s51. You'll find this file here: C:\Texas Instruments\ZStack-CC2530-2.4.0-1.4.0\Components\osal\mcu\cc2530.

Sensor <wbr>Demo's <wbr>link <wbr>error <wbr>under <wbr>ZStack-CC2530-2.4.0-1.4.0


2、Rebuild the project and you should not get any errors.

 

注:本文是作者原創,轉載須保證文章的完整性並標明出處(http://blog.sina.com.cn/weidebao1985)。尊重作者,支持原創!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章