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

Board Support Package - best practice ?

Hi,

I need a button and a led for my project. I like the BSP library for all it's power saving features but it looks like it's not flexible. I want a custom event for the release/long press button events but there's no way to add them without modifying the library. Also, it would be great to use a single LED for all the states.

Maybe I'm missing something and the above things are possible without modifying the library which is why I post here. At the moment the only option I see is to fork the library, add the custom events/functionality and then use the forked version. Would this be considered a bad practice?

Gabriel

Parents Reply Children
No Data
Related