[riot-commits] [RIOT-OS/RIOT] 2cd918: atmega_common: abstract Power Reduction Register

kYc0o fco.ja.ac at gmail.com
Wed Aug 31 18:29:54 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 2cd918a07a11f6b20ebde845bf3d57aa0e483d16
      https://github.com/RIOT-OS/RIOT/commit/2cd918a07a11f6b20ebde845bf3d57aa0e483d16
  Author: Laurent Navet <laurent.navet at gmail.com>
  Date:   2016-08-20 (Sat, 20 Aug 2016)

  Changed paths:
    M boards/arduino-mega2560/include/periph_conf.h
    M boards/waspmote-pro/include/periph_conf.h
    M cpu/atmega_common/periph/gpio.c
    M cpu/atmega_common/periph/spi.c

  Log Message:
  -----------
  atmega_common: abstract Power Reduction Register

PR Register is PRR0 on atmega2560 and atmega1281
but PRR on atmega328p.
this abstracts as atmega Power Reduction Register as MEGA_PRR.


  Commit: eed73beaa198015efeff82ff13801c1ae7c5b0b9
      https://github.com/RIOT-OS/RIOT/commit/eed73beaa198015efeff82ff13801c1ae7c5b0b9
  Author: Laurent Navet <laurent.navet at gmail.com>
  Date:   2016-08-20 (Sat, 20 Aug 2016)

  Changed paths:
    M cpu/atmega_common/periph/gpio.c
    M cpu/atmega_common/periph/timer.c

  Log Message:
  -----------
  cpu/atmega_common: prepare for atmega328p inclusion

use generic avr/libc definition for conditionnal compilation.
eg: use #ifdef(PORTG) or #ifdef(TIMER_0_ISRC) instead of #ifdef(Atmega328p)
This is more generic and simplify future boards support.


  Commit: 5e3747ea8b47d208567348daccc05e53e0792521
      https://github.com/RIOT-OS/RIOT/commit/5e3747ea8b47d208567348daccc05e53e0792521
  Author: kYc0o <fco.ja.ac at gmail.com>
  Date:   2016-08-31 (Wed, 31 Aug 2016)

  Changed paths:
    M boards/arduino-mega2560/include/periph_conf.h
    M boards/waspmote-pro/include/periph_conf.h
    M cpu/atmega_common/periph/gpio.c
    M cpu/atmega_common/periph/spi.c
    M cpu/atmega_common/periph/timer.c

  Log Message:
  -----------
  Merge pull request #5590 from mali/atmega_common

cpu/atmega_common: improve to add smaller atmega MCUs.


Compare: https://github.com/RIOT-OS/RIOT/compare/924f27558c8d...5e3747ea8b47


More information about the commits mailing list