[riot-notifications] [RIOT-OS/RIOT] boards/kw41z: phynode-kw41z now also use the kw41z common Makefile.include (#11618)

Alexandre Abadie notifications at github.com
Mon Jun 3 13:13:19 CEST 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

fixes #11616

In #11044 the phynode-kw41z was not updated to make use the common kw41z Makefile.include because it was not sharing the same debug adapter (dap instead of jlink) and not using the same `board_init` function (in board.c).

After #11616 was opened, I thought it would make more sense to explicitly move the `USEMODULE += boards_common_kw41z` in the boards that use it instead of using it by default in the common part. This simplify reuse of the common Makefile.include.

Now `phynode-kw41z` also uses the common Makefile.include and still doesn't depend on `boards_common_kw41z` since it provides its own `board_init` function.

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

Normally, we should test that flashing still works on `phynode-kw41z` boards.
For the rest, a green Murdock should be ok.

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

fixes #11616, follow-up of #11044 

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

-- Commit Summary --

  * boards/kw41z: move boards common kw41z to specific boards
  * boards/phynode-kw41z: use common kw41z board configuration

-- File Changes --

    M boards/common/kw41z/Makefile.include (1)
    M boards/frdm-kw41z/Makefile.include (3)
    M boards/phynode-kw41z/Makefile.include (11)
    M boards/usb-kw41z/Makefile.include (3)

-- Patch Links --

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


More information about the notifications mailing list