1# CTHINGS.CO Connectivity Card board configuration 2 3# Copyright (c) 2024 CTHINGS.CO 4# SPDX-License-Identifier: Apache-2.0 5 6if BOARD_CTCC_NRF52840 7 8source "boards/common/usb/Kconfig.cdc_acm_serial.defconfig" 9 10endif # BOARD_CTCC_NRF52840 11 12if BOARD_CTCC_NRF9161 || BOARD_CTCC_NRF9161_NS 13 14# Workaround for not being able to have commas in macro arguments. 15# For explanation please see: boards/nordic/nrf9161dk/Kconfig.defconfig 16DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition 17 18config FLASH_LOAD_SIZE 19 default $(dt_chosen_reg_size_hex,$(DT_CHOSEN_Z_CODE_PARTITION)) 20 depends on BOARD_CTCC_NRF9161 && TRUSTED_EXECUTION_SECURE 21 22if BOARD_CTCC_NRF9161_NS 23 24config FLASH_LOAD_OFFSET 25 default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_CODE_PARTITION)) 26 27config FLASH_LOAD_SIZE 28 default $(dt_chosen_reg_size_hex,$(DT_CHOSEN_Z_CODE_PARTITION)) 29 30endif # BOARD_CTCC_NRF9161_NS 31endif # BOARD_CTCC_NRF9161 || BOARD_CTCC_NRF9161_NS 32