[riot-notifications] [RIOT-OS/RIOT] Conflict between nimble and uwb-core packages (#15528)

Roudy Dagher notifications at github.com
Mon Nov 30 17:39:44 CET 2020


<!--
====================================
IF YOUR ISSUE IS RELATED TO SECURITY
====================================
please submit it to the security mailing-list security at riot-os.org.

If your issue is a question related to the usage of RIOT, please submit it to
the user mailing-list users at riot-os.org or to the developer mailing-list
devel at riot-os.org.
-->


#### Description
<!--
Example: Cannot build gnrc_networking application for samr21-xpro board.
-->
Conflicting headers between nimble and uwb-core packages, typically:
- `hal/hal_timer.h`: the `hal_timer`struct
- `syscfg/sys_cfg.h`: macros definitions such as `MYNEWT_VAL_UWB_DEV_TASK_STACK_SZ` et `MYNEWT_VAL_UWB_RNG_JSON_BUFSIZE`

Such conflict prevents the development of apps depending on both packages. 
[twr_aloha-build-output.txt](https://github.com/RIOT-OS/RIOT/files/5617245/twr_aloha-build-output.txt)
That's how I fell into this bug BTW.

#### Steps to reproduce the issue
<!--
Try to describe as precisely as possible here the steps required to reproduce
the issue. Here you can also describe your hardware configuration, the network
setup, etc.
-->
1. Activate the [autoadv](https://github.com/RIOT-OS/RIOT/tree/master/pkg/nimble/autoadv) module in the [twr_aloha](https://github.com/RIOT-OS/RIOT/tree/master/examples/twr_aloha) app by adding the following line in the app's [Makefile](https://github.com/RIOT-OS/RIOT/blob/master/examples/twr_aloha/Makefile):
```shell
USEMODULE += nimble_autoadv
```
2. Build the app
```shell
$ make
```

#### Expected results
<!--
Example: The gnrc_networking application builds on samr21-xpro.
-->
Successful build and BLE advertisement whilst testing the ranging application via the shell.

#### Actual results
<!--
Please paste or specifically describe the actual output.
-->
Build failure. Build log attached.

#### Versions
<!--
Operating system: Mac OSX, Linux, Vagrant VM
Build environment: GCC, CLang versions (you can run the following command from
the RIOT base directory: make print-versions).
-->
- Build env: latest docker image [riot/ruitbuild]()
- Riot version:
```shell
$ git branch --verbose
* master 3234b918e Merge pull request #15520 from benpicco/cpu/stm32-eth_register
```
- Host info:
```shell
$ docker --version       
Docker version 19.03.13, build 4484c46d9d
$ uname -a
Darwin MacBook-Pro.local 19.6.0 Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64 x86_64
```


<!-- Thanks for contributing! -->


-- 
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/issues/15528
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201130/d00ae246/attachment.htm>


More information about the notifications mailing list