[riot-notifications] [RIOT-OS/RIOT] {dev, net}/ieee802154_*: add initial Kconfig modeling (#16842)

José Alamos notifications at github.com
Mon Sep 13 17:16:25 CEST 2021


<!--
The RIOT community cares a lot about code quality.
Therefore, before describing what your contribution is about, we would like
you to make sure that your modifications are compliant with the RIOT
coding conventions, see https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions.
-->

### Contribution description
This PR add the initial Kconfig modeling for the lower layers of IEEE 802.15.4. This includes:
- Adding feature symbols to indicate presence of Radio HAL or Netdev Driver based driver.
- Modeling of SubMAC and `netdev_ieee802154_submac`
- Adding `tests/ieee802154_submac` to the list of Kconfig test executed by Murdock

This PR also refactors the IEEE 802.15.4 menu, because `MODULE_IEEE802154` just provides helper functions for processing IEEE 802.15.4 frames. Last but not least, it removes unused configurations in ` nrf802154`.

<!--
Put here the description of your contribution:
- describe which part(s) of RIOT is (are) involved
- if it's a bug fix, describe the bug that it solves and how it is solved
- you can also give more information to reviewers about how to test your changes
-->


### Testing procedure
Murdock should be enough I guess.

<!--
Details steps to test your contribution:
- which test/example to compile for which board and is there a 'test' command
- how to know that it was not working/available in master
- the expected success test output
-->


### Issues/PRs references
Depends on #16837
<!--
Examples: Fixes #1234. See also #5678. Depends on PR #9876.

Please use keywords (e.g., fixes, resolve) with the links to the issues you
resolved, this way they will be automatically closed when your pull request
is merged. See https://help.github.com/articles/closing-issues-using-keywords/.
-->

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

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

-- Commit Summary --

  * tests/mtd_daw: add Kconfig
  * drivers/mtd: fix Kconfig dependencies
  * fixup! tests/mtd_daw: add Kconfig
  * fixup! drivers/mtd: fix Kconfig dependencies
  * squash! tests/mtd_daw: add Kconfig
  * cpu/nrf52: initial kconfig modeling (no netif)
  * boards/nrf52840dk: initial Kconfig modeling
  * boards/dwm1001: initial Kconfig modeling
  * .murdock: add dwm1001, nrf52840 to Kconfig test
  * ieee802154/submac: add missing dependency to random
  * tests/ieee802154_submac: remove netdev dependency
  * drivers/Kconfig.net: add initial Kconfig modeling
  * link_layer/ieee802154_*: refactor Kconfig modeling
  * nrf52/radio: remove unused configuration
  * nrf52/radio/Kconfig: select radio if MODULE_NETDEV_DEFAULT
  * nrf52/radio: select radio HAL
  * cc2538/radio: select radio HAL
  * .murdock: add tests/ieee802154_submac to Kconfig tests

-- File Changes --

    M .murdock (5)
    M boards/common/nrf52/Kconfig (28)
    M boards/common/nrf52xxxdk/Kconfig (11)
    M boards/dwm1001/Kconfig (6)
    M boards/nrf52840dk/Kconfig (6)
    M cpu/cc2538/radio/Kconfig (1)
    M cpu/native/Kconfig (1)
    M cpu/native/mtd/Kconfig (8)
    M cpu/nrf52/Kconfig (7)
    A cpu/nrf52/periph/Kconfig (19)
    M cpu/nrf52/radio/nrf802154/Kconfig (27)
    R cpu/nrf52/vectors/Kconfig (10)
    M cpu/nrf5x_common/Kconfig (11)
    A cpu/nrf5x_common/periph/Kconfig.nrf5x (26)
    A cpu/nrf5x_common/radio/Kconfig.nrf5x (16)
    M drivers/Kconfig (3)
    M drivers/Kconfig.net (32)
    M drivers/at24cxxx/Kconfig (2)
    D drivers/at24cxxx/mtd/Kconfig (13)
    M drivers/at25xxx/Kconfig (2)
    D drivers/at25xxx/mtd/Kconfig (12)
    M drivers/mtd/Kconfig (44)
    D drivers/mtd_flashpage/Kconfig (17)
    M drivers/mtd_sdcard/Kconfig (7)
    D drivers/mtd_spi_nor/Kconfig (13)
    M sys/Makefile.dep (1)
    M sys/net/link_layer/ieee802154/Kconfig (24)
    M tests/ieee802154_submac/Makefile (6)
    M tests/ieee802154_submac/main.c (495)
    M tests/mtd_flashpage/app.config.test (1)
    A tests/mtd_raw/app.config.test (7)

-- Patch Links --

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


More information about the notifications mailing list