[riot-notifications] [RIOT-OS/RIOT] cpu/kinetis: features provided not properly defined according to series (#11423)

Francisco notifications at github.com
Fri Apr 19 12:11:05 CEST 2019


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

Since in base Makefile.include, Makefile.fatures for a BOARD is included after `$(RIOTCPU)/$(CPU)/Makefile.include` there is not definition of KINETIS_SERIES when calling this statement

https://github.com/RIOT-OS/RIOT/blob/9a6473104d27e050a5e9318d58dc92bb55c4f268/cpu/kinetis/Makefile.features#L5-L9

Therefore the statement has not effect and the FEATURE_PROVIDED is allways periph_mcg.

#### 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.
-->

Add `$(info Kinetis series: $(KINETIS_SERIES))` just before the above statement and call the below statement for any Kinetis board.

`make -C examples/hello-world/ BOARD=pba-d-01-kw2x`

#### Expected results
<!--
Example: The gnrc_networking application builds on samr21-xpro.
-->

See in terminal:
```

make: Entering directory '/home/francisco/workspace/RIOT/examples/hello-world'
Kinetis series: W
Building application "hello-world" for "pba-d-01-kw2x" with MCU "kinetis".
```

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

```
make: Entering directory '/home/francisco/workspace/RIOT/examples/hello-world'
Kinetis series:
Building application "hello-world" for "pba-d-01-kw2x" with MCU "kinetis".
```

#### Versions
<!--
Operating system: Mac OSX, Linux, Vagrant VM
Build environment: GCC, CLang versions (you can run the following command from
the RIOT base directory: ./dist/tools/ci/print_toolchain_versions.sh).
-->

<!-- 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/11423
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190419/d036801e/attachment.html>


More information about the notifications mailing list