I would like to create a couple of custom bsps for boards which are
identical to nrf51dk but a few small tweaks (e.g. led pin, flash area
layout).

>From the docs, I gather that copying hw/bsp/nrf51dk and patching bsp.h and
os_bsp.c would do the trick, and it seems that's how mynewt itself handles
this. However, I'd really prefer not to, so I can keep up with upstream and
avoid duplicating fixes in multiple places (like
https://github.com/apache/incubator-mynewt-core/commit/c70353c193bf3e91a095cfc5076ac578f8e1bc69).


Any suggestions on how to best layer my tweaks on top of an existing bsp?
Can I abuse the deps system somehow?

Simon.

Reply via email to