在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
|