[riot-notifications] [RIOT-OS/RIOT] kinetis: move filtering-out periph_hwrng in cpu/kinetis (#11479)

Gaƫtan Harter notifications at github.com
Thu May 2 18:38:53 CEST 2019


### Contribution description

This removes doing `filter-out periph_hwrng, $(FEATURES_PROVIDED)`
after processing `cpu/$(CPU)/Makefile.features`.
The current solution is a HACK as `CPU_MODEL` is currently not available
at that moment but will be in the near future.

It will allow always including `cpu/$(CPU)/Makefile.features` after
`boards/$(BOARD)/Makefile.features`.

It is a part of moving `CPU/CPU_MODEL` definitions to `Makefile.features`.

### Testing procedure

For all the modified boards, the provided features are the same as in `master`.
I only checked `examples/hello-world` as it should not change anything for these ones.

```
for board in frdm-k64f frdm-kw41z phynode-kw41z teensy31 usb-kw41z; do echo ${board}; BOARD=${board} make --no-print-directory -C examples/hello-world info-debug-variable-FEATURES_PROVIDED; done
frdm-k64f
periph_adc periph_i2c periph_pwm periph_rtc periph_rtt periph_spi periph_timer periph_uart periph_cpuid periph_gpio periph_gpio_irq periph_mcg periph_pm cpp
frdm-kw41z
periph_adc periph_i2c periph_rtc periph_rtt periph_spi periph_timer periph_uart periph_cpuid periph_gpio periph_gpio_irq periph_mcg periph_pm cpp
phynode-kw41z
periph_adc periph_i2c periph_rtc periph_rtt periph_spi periph_timer periph_uart periph_cpuid periph_gpio periph_gpio_irq periph_mcg periph_pm cpp
teensy31
periph_pwm periph_rtc periph_rtt periph_timer periph_uart periph_cpuid periph_gpio periph_gpio_irq periph_mcg periph_pm cpp
usb-kw41z
periph_adc periph_i2c periph_rtc periph_rtt periph_spi periph_timer periph_uart periph_cpuid periph_gpio periph_gpio_irq periph_mcg periph_pm cpp
```

I also looked at all boards to verify they did not change but did not post the output.


### Issues/PRs references

Required to apply https://github.com/RIOT-OS/RIOT/pull/11478
Split out of https://github.com/RIOT-OS/RIOT/pull/11477

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

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

-- Commit Summary --

  * kinetis: move filtering-out periph_hwrng in cpu/kinetis

-- File Changes --

    M boards/frdm-k64f/Makefile.features (3)
    M boards/frdm-kw41z/Makefile.features (2)
    M boards/phynode-kw41z/Makefile.features (3)
    M boards/teensy31/Makefile.features (2)
    M boards/usb-kw41z/Makefile.features (2)
    M cpu/kinetis/Makefile.features (15)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11479.patch
https://github.com/RIOT-OS/RIOT/pull/11479.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/11479
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190502/3a5548d8/attachment-0001.html>


More information about the notifications mailing list