[riot-notifications] [RIOT-OS/RIOT] boards/kw41z*: add common configuration and use it with existing kw41z boards (#11044)

Alexandre Abadie notifications at github.com
Thu Feb 21 10:26:51 CET 2019


<!--
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 is factorizing boards configuration of frdm-kw41z, usb-kw41z and phynode-kw41z boards. There are sharing the same clock/uart/spi/i2c configurations so this PR is removing a lot of duplicated code.

<!--
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

frdm-kw41z, usb-kw41z, phynode-kw41z should still work.

<!--
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

Should help with PR adding support of kw41z boards (#10846 for example).

<!--
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/11044

-- Commit Summary --

  * boards/frdm-kw41z: use common configuration
  * boards/common: introduce common code for kw41z boards
  * boards/usb-kw41z: use common configuration
  * boards/phynode-kw41z: use common configuration

-- File Changes --

    A boards/common/kw41z/Makefile (3)
    A boards/common/kw41z/Makefile.dep (6)
    A boards/common/kw41z/Makefile.features (15)
    A boards/common/kw41z/Makefile.include (13)
    R boards/common/kw41z/board.c (15)
    A boards/common/kw41z/include/board_common.h (44)
    A boards/common/kw41z/include/periph_conf_common.h (236)
    A boards/common/kw41z/led_init.c (44)
    M boards/frdm-kw41z/Makefile (2)
    M boards/frdm-kw41z/Makefile.dep (4)
    M boards/frdm-kw41z/Makefile.features (16)
    M boards/frdm-kw41z/Makefile.include (10)
    M boards/frdm-kw41z/include/board.h (6)
    M boards/frdm-kw41z/include/periph_conf.h (203)
    M boards/phynode-kw41z/Makefile.dep (4)
    M boards/phynode-kw41z/Makefile.features (17)
    M boards/phynode-kw41z/Makefile.include (3)
    M boards/phynode-kw41z/include/periph_conf.h (188)
    M boards/usb-kw41z/Makefile (2)
    M boards/usb-kw41z/Makefile.dep (7)
    M boards/usb-kw41z/Makefile.features (16)
    M boards/usb-kw41z/Makefile.include (18)
    D boards/usb-kw41z/board.c (38)
    M boards/usb-kw41z/include/board.h (6)
    M boards/usb-kw41z/include/periph_conf.h (188)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11044.patch
https://github.com/RIOT-OS/RIOT/pull/11044.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/11044
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190221/11d8cdd0/attachment.html>


More information about the notifications mailing list