1. Open `Z-Stack Home 1.2.2a.44539\Projects\zstack\ZNP\CC253x\znp.eww` with IAR Embedded workbench for 8051.
2. You will get a warning: *The project file 'CC253(0/1).ewp' is in an old format. Would you like to convert it for use with this version?*. Press **yes** for both.
3. In the dropdown, set target to *CC2531 - ProdHex*.
![Target](images/target.png)
4. Right-click on *CC2531 - ProdHex** and press options. Go to C/C++ compiler, preprocessor and in *Defined symbols* change `xTC_LINKKEY_JOIN` to `TC_LINKKEY_JOIN`. Press OK.
![Symbols](images/symbols.png)
5. Open *CC2531 - ProdHex** -> `NWK/nwk_globals.h` and change: