[riot-notifications] [RIOT-OS/RIOT] boards/stm32*: remove useless RTC_NUMOF defines (#11345)

Alexandre Abadie notifications at github.com
Fri Apr 5 09:20:59 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

This PR removes RTC_NUMOF defines from peripheral configuration headers of STM32 based boards.
`git grep` reports that these defines are not used anywhere in peripheral drivers, so I think they are useless and should be removed. STM32 CPUs only provide one RTC and the driver implementation cannot handle multiple peripherals.

Maybe other boards using different CPUs (SAM, EFM32, etc) could be cleaned up as well, in follow-up PRs.

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

A green Murdock should be enough.

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

None

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

-- Commit Summary --

  * boards/stm32*: remove useless RTC_NUMOF defines

-- File Changes --

    M boards/b-l072z-lrwan1/include/periph_conf.h (7)
    M boards/b-l475e-iot01a/include/periph_conf.h (7)
    M boards/lobaro-lorabox/include/periph_conf.h (7)
    M boards/nucleo-f030r8/Makefile.features (3)
    M boards/nucleo-f030r8/include/periph_conf.h (12)
    M boards/nucleo-f070rb/Makefile.features (3)
    M boards/nucleo-f070rb/include/periph_conf.h (12)
    M boards/nucleo-f072rb/Makefile.features (3)
    M boards/nucleo-f072rb/include/periph_conf.h (12)
    M boards/nucleo-f091rc/Makefile.features (3)
    M boards/nucleo-f091rc/include/periph_conf.h (12)
    M boards/nucleo-f207zg/include/periph_conf.h (7)
    M boards/nucleo-f401re/include/periph_conf.h (7)
    M boards/nucleo-f412zg/include/periph_conf.h (7)
    M boards/nucleo-f413zh/include/periph_conf.h (7)
    M boards/nucleo-l031k6/include/periph_conf.h (7)
    M boards/nucleo-l053r8/include/periph_conf.h (7)
    M boards/nucleo-l073rz/include/periph_conf.h (7)
    M boards/nucleo-l152re/include/periph_conf.h (7)
    M boards/nucleo-l433rc/include/periph_conf.h (7)
    M boards/nucleo-l452re/include/periph_conf.h (7)
    M boards/nucleo-l476rg/include/periph_conf.h (7)
    M boards/nucleo-l496zg/include/periph_conf.h (7)
    M boards/nz32-sc151/include/periph_conf.h (7)
    M boards/pyboard/include/periph_conf.h (7)
    M boards/stm32f769i-disco/include/periph_conf.h (7)
    M boards/stm32l476g-disco/include/periph_conf.h (7)
    M boards/ublox-c030-u201/include/periph_conf.h (7)

-- Patch Links --

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


More information about the notifications mailing list