[riot-commits] [RIOT-OS/RIOT] 2869d7: cpu/samr21: rename ASF include files to prepare fo...

Kaspar Schleiser kaspar at schleiser.de
Thu Sep 22 14:55:00 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 2869d7729d2d6699853a1d20d41e78564c18a260
      https://github.com/RIOT-OS/RIOT/commit/2869d7729d2d6699853a1d20d41e78564c18a260
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    A cpu/sam21_common/include/cmsis/samr21/README.md
    A cpu/sam21_common/include/cmsis/samr21/include/component/ac.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/adc.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/dac.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/dmac.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/dsu.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/eic.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/evsys.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/gclk.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/i2s.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/mtb.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/nvmctrl.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/pac.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/pm.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/port.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/rfctrl.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/rtc.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/sercom.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/sysctrl.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/tc.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/tcc.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/usb.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/wdt.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/ac.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/adc.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/dac.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/dmac.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/dsu.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/eic.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/evsys.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/gclk.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/i2s.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/mtb.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/nvmctrl.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/pac0.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/pac1.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/pac2.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/pm.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/port.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/rfctrl.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/rtc.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sercom0.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sercom1.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sercom2.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sercom3.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sercom4.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sercom5.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sysctrl.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tc3.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tc4.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tc5.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tc6.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tc7.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tcc0.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tcc1.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tcc2.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/usb.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/wdt.h
    A cpu/sam21_common/include/cmsis/samr21/include/pio/samr21g18a.h
    A cpu/sam21_common/include/cmsis/samr21/include/samr21g18a.h
    A cpu/sam21_common/include/cmsis/samr21/rename-includes.sh
    M cpu/samd21/Makefile.include
    R cpu/samd21/include/component/component_ac.h
    R cpu/samd21/include/component/component_adc.h
    R cpu/samd21/include/component/component_dac.h
    R cpu/samd21/include/component/component_dmac.h
    R cpu/samd21/include/component/component_dsu.h
    R cpu/samd21/include/component/component_eic.h
    R cpu/samd21/include/component/component_evsys.h
    R cpu/samd21/include/component/component_gclk.h
    R cpu/samd21/include/component/component_i2s.h
    R cpu/samd21/include/component/component_mtb.h
    R cpu/samd21/include/component/component_nvmctrl.h
    R cpu/samd21/include/component/component_pac.h
    R cpu/samd21/include/component/component_pm.h
    R cpu/samd21/include/component/component_port.h
    R cpu/samd21/include/component/component_rfctrl.h
    R cpu/samd21/include/component/component_rtc.h
    R cpu/samd21/include/component/component_sercom.h
    R cpu/samd21/include/component/component_sysctrl.h
    R cpu/samd21/include/component/component_tc.h
    R cpu/samd21/include/component/component_tcc.h
    R cpu/samd21/include/component/component_usb.h
    R cpu/samd21/include/component/component_wdt.h
    M cpu/samd21/include/cpu_conf.h
    R cpu/samd21/include/instance/instance_ac.h
    R cpu/samd21/include/instance/instance_adc.h
    R cpu/samd21/include/instance/instance_dac.h
    R cpu/samd21/include/instance/instance_dmac.h
    R cpu/samd21/include/instance/instance_dsu.h
    R cpu/samd21/include/instance/instance_eic.h
    R cpu/samd21/include/instance/instance_evsys.h
    R cpu/samd21/include/instance/instance_gclk.h
    R cpu/samd21/include/instance/instance_i2s.h
    R cpu/samd21/include/instance/instance_mtb.h
    R cpu/samd21/include/instance/instance_nvmctrl.h
    R cpu/samd21/include/instance/instance_pac0.h
    R cpu/samd21/include/instance/instance_pac1.h
    R cpu/samd21/include/instance/instance_pac2.h
    R cpu/samd21/include/instance/instance_pm.h
    R cpu/samd21/include/instance/instance_port.h
    R cpu/samd21/include/instance/instance_rfctrl.h
    R cpu/samd21/include/instance/instance_rtc.h
    R cpu/samd21/include/instance/instance_sercom0.h
    R cpu/samd21/include/instance/instance_sercom1.h
    R cpu/samd21/include/instance/instance_sercom2.h
    R cpu/samd21/include/instance/instance_sercom3.h
    R cpu/samd21/include/instance/instance_sercom4.h
    R cpu/samd21/include/instance/instance_sercom5.h
    R cpu/samd21/include/instance/instance_sysctrl.h
    R cpu/samd21/include/instance/instance_tc3.h
    R cpu/samd21/include/instance/instance_tc4.h
    R cpu/samd21/include/instance/instance_tc5.h
    R cpu/samd21/include/instance/instance_tc6.h
    R cpu/samd21/include/instance/instance_tc7.h
    R cpu/samd21/include/instance/instance_tcc0.h
    R cpu/samd21/include/instance/instance_tcc1.h
    R cpu/samd21/include/instance/instance_tcc2.h
    R cpu/samd21/include/instance/instance_usb.h
    R cpu/samd21/include/instance/instance_wdt.h
    R cpu/samd21/include/pio/pio_samr21g18a.h
    R cpu/samd21/include/samd21.h

  Log Message:
  -----------
  cpu/samr21: rename ASF include files to prepare for ASF update


  Commit: 88e84f68ff2237904f9ce35cfa1675fd2e0c2946
      https://github.com/RIOT-OS/RIOT/commit/88e84f68ff2237904f9ce35cfa1675fd2e0c2946
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    M cpu/sam21_common/include/cmsis/samr21/include/component/ac.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/adc.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/dmac.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/dsu.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/eic.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/evsys.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/gclk.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/hmatrixb.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/mtb.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/nvmctrl.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/pac.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/pm.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/port.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/rfctrl.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/rtc.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/sercom.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/sysctrl.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/tc.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/tcc.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/usb.h
    M cpu/sam21_common/include/cmsis/samr21/include/component/wdt.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/ac.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/adc.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/dmac.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/dsu.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/eic.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/evsys.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/gclk.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/mtb.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/nvmctrl.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/pac0.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/pac1.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/pac2.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/pm.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/port.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/rfctrl.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/rtc.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sbmatrix.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/sercom0.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/sercom1.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/sercom2.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/sercom3.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/sercom4.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/sercom5.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/sysctrl.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/tc3.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/tc4.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/tc5.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/tcc0.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/tcc1.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/tcc2.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/usb.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/wdt.h
    A cpu/sam21_common/include/cmsis/samr21/include/pio/samr21e16a.h
    A cpu/sam21_common/include/cmsis/samr21/include/pio/samr21e17a.h
    A cpu/sam21_common/include/cmsis/samr21/include/pio/samr21e18a.h
    A cpu/sam21_common/include/cmsis/samr21/include/pio/samr21g16a.h
    A cpu/sam21_common/include/cmsis/samr21/include/pio/samr21g17a.h
    M cpu/sam21_common/include/cmsis/samr21/include/pio/samr21g18a.h
    A cpu/sam21_common/include/cmsis/samr21/include/samr21.h
    A cpu/sam21_common/include/cmsis/samr21/include/samr21e16a.h
    A cpu/sam21_common/include/cmsis/samr21/include/samr21e17a.h
    A cpu/sam21_common/include/cmsis/samr21/include/samr21e18a.h
    A cpu/sam21_common/include/cmsis/samr21/include/samr21g16a.h
    A cpu/sam21_common/include/cmsis/samr21/include/samr21g17a.h
    M cpu/sam21_common/include/cmsis/samr21/include/samr21g18a.h
    M cpu/samd21/cpu.c

  Log Message:
  -----------
  cpu/sam21_common: update ASF CMSIS (samr21) include files using ASF 3.21

Notice that RIOT was using FDPLL96M, which is indeed the name in the
datasheet. But Atmel is using GCLK_GENCTRL_SRC_FDPLL.


  Commit: 8644b5f7a0b12143b12dc276be95ba21a81906c7
      https://github.com/RIOT-OS/RIOT/commit/8644b5f7a0b12143b12dc276be95ba21a81906c7
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    M boards/samr21-xpro/Makefile.include
    M cpu/sam21_common/Makefile.include
    A cpu/sam21_common/include/sam0.h
    M cpu/samd21/Makefile.include
    M cpu/samd21/include/cpu_conf.h

  Log Message:
  -----------
  cpu/samd21: introduce sam0.h so that we can select samr21.h or other

In the Makefile.include of the board it is required to set the correct
define.

Currently only SAMRG18A is supported, as required by samr21-xpro.


  Commit: 4ad3313ae5f43ece4e6f69927b97496513ea71bf
      https://github.com/RIOT-OS/RIOT/commit/4ad3313ae5f43ece4e6f69927b97496513ea71bf
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    M cpu/sam21_common/include/periph_cpu_common.h
    M cpu/samd21/include/periph_cpu.h
    M cpu/samd21/periph/gpio.c

  Log Message:
  -----------
  cpu/sam21_common: add a few typedefs for SERCOM

A generic function is added to initialize a SERCOM.

Notice that uart_conf_t was expanded with pad settings, but it isn't used
yet.


  Commit: be1113fa6c59e4d10d79707130110236832f964c
      https://github.com/RIOT-OS/RIOT/commit/be1113fa6c59e4d10d79707130110236832f964c
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    A cpu/sam21_common/periph/i2c.c
    R cpu/samd21/periph/i2c.c

  Log Message:
  -----------
  cpu/sam21_common: move i2c.c from samd21 to sam21_common

Notice that saml21 does not use I2C (yet).


  Commit: 2a4655b6f815b6b89f6d85317b664660467499b1
      https://github.com/RIOT-OS/RIOT/commit/2a4655b6f815b6b89f6d85317b664660467499b1
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    M boards/samr21-xpro/include/periph_conf.h
    M cpu/sam21_common/periph/i2c.c

  Log Message:
  -----------
  cpu/samd21: rewrite i2c_init_master to make use of gpio_init_sercom

The former i2c_init_master was too complicated. It was trying to set IN/OUT
mode of the pins, but all that is needed is to set the proper MUX.

Also the configuration for the boards was incomplete (no MUX, no pad
setting).

It was tested on a SODAQ Autonomo, but not on a samr21-xpro


  Commit: 574b565e2a6e619e1bafe1d93cda486bbfe40fe3
      https://github.com/RIOT-OS/RIOT/commit/574b565e2a6e619e1bafe1d93cda486bbfe40fe3
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    M cpu/samd21/periph/spi.c

  Log Message:
  -----------
  cpu/samd21: add helper functions spi_power_on/off


  Commit: f794bd4c8e2862033add275a6085f35ecd3b4033
      https://github.com/RIOT-OS/RIOT/commit/f794bd4c8e2862033add275a6085f35ecd3b4033
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    M cpu/samd21/periph/spi.c

  Log Message:
  -----------
  cpu/samd21: spi: change #ifdef's to #if's

The board config can define SPI_1_EN as 0, and in that case #ifdef won't
work.

Add some more comments, and fix typos.


  Commit: 845ef0decdf2858a95e033610a0d2c5d3a8f1447
      https://github.com/RIOT-OS/RIOT/commit/845ef0decdf2858a95e033610a0d2c5d3a8f1447
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    M boards/samr21-xpro/include/periph_conf.h
    M cpu/samd21/periph/spi.c

  Log Message:
  -----------
  cpu/samd21: Refactor spi using ArduinoCore as example

The pinmux is now part of the board config. The pad setting is done with
clear names instead of numbers.


  Commit: ea8b90fa5fbfa85391ddaff9ad8822775dda249b
      https://github.com/RIOT-OS/RIOT/commit/ea8b90fa5fbfa85391ddaff9ad8822775dda249b
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    M boards/samr21-xpro/include/periph_conf.h
    M cpu/samd21/periph/uart.c

  Log Message:
  -----------
  cpu/samd21: uart: now using padd setting from board config

Notice the extra fields in uart_conf_t for rx_pad and tx_pad.


  Commit: ebeece15c712c5de788de6acab44d853fe189be1
      https://github.com/RIOT-OS/RIOT/commit/ebeece15c712c5de788de6acab44d853fe189be1
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    M doc/doxygen/riot.doxyfile

  Log Message:
  -----------
  doc: correct exclude patterns after moving CMSIS files to cpu/sam21_common


  Commit: 1b307b3802c497853e302d7bc427eaacf61cfabd
      https://github.com/RIOT-OS/RIOT/commit/1b307b3802c497853e302d7bc427eaacf61cfabd
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    M cpu/sam21_common/include/cmsis/samr21/README.md
    M cpu/sam21_common/include/cmsis/samr21/include/instance/ac.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/gclk.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/nvmctrl.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/pm.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/rfctrl.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/sbmatrix.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/sercom0.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/sercom1.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/sercom2.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/sercom3.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/sercom4.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/sercom5.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/sysctrl.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/tc3.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/tc4.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/tc5.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/tcc0.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/tcc1.h
    M cpu/sam21_common/include/cmsis/samr21/include/instance/tcc2.h
    M cpu/sam21_common/include/cmsis/samr21/include/samr21e16a.h
    M cpu/sam21_common/include/cmsis/samr21/include/samr21e17a.h
    M cpu/sam21_common/include/cmsis/samr21/include/samr21e18a.h
    M cpu/sam21_common/include/cmsis/samr21/include/samr21g16a.h
    M cpu/sam21_common/include/cmsis/samr21/include/samr21g17a.h
    M cpu/sam21_common/include/cmsis/samr21/include/samr21g18a.h

  Log Message:
  -----------
  cpu/sam21_common: eliminate trailing white space in CMSIS include files


  Commit: bd2fbf040b5ff0811fbd36388747b4c00bcf0f1b
      https://github.com/RIOT-OS/RIOT/commit/bd2fbf040b5ff0811fbd36388747b4c00bcf0f1b
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    M dist/tools/externc/check.sh

  Log Message:
  -----------
  dist/tools: exclude sam21_common cmsis include files


  Commit: e118525731a1a53b8b3523553c25e7d710b5486c
      https://github.com/RIOT-OS/RIOT/commit/e118525731a1a53b8b3523553c25e7d710b5486c
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    M cpu/sam21_common/include/sam0.h

  Log Message:
  -----------
  cpu/sam21_common: add C++ wrapper to sam0.h


  Commit: d367090c4479cfe3517ab9a35952542bc7d0af30
      https://github.com/RIOT-OS/RIOT/commit/d367090c4479cfe3517ab9a35952542bc7d0af30
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2016-09-21 (Wed, 21 Sep 2016)

  Changed paths:
    M cpu/sam21_common/include/cmsis/samr21/README.md
    M cpu/sam21_common/include/cmsis/samr21/include/samr21e16a.h
    M cpu/sam21_common/include/cmsis/samr21/include/samr21e17a.h
    M cpu/sam21_common/include/cmsis/samr21/include/samr21e18a.h
    M cpu/sam21_common/include/cmsis/samr21/include/samr21g16a.h
    M cpu/sam21_common/include/cmsis/samr21/include/samr21g17a.h
    M cpu/sam21_common/include/cmsis/samr21/include/samr21g18a.h

  Log Message:
  -----------
  cpu/sam21_common: remove define of LITTLE_ENDIAN

This define conflicts with LITTLE_ENDIAN defined in
include/machine/endian.h which is part of gcc-arm-none-eabi.

Also, the define does not seem to be used by the ASF included files.


  Commit: 0e45604765c9116033a726a11a97eb5471438764
      https://github.com/RIOT-OS/RIOT/commit/0e45604765c9116033a726a11a97eb5471438764
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2016-09-22 (Thu, 22 Sep 2016)

  Changed paths:
    M boards/samr21-xpro/Makefile.include
    M boards/samr21-xpro/include/periph_conf.h
    M cpu/sam21_common/Makefile.include
    A cpu/sam21_common/include/cmsis/samr21/README.md
    A cpu/sam21_common/include/cmsis/samr21/include/component/ac.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/adc.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/dac.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/dmac.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/dsu.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/eic.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/evsys.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/gclk.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/hmatrixb.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/i2s.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/mtb.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/nvmctrl.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/pac.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/pm.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/port.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/rfctrl.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/rtc.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/sercom.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/sysctrl.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/tc.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/tcc.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/usb.h
    A cpu/sam21_common/include/cmsis/samr21/include/component/wdt.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/ac.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/adc.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/dac.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/dmac.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/dsu.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/eic.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/evsys.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/gclk.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/i2s.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/mtb.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/nvmctrl.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/pac0.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/pac1.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/pac2.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/pm.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/port.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/rfctrl.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/rtc.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sbmatrix.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sercom0.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sercom1.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sercom2.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sercom3.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sercom4.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sercom5.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/sysctrl.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tc3.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tc4.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tc5.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tc6.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tc7.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tcc0.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tcc1.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/tcc2.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/usb.h
    A cpu/sam21_common/include/cmsis/samr21/include/instance/wdt.h
    A cpu/sam21_common/include/cmsis/samr21/include/pio/samr21e16a.h
    A cpu/sam21_common/include/cmsis/samr21/include/pio/samr21e17a.h
    A cpu/sam21_common/include/cmsis/samr21/include/pio/samr21e18a.h
    A cpu/sam21_common/include/cmsis/samr21/include/pio/samr21g16a.h
    A cpu/sam21_common/include/cmsis/samr21/include/pio/samr21g17a.h
    A cpu/sam21_common/include/cmsis/samr21/include/pio/samr21g18a.h
    A cpu/sam21_common/include/cmsis/samr21/include/samr21.h
    A cpu/sam21_common/include/cmsis/samr21/include/samr21e16a.h
    A cpu/sam21_common/include/cmsis/samr21/include/samr21e17a.h
    A cpu/sam21_common/include/cmsis/samr21/include/samr21e18a.h
    A cpu/sam21_common/include/cmsis/samr21/include/samr21g16a.h
    A cpu/sam21_common/include/cmsis/samr21/include/samr21g17a.h
    A cpu/sam21_common/include/cmsis/samr21/include/samr21g18a.h
    A cpu/sam21_common/include/cmsis/samr21/rename-includes.sh
    M cpu/sam21_common/include/periph_cpu_common.h
    A cpu/sam21_common/include/sam0.h
    A cpu/sam21_common/periph/i2c.c
    M cpu/samd21/cpu.c
    R cpu/samd21/include/component/component_ac.h
    R cpu/samd21/include/component/component_adc.h
    R cpu/samd21/include/component/component_dac.h
    R cpu/samd21/include/component/component_dmac.h
    R cpu/samd21/include/component/component_dsu.h
    R cpu/samd21/include/component/component_eic.h
    R cpu/samd21/include/component/component_evsys.h
    R cpu/samd21/include/component/component_gclk.h
    R cpu/samd21/include/component/component_i2s.h
    R cpu/samd21/include/component/component_mtb.h
    R cpu/samd21/include/component/component_nvmctrl.h
    R cpu/samd21/include/component/component_pac.h
    R cpu/samd21/include/component/component_pm.h
    R cpu/samd21/include/component/component_port.h
    R cpu/samd21/include/component/component_rfctrl.h
    R cpu/samd21/include/component/component_rtc.h
    R cpu/samd21/include/component/component_sercom.h
    R cpu/samd21/include/component/component_sysctrl.h
    R cpu/samd21/include/component/component_tc.h
    R cpu/samd21/include/component/component_tcc.h
    R cpu/samd21/include/component/component_usb.h
    R cpu/samd21/include/component/component_wdt.h
    M cpu/samd21/include/cpu_conf.h
    R cpu/samd21/include/instance/instance_ac.h
    R cpu/samd21/include/instance/instance_adc.h
    R cpu/samd21/include/instance/instance_dac.h
    R cpu/samd21/include/instance/instance_dmac.h
    R cpu/samd21/include/instance/instance_dsu.h
    R cpu/samd21/include/instance/instance_eic.h
    R cpu/samd21/include/instance/instance_evsys.h
    R cpu/samd21/include/instance/instance_gclk.h
    R cpu/samd21/include/instance/instance_i2s.h
    R cpu/samd21/include/instance/instance_mtb.h
    R cpu/samd21/include/instance/instance_nvmctrl.h
    R cpu/samd21/include/instance/instance_pac0.h
    R cpu/samd21/include/instance/instance_pac1.h
    R cpu/samd21/include/instance/instance_pac2.h
    R cpu/samd21/include/instance/instance_pm.h
    R cpu/samd21/include/instance/instance_port.h
    R cpu/samd21/include/instance/instance_rfctrl.h
    R cpu/samd21/include/instance/instance_rtc.h
    R cpu/samd21/include/instance/instance_sercom0.h
    R cpu/samd21/include/instance/instance_sercom1.h
    R cpu/samd21/include/instance/instance_sercom2.h
    R cpu/samd21/include/instance/instance_sercom3.h
    R cpu/samd21/include/instance/instance_sercom4.h
    R cpu/samd21/include/instance/instance_sercom5.h
    R cpu/samd21/include/instance/instance_sysctrl.h
    R cpu/samd21/include/instance/instance_tc3.h
    R cpu/samd21/include/instance/instance_tc4.h
    R cpu/samd21/include/instance/instance_tc5.h
    R cpu/samd21/include/instance/instance_tc6.h
    R cpu/samd21/include/instance/instance_tc7.h
    R cpu/samd21/include/instance/instance_tcc0.h
    R cpu/samd21/include/instance/instance_tcc1.h
    R cpu/samd21/include/instance/instance_tcc2.h
    R cpu/samd21/include/instance/instance_usb.h
    R cpu/samd21/include/instance/instance_wdt.h
    M cpu/samd21/include/periph_cpu.h
    R cpu/samd21/include/pio/pio_samr21g18a.h
    R cpu/samd21/include/samd21.h
    M cpu/samd21/periph/gpio.c
    R cpu/samd21/periph/i2c.c
    M cpu/samd21/periph/spi.c
    M cpu/samd21/periph/uart.c
    M dist/tools/externc/check.sh
    M doc/doxygen/riot.doxyfile

  Log Message:
  -----------
  Merge pull request #5743 from keestux/refactor-samd21

Refactor samd21


Compare: https://github.com/RIOT-OS/RIOT/compare/4a3ed294e300...0e45604765c9


More information about the commits mailing list