[riot-notifications] [RIOT-OS/RIOT] stm32f7: enable periph_rtt feature and apply to f7 based boards (#11322)

Alexandre Abadie notifications at github.com
Mon Apr 1 11:56:11 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

The STM32F7 family provides an LPTIM1 so it's a candidate for the RTT feature. This PR is this adding support for RTT to stm32f7 + configuring it to all stm32f7 based boards.

I tested this PR on the nucleo-f746zg and it works like a charm. I don't see any reason why it wouldn't work on other related boards.

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

Build and flash the `tests/periph_rtt` application to any stm32f7 based board, it should 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

Based on #11313 to avoid code duplication.

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:


-- Commit Summary --

  * boards/stm32: introduce common default rtt config
  * boards/b-l072z-lrwan1: use common rtt configuration
  * boards/b-l475e-iot01a: use common rtt configuration
  * boards/nucleo-l433rc: use common rtt configuration
  * boards/nucleo-l452re: use common rtt configuration
  * boards/nucleo-l476rg: use common rtt configuration
  * boards/nucleo-l496zg: use common rtt configuration
  * stm32_common/rtt: add support for stm32f7
  * boards/stm32: add rtt features to stm32f7 based boards

-- File Changes --

    M boards/b-l072z-lrwan1/Makefile.include (3)
    M boards/b-l072z-lrwan1/include/periph_conf.h (12)
    M boards/b-l475e-iot01a/Makefile.include (3)
    M boards/b-l475e-iot01a/include/periph_conf.h (12)
    A boards/common/stm32/include/cfg_rtt_default.h (44)
    M boards/nucleo-f722ze/Makefile.features (1)
    M boards/nucleo-f722ze/include/periph_conf.h (1)
    M boards/nucleo-f746zg/Makefile.features (1)
    M boards/nucleo-f746zg/include/periph_conf.h (1)
    M boards/nucleo-f767zi/Makefile.features (1)
    M boards/nucleo-f767zi/include/periph_conf.h (1)
    M boards/nucleo-l433rc/include/periph_conf.h (12)
    M boards/nucleo-l452re/include/periph_conf.h (12)
    M boards/nucleo-l476rg/include/periph_conf.h (12)
    M boards/nucleo-l496zg/include/periph_conf.h (12)
    M boards/stm32f769i-disco/Makefile.features (1)
    M boards/stm32f769i-disco/Makefile.include (3)
    M boards/stm32f769i-disco/include/periph_conf.h (1)
    M cpu/stm32_common/periph/rtt.c (18)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190401/06ff9951/attachment-0001.html>

More information about the notifications mailing list