pkg/mynewt-core: fix timer configuration for nrf51 - #18136
Conversation
|
Does this depend on #18029? |
|
@haukepetersen can you squash out the commits from #18029, a5ba99d seems to fix the issue in master on its own:
|
|
#18029 is squashed and ready. Once merged this PR should be more straight forward to cope with :-) |
a5ba99d to
1198efd
Compare
|
rabased this PR on the current state of #18029. A quick test using the Can you reproduce this? |
|
Same goes for the heart-rate sensor example ( |
|
@haukepetersen thanks for squashing but I meant leaving only 1198efd in this PR, since that fixes |
1198efd to
cd332d6
Compare
|
removed all dependencies to #18029 - so the |
fjmolinas
left a comment
There was a problem hiding this comment.
ACK! Thanks for this fix!
|
You're welcome :-) |
|
Not sure but this might need a rebase for the python issue... |
|
rebased |
cd332d6 to
39085c7
Compare
Contribution description
While testing #18029 it turned out, that doing a combined build using NimBLE and mynewt-core did not run on nrf51 boards, due to a failed assertion caused by faulty timer configuration for the nrf51.
This PR fixes that configuration, so that the hal_timer is initialized properly for the
nrf51now.However: I can still get not get RIOT+NimBLE+mynewt-core properly running on a
nrf51board, there seem to be additional issues with the RNG setup. When running thenimble_scannerexample using both NimBLE and mynewt-core (USEPKG=mynewt-core BOARD=airfy-beacon make), I get:Can't really see what exactly is failing here, I guess we need to keep looking :-)
Testing procedure
Run any nimble example (e.g.
/examples/nimble_scanner) on anrf512-based board while enabling themynewt-corepackage -> ``USEPKG=mynewt-core`. Once anything is sorted out, the examples should behave as expected without any runtime failures :-)Issues/PRs references
follow up on #18029,
also rebased on #18029