[riot-notifications] [RIOT-OS/RIOT] pkg/uwb*: add Kconfig dependency modelling (#16780)

Francisco notifications at github.com
Fri Aug 27 10:12:32 CEST 2021


### Contribution description

This PR models dependency in Kconfig related to uwb-core/uwb-dw1000 package, since this runs only on `dwm1001` so far this PR goes throgh modelling dependencies for:

- `mynewt-core`
- `uwb-core`
- `uwb-dw1000`
- `nrf52` (excluding netif related dependencies)

FEEDBACK wanted:

- I abused `select`  for the packages, I think its fine since those titely coupled
- the sema case its not too clear, there is no clear dependency in the current modeling, but the code would have an issue if neither `xtimer` or `ztimer` are included, should I leave it as is? Maybe add a comment?
- not sure if everything is in place for murdock to kconfig test....

### Testing procedure

Binaries are the same:

- kconfig

```
   text	   data	    bss	    dec	    hex	filename
  50688	    776	   8552	  60016	   ea70	/home/francisco/workspace/RIOT/examples/twr_aloha/bin/dwm1001/twr-aloha.elf
```

- make:

```
   text	   data	    bss	    dec	    hex	filename
  50688	    776	   8552	  60016	   ea70	/home/francisco/workspace/RIOT/examples/twr_aloha/bin/dwm1001/twr-aloha.elf
```

### Issues/PRs references

Depends on #16719 (for the DEVELHELP commit)

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

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

-- Commit Summary --

  * cpu/cortexm: Use DEVELHELP to add stack guard
  * pkg/mynewt-core: use irq_is_enabled()
  * sys/sema/Kconfig: fix inclusion of xtimer
  * pkg/mynewt-core: add Kconfig module dependency
  * pkg/uwb-core: add Kconfig module dependency
  * pkg/uwb-dw1000: add Kconfig module dependency
  * cpu/nrf52: initial Kconfig dependency modelling
  * boards/dwm1001: initial Kconfig modelling
  * examples/twr_aloha: add Kconfig

-- File Changes --

    M .murdock (3)
    M boards/common/nrf52/Kconfig (1)
    M boards/dwm1001/Kconfig (1)
    M cpu/cortexm_common/Kconfig (12)
    M cpu/nrf52/Kconfig (7)
    A cpu/nrf52/periph/Kconfig (24)
    A cpu/nrf52/vectors/Kconfig (10)
    M cpu/nrf5x_common/Kconfig (10)
    A cpu/nrf5x_common/periph/Kconfig.nrf5x (26)
    A examples/twr_aloha/app.config.test (13)
    M makefiles/vars.inc.mk (1)
    M pkg/Kconfig (3)
    A pkg/mynewt-core/Kconfig (34)
    M pkg/mynewt-core/Makefile.dep (11)
    M pkg/mynewt-core/include/os/os.h (2)
    A pkg/uwb-core/Kconfig (76)
    A pkg/uwb-dw1000/Kconfig (26)
    M sys/sema/Kconfig (2)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/16780.patch
https://github.com/RIOT-OS/RIOT/pull/16780.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/16780
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210827/39974e14/attachment.htm>


More information about the notifications mailing list