This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Z-Stack on CC2530. How to change pin assigmnets for LEDs and keys?

Other Parts Discussed in Thread: Z-STACK, CC2530

I used selfmade board with CC2530. Version of Z-Stack - 2.5.1. Work with ported SampleApp and ported HAL for my board (without changes). Porting made with HAL Porting Guide


I tried change pin assigments of LEDs and keys and have problem.

For example, I change in hal_board_cfg.h default HAL_LED_3 defined as

#define LED3_BV           BV(4)
#define LED3_SBIT         P1_4
#define LED3_DDR          P1DIR
#define LED3_POLARITY     ACTIVE_LOW

to

#define LED3_BV           BV(0)
#define LED3_SBIT         P2_0
#define LED3_DDR          P2DIR
#define LED3_POLARITY     ACTIVE_LOW

and it doesn't work - I can't change state of theese LED.(PUSH2_SBIT, whick on default equal to P2_0 is changed)

Because I have a question - how I can and how I have to change pin assigments (LEDs, keys)?