From 0cd1901da9c4e667602b7120ce5ea7ce95cdf0d2 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Fri, 25 Aug 2023 14:15:45 +0200 Subject: [PATCH] boot/miniboot: hide miniboot options if not enabled --- boot/miniboot/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boot/miniboot/Kconfig b/boot/miniboot/Kconfig index cbdc4f94161..c65509ca952 100644 --- a/boot/miniboot/Kconfig +++ b/boot/miniboot/Kconfig @@ -10,6 +10,8 @@ menuconfig BOOT_MINIBOOT ---help--- Enable support for the minimal NuttX based bootloader. +if BOOT_MINIBOOT + config MINIBOOT_SLOT_PATH string "Application firmware image slot path" default "/dev/ota0" @@ -21,3 +23,5 @@ config MINIBOOT_SLOT_PATH config MINIBOOT_HEADER_SIZE hex "Application firmware image header size" default 0x200 + +endif # BOOT_MINIBOOT