Skip to content

Commit

Permalink
boards: magpie_f777ni: remove deprecated Kconfigs
Browse files Browse the repository at this point in the history
These clock selection Kconfigs should have been deprecated for
more than 2 releases, remove them:

- CONFIG_COUNTER_RTC_STM32_CLOCK_SRC
- CONFIG_COUNTER_RTC_STM32_CLOCK_LSE

Instead favor of device tree secondary domain clock.

This fixes following exemplary build error message since Zephyr
commit 88c96f7986d408fae48cb538d8144c0aa985edb1:

    warning: <choice COUNTER_RTC_STM32_CLOCK_SRC>
    (defined at /.../boards/tiac/magpie_f777ni/Kconfig.defconfig:9)
    defined without a prompt

    warning: the default selection COUNTER_RTC_STM32_CLOCK_LSE
    (undefined) of <choice COUNTER_RTC_STM32_CLOCK_SRC>
    (defined at /.../boards/tiac/magpie_f777ni/Kconfig.defconfig:9)
    is not contained in the choice

    error: Aborting due to Kconfig warnings

Signed-off-by: Stephan Linz <[email protected]>
  • Loading branch information
rexut committed Jun 21, 2024
1 parent e5b730e commit 339572d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions boards/tiac/magpie_f777ni/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@

if BOARD_MAGPIE_F777NI

choice COUNTER_RTC_STM32_CLOCK_SRC
default COUNTER_RTC_STM32_CLOCK_LSE
depends on COUNTER
endchoice

choice RNG_GENERATOR_CHOICE
default ENTROPY_DEVICE_RANDOM_GENERATOR
depends on ENTROPY_GENERATOR
Expand Down

0 comments on commit 339572d

Please sign in to comment.