在IAR8.1中,基于CC2530F256芯片對Z-STACK進行builder,如果對IAR環境設置不當會出現:FatalError[e72]: Segment ZIGNV_ADDRESS_SPACE must be defined in asegment definition option (-Z, -b or -P)
解決方法如下:
1、在General options設置:
選Target,在Deviceinformation下的Device選 C:\Program Files\IARSystems\Embedded Workbench 6.0 for 8051Evaluation\8051\config\devices\TexasInstruments 下的:CC2530F256.i51
2、Linker設置
1)選config頁面,在link configuration file下選擇上override default選項,點擊選擇上f8w2530.xcl文件(缺省),即:
C:\cc2530_example\link_long_slice_cc2530\20131205\cord\ZStack-CC2530-2.3.0-1.4.0\Projects\zstack\Tools\CC2530DB\f8w2530.xcl
2)在output頁面 在output file選擇上選項overridedefault,并填寫修改為:coord.hex文件 3、Debug設置
Setup頁面,Driver下選擇Texas Instruments
|