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

How to add custom button using BSP?

Hello,

How to ass custom button using BSP? In the default setting, there are only 4 buttons. But my custom board has more than 4 buttons. How to add more button using BSP?? I increase "BUTTONS_NUMBER" and corresponding other values also, like BUTTON_x, BSP_BUTTON_x... But think I've done right, But I got error(NRF_ERROR_INVALID_STATE) from "bsp_init".

Do I have to modify other file also?? Or there is some limit of the number of buttons. Thank you.

Related