[riot-commits] [RIOT-OS/RIOT] af7462: tests/mtd_raw: add Kconfig

Francisco noreply at github.com
Wed Sep 22 10:08:28 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: af746208dcbf16d9b5e86ae1bf5ce2f459f15c23
      https://github.com/RIOT-OS/RIOT/commit/af746208dcbf16d9b5e86ae1bf5ce2f459f15c23
  Author: Francisco Molina <femolina at uc.cl>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    A tests/mtd_raw/app.config.test

  Log Message:
  -----------
  tests/mtd_raw: add Kconfig


  Commit: 14ef09b8b495ccb41e6277a73655759a9b7da8ce
      https://github.com/RIOT-OS/RIOT/commit/14ef09b8b495ccb41e6277a73655759a9b7da8ce
  Author: Francisco Molina <femolina at uc.cl>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M cpu/native/Kconfig
    R cpu/native/mtd/Kconfig
    M drivers/Kconfig
    M drivers/at24cxxx/Kconfig
    R drivers/at24cxxx/mtd/Kconfig
    M drivers/at25xxx/Kconfig
    R drivers/at25xxx/mtd/Kconfig
    M drivers/mtd/Kconfig
    R drivers/mtd_flashpage/Kconfig
    R drivers/mtd_mci/Kconfig
    M drivers/mtd_sdcard/Kconfig
    R drivers/mtd_spi_nor/Kconfig
    M tests/mtd_flashpage/app.config.test

  Log Message:
  -----------
  drivers/mtd: fix Kconfig dependencies

Currently implementations of the MTD api are selecting the module,
this makes it easy for default backends to be selected. But the
correct modeling is simply selecting the MTD api and then selecting
a backend. BOARDs providing one of the backends can expose this and
then that backend can be selected by default.

There is also currently nothing preventing from using the MTD api
with no backend since a mock backend can easily be provided as is
done in all mtd tests.


  Commit: 0b7eb2bbc9a57a364738e15beef7d6ae501bf928
      https://github.com/RIOT-OS/RIOT/commit/0b7eb2bbc9a57a364738e15beef7d6ae501bf928
  Author: Francisco <femolina at uc.cl>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M cpu/native/Kconfig
    R cpu/native/mtd/Kconfig
    M drivers/Kconfig
    M drivers/at24cxxx/Kconfig
    R drivers/at24cxxx/mtd/Kconfig
    M drivers/at25xxx/Kconfig
    R drivers/at25xxx/mtd/Kconfig
    M drivers/mtd/Kconfig
    R drivers/mtd_flashpage/Kconfig
    R drivers/mtd_mci/Kconfig
    M drivers/mtd_sdcard/Kconfig
    R drivers/mtd_spi_nor/Kconfig
    M tests/mtd_flashpage/app.config.test
    A tests/mtd_raw/app.config.test

  Log Message:
  -----------
  Merge pull request #16836 from fjmolinas/pr_kconfig_mtd

drivers/mtd: fix Kconfig dependencies


Compare: https://github.com/RIOT-OS/RIOT/compare/3090657b7952...0b7eb2bbc9a5


More information about the commits mailing list