You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/08/25 17:17:47 UTC
[nuttx-apps] branch master updated: boot/miniboot: hide miniboot options if not enabled
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 0cd1901da boot/miniboot: hide miniboot options if not enabled
0cd1901da is described below
commit 0cd1901da9c4e667602b7120ce5ea7ce95cdf0d2
Author: raiden00pl <ra...@railab.me>
AuthorDate: Fri Aug 25 14:15:45 2023 +0200
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 cbdc4f941..c65509ca9 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