# Copyright (c) 2024 MASSDRIVER EI (massdriver.space) # Copyright (c) 2018-2023 Nordic Semiconductor ASA # # SPDX-License-Identifier: Apache-2.0 if BOARD_PROMICRO_NRF52840 source "boards/common/usb/Kconfig.cdc_acm_serial.defconfig" # To let the nRF5 bootloader load an application, the application # must be linked after Nordic MBR, that is factory-programmed on the board. # Nordic nRF5 bootloader exists outside of the partitions specified in the # DTS file, so we manually override FLASH_LOAD_OFFSET to link the application # correctly, after Nordic MBR. # When building MCUBoot, MCUBoot itself will select USE_DT_CODE_PARTITION # which will make it link into the correct partition specified in DTS file, # the offset is applied here so that the full partition size can be used when # the bootloader Kconfig option has been disabled. config FLASH_LOAD_OFFSET default 0x1000 depends on BOARD_HAS_NRF5_BOOTLOADER && (MCUBOOT || !USE_DT_CODE_PARTITION) config BT_CTLR default BT endif # BOARD_PROMICRO_NRF52840