[riot-commits] [RIOT-OS/RIOT] 7f6492: kinetis: Refactor GPIO to use a look-up-table

Peter Kietzmann peter.kietzmann at haw-hamburg.de
Thu Apr 9 16:10:13 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 7f64920cd7a0dcd5654f25890e2b69d9800ece7d
      https://github.com/RIOT-OS/RIOT/commit/7f64920cd7a0dcd5654f25890e2b69d9800ece7d
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-04-09 (Thu, 09 Apr 2015)

  Changed paths:
    M cpu/kinetis_common/gpio.c

  Log Message:
  -----------
  kinetis: Refactor GPIO to use a look-up-table

Saves a bunch of ROM space

mulle, gcc-4.9.2:
   text    data     bss     dec     hex filename
  20800     216   65320   86336   15140 /data/riotbuild/riotproject/tests/periph_gpio/bin/mulle/periph_gpio.elf
  18992     216   65320   84528   14a30 /data/riotbuild/riotproject/tests/periph_gpio/bin/mulle/periph_gpio.elf
  diff = 1808
  36080     272   65264  101616   18cf0 /data/riotbuild/riotproject/examples/default/bin/mulle/default.elf
  34296     272   65264   99832   185f8 /data/riotbuild/riotproject/examples/default/bin/mulle/default.elf
  diff = 1784


  Commit: 33133c677e5feeeab068b1d69d954b620a92b592
      https://github.com/RIOT-OS/RIOT/commit/33133c677e5feeeab068b1d69d954b620a92b592
  Author: Peter Kietzmann <peter.kietzmann at haw-hamburg.de>
  Date:   2015-04-09 (Thu, 09 Apr 2015)

  Changed paths:
    M cpu/kinetis_common/gpio.c

  Log Message:
  -----------
  Merge pull request #2701 from gebart/pr/kinetis-gpio-lut

kinetis: Refactor GPIO to use a look-up-table


Compare: https://github.com/RIOT-OS/RIOT/compare/f304f9a0fc9b...33133c677e5f


More information about the commits mailing list