Skip to content

Commit

Permalink
boot/miniboot: hide miniboot options if not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
raiden00pl authored and xiaoxiang781216 committed Aug 25, 2023
1 parent 94d477b commit 0cd1901
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boot/miniboot/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -21,3 +23,5 @@ config MINIBOOT_SLOT_PATH
config MINIBOOT_HEADER_SIZE
hex "Application firmware image header size"
default 0x200

endif # BOOT_MINIBOOT

0 comments on commit 0cd1901

Please sign in to comment.