forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathKconfig.firmware_loader
More file actions
40 lines (32 loc) · 1.12 KB
/
Copy pathKconfig.firmware_loader
File metadata and controls
40 lines (32 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# Copyright (c) 2025 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
config SUPPORT_FIRMWARE_LOADER_BLE_MCUMGR
bool
default y
config SUPPORT_FIRMWARE_LOADER_USB_MCUMGR
bool
depends on SOC_NRF54LM20A_CPUAPP || SOC_NRF54LM20B_CPUAPP
default y
choice FIRMWARE_LOADER
config FIRMWARE_LOADER_IMAGE_BLE_MCUMGR
bool "ble_mcumgr"
depends on SUPPORT_FIRMWARE_LOADER_BLE_MCUMGR
help
Include the minified firmware loader ``ble_mcumgr`` sample as the firmware loader image
to use.
config FIRMWARE_LOADER_IMAGE_USB_MCUMGR
bool "usb_mcumgr"
depends on SUPPORT_FIRMWARE_LOADER_USB_MCUMGR
help
Include the minified firmware loader ``usb_mcumgr`` sample as the firmware loader image
to use.
endchoice
config FIRMWARE_LOADER_IMAGE_NAME
default "ble_mcumgr" if FIRMWARE_LOADER_IMAGE_BLE_MCUMGR
default "usb_mcumgr" if FIRMWARE_LOADER_IMAGE_USB_MCUMGR
config FIRMWARE_LOADER_IMAGE_PATH
default "$(ZEPHYR_NRF_MODULE_DIR)/samples/dfu/fw_loader/ble_mcumgr" if FIRMWARE_LOADER_IMAGE_BLE_MCUMGR
default "$(ZEPHYR_NRF_MODULE_DIR)/samples/dfu/fw_loader/usb_mcumgr" if FIRMWARE_LOADER_IMAGE_USB_MCUMGR