# https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-sysbuild/topic/exercise-1-configuring-extra-image/
# STEP 4.1 - Disable anything on UART in MCUboot
CONFIG_SERIAL=n

# https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/exercise-1-dfu-over-uart/
# STEP 2.3 - Enable logging for MCUboot  
CONFIG_LOG=y
CONFIG_MCUBOOT_LOG_LEVEL_INF=y

# STEP 3.1 - Enable Serial Recovery over UART  
CONFIG_MCUBOOT_SERIAL=y
CONFIG_BOOT_SERIAL_UART=y

# STEP 3.2 - Disable UART, since Serial Recovery uses it  
CONFIG_UART_CONSOLE=n

# STEP 3.3 - Turn on a LED so we can see when Serial Recovery mode is active
CONFIG_MCUBOOT_INDICATION_LED=y

##### USB
# https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-9-bootloaders-and-dfu-fota/topic/exercise-4-dfu-over-usb/
# STEP 1.1 - Configure serial recovery to use CDC_ACM, which by default uses the USB
CONFIG_BOOT_SERIAL_CDC_ACM=y

# STEP 3.1 - Increase flash space for MCUboot child image, to fit USB drivers
CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x11000

CONFIG_USB_DEVICE_PID=0x5500