[riot-commits] [RIOT-OS/RIOT] 93d536: cpu/sam0_common: samr30 add PIN_(.*)_EIC_EXTINT_NU...

Dylan Laduranty noreply at github.com
Wed Feb 19 21:38:12 CET 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 93d536f761019d42c1cc140a85b4ca0b3bf8857f
      https://github.com/RIOT-OS/RIOT/commit/93d536f761019d42c1cc140a85b4ca0b3bf8857f
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2020-02-18 (Tue, 18 Feb 2020)

  Changed paths:
    M cpu/sam0_common/include/vendor/samr30/include/pio/samr30e18a.h
    M cpu/sam0_common/include/vendor/samr30/include/pio/samr30g18a.h

  Log Message:
  -----------
  cpu/sam0_common: samr30 add PIN_(.*)_EIC_EXTINT_NUM to vendor header

samr30 is the only MCU of this family where the vendor files do not
define the PIN_($pin)_EIC_EXTINT_NUM macro yet.

This macro is needed to create a generic EXTI configuration for all
sam0 MCUs.

The defines were generated with

    sed -Ei '/define PIN_(.*)_EIC_EXTINT([0-9]*)/
            {h; x;
             s/define PIN_(.*)A_EIC_EXTINT([0-9]*)(.*)/
               define PIN_\1A_EIC_EXTINT_NUM       _L_\(\2\)
               \/**< \brief EIC signal: PIN_\1 External Interrupt Line *\/
              /g; G}' samr30g18a.h samr30e18a.h


  Commit: e1501e200ec2585efc4445a395293af1952e4575
      https://github.com/RIOT-OS/RIOT/commit/e1501e200ec2585efc4445a395293af1952e4575
  Author: Dylan Laduranty <dylan.laduranty at mesotic.com>
  Date:   2020-02-19 (Wed, 19 Feb 2020)

  Changed paths:
    M cpu/sam0_common/include/vendor/samr30/include/pio/samr30e18a.h
    M cpu/sam0_common/include/vendor/samr30/include/pio/samr30g18a.h

  Log Message:
  -----------
  Merge pull request #13402 from benpicco/samr30-asf-tweak

cpu/sam0_common: samr30 add PIN_(.*)_EIC_EXTINT_NUM to vendor header


Compare: https://github.com/RIOT-OS/RIOT/compare/953e8c9c15c4...e1501e200ec2


More information about the commits mailing list