[riot-notifications] [RIOT-OS/RIOT] boards/common/atmega: Refactoring periph_conf.h (#11027)

Marian Buschsieweke notifications at github.com
Sun Feb 17 14:12:57 CET 2019


### Contribution description

- Moved code for `periph_conf` of all ATmega based boards to `boards/common/atmega`
- Added possibility to override config from individual board:
  - Named file `periph_conf_atmega_common.h` and let this be included from  `board/$BOARD/include/periph_conf.h` to allow modifications
  - Guarded individual periph configs by `#ifndef $PERIPH_NUMOF` ... `#endif`

### Testing procedure

Do basic testing on ATmega based boards

### Issues/PRs references

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

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

-- Commit Summary --

  * boards/common/atmega: Refactoring periph_conf.h

-- File Changes --

    A boards/arduino-duemilanove/Makefile.dep (3)
    M boards/arduino-duemilanove/Makefile.features (1)
    A boards/arduino-duemilanove/include/periph_conf.h (26)
    A boards/arduino-mega2560/Makefile.dep (3)
    M boards/arduino-mega2560/Makefile.features (4)
    A boards/arduino-mega2560/include/periph_conf.h (26)
    A boards/arduino-uno/Makefile.dep (3)
    M boards/arduino-uno/Makefile.features (1)
    M boards/arduino-uno/Makefile.include (2)
    A boards/arduino-uno/include/periph_conf.h (26)
    M boards/common/arduino-atmega/Makefile.features (17)
    M boards/common/arduino-atmega/Makefile.include (4)
    D boards/common/arduino-atmega/include/periph_conf.h (214)
    A boards/common/atmega/Makefile.features (7)
    A boards/common/atmega/Makefile.include (1)
    A boards/common/atmega/include/periph_conf_atmega_common.h (317)
    M boards/jiminy-mega256rfr2/Makefile.features (4)
    M boards/jiminy-mega256rfr2/Makefile.include (1)
    M boards/jiminy-mega256rfr2/include/periph_conf.h (107)
    M boards/mega-xplained/Makefile.features (9)
    M boards/mega-xplained/Makefile.include (1)
    M boards/mega-xplained/include/periph_conf.h (99)
    M boards/waspmote-pro/Makefile (2)
    M boards/waspmote-pro/Makefile.dep (1)
    M boards/waspmote-pro/Makefile.features (9)
    M boards/waspmote-pro/Makefile.include (1)
    M boards/waspmote-pro/include/periph_conf.h (100)

-- Patch Links --

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


More information about the notifications mailing list