Disable NTAG in router application JN-AN-1217

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Disable NTAG in router application JN-AN-1217

Jump to solution
1,474 Views
jonw1
Contributor II

I am setting the following in the Router application Makefile 
APP_NTAG_ICODE ?= 0

APP_NTAG_AES ?= 0

I am still getting undefined references when attempting to build. What am I missing here?

```
ccHTwPbi.ltrans0.o:(.text+0x1e0): undefined reference to `APP_cbNtagTimer'
ccHTwPbi.ltrans0.o:(.text+0x1401): undefined reference to `APP_bNtagPdmLoad'
ccHTwPbi.ltrans0.o:(.text+0x1401): relocation truncated to fit: R_BA_18_PCREL against undefined symbol `APP_bNtagPdmLoad'
ccHTwPbi.ltrans0.o:(.text+0x14a5): undefined reference to `APP_vNtagStart'
ccHTwPbi.ltrans0.o:(.text+0x14a5): relocation truncated to fit: R_BA_18_PCREL against undefined symbol `APP_vNtagStart'
C:\Users\jonw\AppData\Local\Temp\ccHTwPbi.ltrans26.ltrans.o: In function `bdb_taskBDB':
ccHTwPbi.ltrans26.o:(.text+0xaea): undefined reference to `BDB_vOutOfBandCommissionHandleEvent'
ccHTwPbi.ltrans26.o:(.text+0xaea): relocation truncated to fit: R_BA_18_PCREL against undefined symbol `BDB_vOutOfBandCommissionHandleEvent'
C:\Users\jonw\AppData\Local\Temp\ccHTwPbi.ltrans30.ltrans.o: In function `APP_vBdbCallback':
ccHTwPbi.ltrans30.o:(.text+0x87): undefined reference to `APP_vNtagStart'
ccHTwPbi.ltrans30.o:(.text+0x87): relocation truncated to fit: R_BA_18_PCREL against undefined symbol `APP_vNtagStart'
collect2.exe: error: ld returned 1 exit status
make: *** [/c/NXP/bstudio_nxp/workspace/JN-AN-1217-Zigbee-3-0-Base-Device/Router/Build/Router_JN5169_DR1175.elf] Error 1
```

1 Solution
1,362 Views
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Jonathan, I hope you're doing well!

 

I changed the definitions in the make file like so:

 

# NFC NTAG ICODE (new) functionality
APP_NTAG_ICODE ?= 0
ifeq ($(APP_NTAG_ICODE), 1)
CFLAGS  += -DAPP_NTAG_ICODE
endif
 
# NFC NTAG AES (old) functionality
APP_NTAG_AES ?= 0
ifeq ($(APP_NTAG_AES), 1)
CFLAGS  += -DAPP_NTAG_AES
endif‍‍‍‍‍‍‍‍‍‍‍

 

Did a cleanup of the project and was able to build the project for the router successfully.

 

I'm using version 1005 (14-Apr-2016 release) of the JN-AN-1217 to run the test.

 

Could you please try that?

 

Please let me know if you keep having issues.

 

Best regards,

Sebastian

View solution in original post

2 Replies
1,363 Views
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Jonathan, I hope you're doing well!

 

I changed the definitions in the make file like so:

 

# NFC NTAG ICODE (new) functionality
APP_NTAG_ICODE ?= 0
ifeq ($(APP_NTAG_ICODE), 1)
CFLAGS  += -DAPP_NTAG_ICODE
endif
 
# NFC NTAG AES (old) functionality
APP_NTAG_AES ?= 0
ifeq ($(APP_NTAG_AES), 1)
CFLAGS  += -DAPP_NTAG_AES
endif‍‍‍‍‍‍‍‍‍‍‍

 

Did a cleanup of the project and was able to build the project for the router successfully.

 

I'm using version 1005 (14-Apr-2016 release) of the JN-AN-1217 to run the test.

 

Could you please try that?

 

Please let me know if you keep having issues.

 

Best regards,

Sebastian

1,362 Views
jonw1
Contributor II

I cleaned the project and then it built. Thanks for your response.

0 Kudos
Reply