Skip to content

Commit

Permalink
applications: nrf_desktop: Remove bootloader-related ops from app confs
Browse files Browse the repository at this point in the history
After migration to sysbuild, now bootloader-specific Kconfig options
are driven at the sysbuild level, not the main application.
Remove unecessary options that were moved to proper sysbuild*.conf
files.

Jira: NCSDK-27890

Signed-off-by: Mateusz Kapala <[email protected]>
  • Loading branch information
mkapala-nordic committed Jun 13, 2024
1 parent 4607223 commit 5cc0b48
Show file tree
Hide file tree
Showing 31 changed files with 43 additions and 225 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,3 @@ CONFIG_BT_CTLR_DATA_LENGTH_MAX=35
CONFIG_BT_ATT_TX_COUNT=6

CONFIG_ENTROPY_CC3XX=n

################################################################################
# Bootloader Configuration

CONFIG_BOOTLOADER_MCUBOOT=y
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,3 @@ CONFIG_USE_SEGGER_RTT=n
CONFIG_SERIAL=n
CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n

################################################################################
# Bootloader Configuration

CONFIG_BOOTLOADER_MCUBOOT=y
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,3 @@ CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

CONFIG_DESKTOP_LOG=y

################################################################################
# Bootloader Configuration

CONFIG_BOOTLOADER_MCUBOOT=y
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,3 @@ CONFIG_BT_BUF_ACL_TX_SIZE=35
CONFIG_BT_CTLR_DATA_LENGTH_MAX=35
CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT=3000
CONFIG_BT_ATT_TX_COUNT=6

################################################################################
# Bootloader Configuration

CONFIG_BOOTLOADER_MCUBOOT=y
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,3 @@ CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

CONFIG_DESKTOP_LOG=y

################################################################################
# Bootloader Configuration

CONFIG_BOOTLOADER_MCUBOOT=y
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,3 @@ CONFIG_BT_BUF_ACL_TX_SIZE=35
CONFIG_BT_CTLR_DATA_LENGTH_MAX=35
CONFIG_BT_CTLR_SDC_MAX_CONN_EVENT_LEN_DEFAULT=3000
CONFIG_BT_ATT_TX_COUNT=6

################################################################################
# Bootloader Configuration

CONFIG_BOOTLOADER_MCUBOOT=y
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,12 @@ CONFIG_BT_ATT_TX_COUNT=4

CONFIG_ENTROPY_CC3XX=n

CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1

################################################################################

CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

CONFIG_DESKTOP_LOG=y

################################################################################
# Bootloader Configuration

CONFIG_SECURE_BOOT=y
CONFIG_BUILD_S1_VARIANT=y
CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1
CONFIG_SB_SIGNING_KEY_FILE="b0_private.pem"
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,12 @@ CONFIG_BT_ATT_TX_COUNT=6

CONFIG_ENTROPY_CC3XX=n

CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1

################################################################################

CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

CONFIG_DESKTOP_LOG=y

################################################################################
# Bootloader Configuration

CONFIG_SECURE_BOOT=y
CONFIG_BUILD_S1_VARIANT=y
CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1
CONFIG_SB_SIGNING_KEY_FILE="b0_private.pem"
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,3 @@ CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

CONFIG_DESKTOP_LOG=y

################################################################################
# Bootloader Configuration

CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP=y
CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=n
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,12 @@ CONFIG_BT_ATT_TX_COUNT=6

CONFIG_ENTROPY_CC3XX=n

CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1

################################################################################

CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

CONFIG_DESKTOP_LOG=y

################################################################################
# Bootloader Configuration

CONFIG_SECURE_BOOT=y
CONFIG_BUILD_S1_VARIANT=y
CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1
CONFIG_SB_SIGNING_KEY_FILE="b0_private.pem"
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,13 @@ CONFIG_NORDIC_QSPI_NOR=y
CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096
CONFIG_NORDIC_QSPI_NOR_STACK_WRITE_BUFFER_SIZE=16

CONFIG_STREAM_FLASH=y
CONFIG_IMG_MANAGER=y
CONFIG_MCUBOOT_IMG_MANAGER=y

################################################################################

CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

CONFIG_DESKTOP_LOG=y

################################################################################
# Bootloader Configuration

CONFIG_BOOTLOADER_MCUBOOT=y

CONFIG_STREAM_FLASH=y
CONFIG_IMG_MANAGER=y
CONFIG_MCUBOOT_IMG_MANAGER=y
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,3 @@ CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

CONFIG_DESKTOP_LOG=y

################################################################################
# Bootloader Configuration

CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=n
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,5 @@ CONFIG_BT_ATT_TX_COUNT=4

CONFIG_ENTROPY_CC3XX=n

################################################################################
# Bootloader Configuration

CONFIG_SECURE_BOOT=y
CONFIG_BUILD_S1_VARIANT=y
CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1
CONFIG_SB_SIGNING_KEY_FILE="b0_private.pem"
Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,12 @@ CONFIG_BT_ATT_TX_COUNT=4

CONFIG_ENTROPY_CC3XX=n

CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1

################################################################################

CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

CONFIG_DESKTOP_LOG=y

################################################################################
# Bootloader Configuration

CONFIG_SECURE_BOOT=y
CONFIG_BUILD_S1_VARIANT=y
CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1
CONFIG_SB_SIGNING_KEY_FILE="b0_private.pem"
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,12 @@ CONFIG_BT_ATT_TX_COUNT=6

CONFIG_ENTROPY_CC3XX=n

CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1

################################################################################

CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

CONFIG_DESKTOP_LOG=y

################################################################################
# Bootloader Configuration

CONFIG_SECURE_BOOT=y
CONFIG_BUILD_S1_VARIANT=y
CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1
CONFIG_SB_SIGNING_KEY_FILE="b0_private.pem"
Original file line number Diff line number Diff line change
Expand Up @@ -103,18 +103,12 @@ CONFIG_BT_HOGP_REPORTS_MAX=30

CONFIG_ENTROPY_CC3XX=n

CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1

################################################################################

CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

CONFIG_DESKTOP_LOG=y

################################################################################
# Bootloader Configuration

CONFIG_SECURE_BOOT=y
CONFIG_BUILD_S1_VARIANT=y
CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1
CONFIG_SB_SIGNING_KEY_FILE="b0_private.pem"
Original file line number Diff line number Diff line change
Expand Up @@ -102,18 +102,12 @@ CONFIG_BT_HOGP_REPORTS_MAX=30

CONFIG_ENTROPY_CC3XX=n

CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1

################################################################################

CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

CONFIG_DESKTOP_LOG=y

################################################################################
# Bootloader Configuration

CONFIG_SECURE_BOOT=y
CONFIG_BUILD_S1_VARIANT=y
CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1
CONFIG_SB_SIGNING_KEY_FILE="b0_private.pem"
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,5 @@ CONFIG_BT_ATT_TX_COUNT=6

CONFIG_ENTROPY_CC3XX=n

################################################################################
# Bootloader Configuration

CONFIG_SECURE_BOOT=y
CONFIG_BUILD_S1_VARIANT=y
CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1
CONFIG_SB_SIGNING_KEY_FILE="b0_private.pem"
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,5 @@ CONFIG_BT_HOGP_REPORTS_MAX=30

CONFIG_ENTROPY_CC3XX=n

################################################################################
# Bootloader Configuration

CONFIG_SECURE_BOOT=y
CONFIG_BUILD_S1_VARIANT=y
CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1
CONFIG_SB_SIGNING_KEY_FILE="b0_private.pem"
Original file line number Diff line number Diff line change
Expand Up @@ -138,18 +138,12 @@ CONFIG_ENTROPY_CC3XX=n
CONFIG_PMW3360=y
CONFIG_PMW3360_ORIENTATION_90=y

CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1

################################################################################

CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

CONFIG_DESKTOP_LOG=y

################################################################################
# Bootloader Configuration

CONFIG_SECURE_BOOT=y
CONFIG_BUILD_S1_VARIANT=y
CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1
CONFIG_SB_SIGNING_KEY_FILE="b0_private.pem"
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,3 @@ CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

CONFIG_DESKTOP_LOG=y

################################################################################
# Bootloader Configuration

CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP=y
CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=n
Original file line number Diff line number Diff line change
Expand Up @@ -165,18 +165,13 @@ CONFIG_ENTROPY_CC3XX=n
CONFIG_PMW3360=y
CONFIG_PMW3360_ORIENTATION_90=y

CONFIG_STREAM_FLASH=y
CONFIG_IMG_MANAGER=y
CONFIG_MCUBOOT_IMG_MANAGER=y

################################################################################

CONFIG_ASSERT=y
CONFIG_ASSERT_LEVEL=2

CONFIG_DESKTOP_LOG=y

################################################################################
# Bootloader Configuration

CONFIG_BOOTLOADER_MCUBOOT=y

CONFIG_STREAM_FLASH=y
CONFIG_IMG_MANAGER=y
CONFIG_MCUBOOT_IMG_MANAGER=y
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,5 @@ CONFIG_ENTROPY_CC3XX=n
CONFIG_PMW3360=y
CONFIG_PMW3360_ORIENTATION_90=y

################################################################################
# Bootloader Configuration

CONFIG_SECURE_BOOT=y
CONFIG_BUILD_S1_VARIANT=y
CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1
CONFIG_SB_SIGNING_KEY_FILE="b0_private.pem"
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,3 @@ CONFIG_ENTROPY_CC3XX=n

CONFIG_PMW3360=y
CONFIG_PMW3360_ORIENTATION_90=y

################################################################################
# Bootloader Configuration

CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP=y
CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=n
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,5 @@ CONFIG_BT_CTLR_SDC_LLPM=y
CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=y
CONFIG_BT_ATT_TX_COUNT=6

################################################################################
# Bootloader Configuration

CONFIG_SECURE_BOOT=y
CONFIG_BUILD_S1_VARIANT=y
CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1
CONFIG_SB_SIGNING_KEY_FILE="b0_private.pem"
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,3 @@ CONFIG_BT_ATT_TX_COUNT=6

CONFIG_BT_FAST_PAIR=y
CONFIG_BT_PRIVACY=y

################################################################################
# Bootloader Configuration

CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MCUBOOT_BOOTLOADER_MODE_DIRECT_XIP=y
CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=n
Loading

0 comments on commit 5cc0b48

Please sign in to comment.