This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Zigbee light_switch example for pca10059

Hi. I've bought myself two Nrf52840 dongles. And I want to develop a zigbee network. When I tried to flash a light_switch example to one of my dongles I found out that there is no pca10059 folder. So I copied one from a light_bulb example, added  

CFLAGS += -DZB_ED_ROLE
 and 
ASMFLAGS += -DZB_ED_ROLE
  to the Makefile and hoped it would compile. But I get an error

 main.c:610: undefined reference to `since_you_got_that_symbol_unresolved_you_probably_use_ZB_ED_ROLE_preprocessor_define_while_linking_with_zc_library'

Main.c:610 is 

ZB_INIT("light_switch");

Every kind of help would be greatly appreciated.

Related