Hi all,
I have a custom board with 3 LED's and one button. I have created a custom_board.h file:
#define LEDS_NUMBER 3
#define LED_START 22
#define LED_1 22
#define LED_2 23
#define LED_3 24
#define LED_STOP 24
#define LEDS_ACTIVE_STATE 0
#define LEDS_INV_MASK LEDS_MASK
#define LEDS_LIST { LED_1, LED_2, LED_3 }
#define BSP_LED_0 LED_1
#define BSP_LED_1 LED_2
#define BSP_LED_2 LED_3
#define BUTTONS_NUMBER 1
#define BUTTON_START 16
#define BUTTON_1 16
#define BUTTON_STOP 16
I am facing two problems:
-
I would like to avoid the LED_1 flashes on advertising (to save some battery power)
-
When the board enters in DFU mode LED_1 and LED_3 stay off instead of turning on like they do on the DK52
How can I fix these two issue?
Thanks