This commit is contained in:
Koenkk 2018-06-20 21:51:41 +02:00
parent 3ead212f49
commit efb43525d5
2 changed files with 11578 additions and 11588 deletions

View File

@ -3,28 +3,18 @@
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:
```c
#define NWK_MAX_DEVICE_LIST 20
4. Right-click on *CC2531 - ProdHex** and press options. Go to C/C++ compiler -> preprocessor. Change the *Defined symbols* to:
```
to
```c
#define NWK_MAX_DEVICE_LIST 25
```
6. Open *CC2531 - ProdHex** -> `ZMain/OnBoard.h` and change:
```c
#if defined TC_LINKKEY_JOIN
#define MAXMEMHEAP 2170
#else
```
to
```c
#if defined TC_LINKKEY_JOIN
#define MAXMEMHEAP 2827
#else
CC2531ZNP
ASSERT_RESET
FAKE_CRC_SHDW
TC_LINKKEY_JOIN
SECURE=1
NWK_MAX_DEVICE_LIST=0
MAXMEMHEAP=3500
INTER_PAN
```
6. Press OK.
7. Right-click on *CC2531 - ProdHex** and click *Rebuild all*.
8. Once finished, you can find the `CC2531ZNP-Prod.hex` file in `Z-Stack Home 1.2.2a.44539\Projects\zstack\ZNP\CC253x\dev`.

File diff suppressed because it is too large Load Diff