diff --git a/examples/buttons/Kconfig b/examples/buttons/Kconfig index 924e27902..b84eb08eb 100644 --- a/examples/buttons/Kconfig +++ b/examples/buttons/Kconfig @@ -6,6 +6,7 @@ config EXAMPLES_BUTTONS bool "Buttons example" default n + depends on ARCH_BUTTONS && BUILD_FLAT ---help--- Enable the buttons example. May require ARCH_BUTTONS on some boards. diff --git a/examples/timer/Kconfig b/examples/timer/Kconfig index 6170f0556..3df21dd0f 100644 --- a/examples/timer/Kconfig +++ b/examples/timer/Kconfig @@ -6,7 +6,7 @@ config EXAMPLES_TIMER bool "Timer example" default n - depends on TIMER + depends on TIMER && BUILD_FLAT ---help--- Enable the \"Timer, World!\" example