Skip to content

Commit 66f380f

Browse files
mkapala-nordicstephanosio
authored andcommitted
boards: arm: thingy53: Disable USB remote wakeup by default
For Thingy:53 board, USB remote wakeup should be disabled by default. Current solution disabled it from Kconfig.defconfig, but was always overwritten by imply in CONFIG_USB_NRFX. This change disables it in board *_defconfig files. Signed-off-by: Mateusz Kapala <[email protected]>
1 parent 4fcbba2 commit 66f380f

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpuapp_defconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,9 @@ CONFIG_UART_CONSOLE=y
2424
CONFIG_SERIAL=y
2525

2626
CONFIG_PINCTRL=y
27+
28+
# Board Kconfig.defconfig enables USB CDC ACM and should disable USB remote
29+
# wakeup by default. It needs to be disabled here, because the USB nrfx
30+
# driver always overwrites option from Kconfig mentioned above with the
31+
# imply from CONFIG_USB_NRFX.
32+
CONFIG_USB_DEVICE_REMOTE_WAKEUP=n

boards/arm/thingy53_nrf5340/thingy53_nrf5340_cpuapp_ns_defconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,9 @@ CONFIG_UART_CONSOLE=y
2727
CONFIG_SERIAL=y
2828

2929
CONFIG_PINCTRL=y
30+
31+
# Board Kconfig.defconfig enables USB CDC ACM and should disable USB remote
32+
# wakeup by default. It needs to be disabled here, because the USB nrfx
33+
# driver always overwrites option from Kconfig mentioned above with the
34+
# imply from CONFIG_USB_NRFX.
35+
CONFIG_USB_DEVICE_REMOTE_WAKEUP=n

0 commit comments

Comments
 (0)