I just installed the new JN-SW-4170.v.1745 package and then I tried to compile my project before starting any code adjustment. It seems that the ZPSConfig tool has an internal error:
Building numbered PDM IDs version ...
JENNIC_MAC is Mini MAC shim
JENNIC_MAC_PLATFORM is SOC
Cleaning previous compilation
Assembling irq_JN516x.S
Assembling portasm_JN516x.S
Compiling port_JN516x.c
Configuring the PDUM
PDUMConfig - PDU Manager Configuration Tool v1.1.0 Build 90693
Done.
Compiling pdum_gen.c
Assembling pdum_apdu.S
Configuring the Zigbee Protocol Stack
ZPSConfig - Zigbee Protocol Stack Configuration Tool v1.3.0 Build 91152M
Traceback (most recent call last):
File "ZPSConfig.py", line 2897, in <module>
File "ZPSConfig.py", line 1868, in outputC
UnboundLocalError: local variable 'tempinterface' referenced before assignment
make: *** [../../WIED_R_Router/Source/zps_gen.c] Error 255
Has anyone ever seen that error message?
Does it have to do with the new MacInterfaceList reference?
Hello Sir,
I am using AN-1229 ZP_Application_Templates.
I am also facing same problem. some times its work correctly else zps_gen.c files started showing error.
i am getting all the time below errors please help me to make it successfully.
File "ZPSConfig.py", line 2897, in <module>
File "ZPSConfig.py", line 1868, in outputC
I ALSO ATTACHED FILE PLEASE HAVE A LOOK ON IT.
Waiting for your reply.
Thank You
Could you please add this information in a new post so we can track it down as a different issue from the original?
Regards,
Estephania
Hi,
I am also facing this same issue while compiling JNAN-1220. Can you please provide the details about how did you resolve this issue?. I tried to search the MacInterfaceList as suggested but it was inside some node and java files.
Confirmed: if there is no MacInterface defined inside the MacInterfaceList entry, the program will issue that error and crash(?!?).
It could be a little bit more user friendly and give a warning or an error message saying what is missing.
Case solved.