Skip to content

Commit 347a912

Browse files
nordicjmjukkar
authored andcommitted
[nrf noup] boot: zephyr: Prevent old USB stack warning
Prevents a deprecation warning from failing builds when the old USB stack is used for USB DFU or serial recovery modes Signed-off-by: Jamie McCrae <[email protected]>
1 parent a9a760f commit 347a912

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

boot/zephyr/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,6 +1008,7 @@ config BOOT_USB_DFU_WAIT
10081008
select IMG_MANAGER
10091009
select STREAM_FLASH
10101010
select MULTITHREADING
1011+
imply DEPRECATION_TEST
10111012
help
10121013
If y, MCUboot waits for a prescribed duration of time to allow
10131014
for USB DFU to be invoked. Please note DFU always updates the
@@ -1020,6 +1021,7 @@ config BOOT_USB_DFU_GPIO
10201021
select IMG_MANAGER
10211022
select STREAM_FLASH
10221023
select MULTITHREADING
1024+
imply DEPRECATION_TEST
10231025
help
10241026
If y, MCUboot uses GPIO to detect whether to invoke USB DFU.
10251027

boot/zephyr/Kconfig.serial_recovery

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ config BOOT_SERIAL_UART
3838
config BOOT_SERIAL_CDC_ACM
3939
bool "CDC ACM"
4040
select USB_DEVICE_STACK
41+
imply DEPRECATION_TEST
4142
help
4243
This setting will choose CDC ACM for serial recovery unless chosen
4344
"zephyr,uart-mcumgr" is present, in which case the chosen takes

0 commit comments

Comments
 (0)