In IAR 8.1, the Z-stack is built on the cc2530f256 chip, and if the IAR environment is improperly set, it will appear : Fatal error[e72]: Segment zignv_address_space Must is defined in a Segment definition option (-Z,-b or-p)
Here's how to fix it:
1. In the General Options settings:
Select target, the device selection under Device information
C:\Program Files\iar systems\embedded Workbench 6.0 for 8051 Evaluation\8051\config\devices\texas Instruments
Under: cc2530f256.i51
2. Linker setting
1) Choose Config page, under the link configuration file Select the Override default option, click on select F8w2530.xcl file (default), that is:
C:\cc2530_example\link_long_slice_cc2530\20131205\cord\ZStack-CC2530-2.3.0-1.4.0\Projects\zstack\Tools\ Cc2530db\f8w2530.xcl
2) on the output page
On the output file Select the option override default, and fill in the modified as: Coord.hex file
3. Debug Settings
Setup page, driver select Texas Instruments