[riot-notifications] [RIOT-OS/RIOT] pkg/nimble: have RIOT always initialize nimble timers (#16623)

Francisco notifications at github.com
Wed Jul 7 11:32:40 CEST 2021


### Contribution description

This PR implements suggestions in https://github.com/RIOT-OS/RIOT/pull/16348#discussion_r665160617, the upstream PR has been adapted accordingly https://github.com/apache/mynewt-nimble/pull/996. The patch can be removed once that Pr is merged and upstream commit updated.

### Testing procedure

It can be tested with a simple compile test verifying that its not called when using `uwb-core` and that it is when not (e.g.: adding a #error)

- note called ` CFLAGS=-fms-extensions USEPKG="uwb-dw1000 uwb-core" make -C examples/nimble_gatt/ all -j3`

- called ` make -C examples/nimble_gatt/ all -j3`

```
/home/francisco/workspace/RIOT/pkg/nimble/contrib/nimble_riot.c: In function 'nimble_riot_init':
/home/francisco/workspace/RIOT/pkg/nimble/contrib/nimble_riot.c:109:6: error: #error
  109 |     #11852 
```

You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/16623

-- Commit Summary --

  * pkg/nimble: have RIOT always initialize nimble timers

-- File Changes --

    M pkg/nimble/contrib/nimble_riot.c (5)
    M pkg/nimble/patches/0001-porting-nimble-src-nimble_port-riot-initializes-time.patch (8)
    M pkg/nimble/patches/0002-porting-npl-riot-add-namespaced-syscfg-symlink.patch (2)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/16623.patch
https://github.com/RIOT-OS/RIOT/pull/16623.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16623
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210707/6430532a/attachment.htm>


More information about the notifications mailing list