[riot-notifications] [RIOT-OS/RIOT] boards/stm32l0/l4: add rtt feature (#11323)

Alexandre Abadie notifications at github.com
Mon Apr 1 12:03:12 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 adds the `periph_rtt` features to all L0 and L4 based boards.

For stm32l476g-disco, it also fixes a misconfiguration where `periph_conf.h` defines RTC and RTT but the features are not added by the build system.

<!--
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 `tests/periph_rtt` on related boards
- For stm32l476g-disco, also test `tests/perpiph_rtc`

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

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

-- 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
  * boards/nucleo-*: add RTT feature where possible
  * boards/stm32l476rg: add RTT and RTC features

-- 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-l031k6/Makefile.features (1)
    M boards/nucleo-l031k6/include/periph_conf.h (1)
    M boards/nucleo-l053r8/Makefile.features (1)
    M boards/nucleo-l053r8/include/periph_conf.h (1)
    M boards/nucleo-l073rz/Makefile.features (1)
    M boards/nucleo-l073rz/include/periph_conf.h (1)
    M boards/nucleo-l432kc/Makefile.features (1)
    M boards/nucleo-l432kc/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/stm32l476g-disco/Makefile.features (2)
    M boards/stm32l476g-disco/Makefile.include (3)
    M boards/stm32l476g-disco/include/periph_conf.h (12)

-- Patch Links --

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


More information about the notifications mailing list