Closed dbrgn closed 4 years ago
Hmm, this will mean that users cannot depend on rubble-nrf5x
without also depending on the HAL. I wonder if that's okay?
Well, the current state is not being able to use rubble-nrf5x
at all, unless depending on the same (default) device variant :wink:
What we could also do is passing through the features:
[features]
xxAA-package = ["nrf52832-hal/xxAA-package"]
xxBB-package = ["nrf52832-hal/xxBB-package"]
...however, that gets messy quickly (especially if the HAL adds more flags). I think the probability of an application that depends on rubble-nrf5x
but not also on the HAL is very low.
Yeah, I think it's a clear improvement.
Thanks!
Otherwise we'll get conflicting memory configs.
Closes #88