1# SPDX-License-Identifier: Apache-2.0 2# Copyright (c) 2023 Nordic Semiconductor ASA 3 4if SOC_SERIES_BSIM_NRFXX 5 6config BUILD_OUTPUT_BIN 7 default n 8 9config BUILD_OUTPUT_EXE 10 # When the IPC service is used, the net core image requires the application core image, as it needs 11 # access to its IPC buffer. Without it, the executable cannot be built. 12 default y if !(BOARD_NRF5340BSIM_NRF5340_CPUNET && IPC_SERVICE && (NATIVE_SIMULATOR_EXTRA_IMAGE_PATHS = "")) 13 14config OUTPUT_PRINT_MEMORY_USAGE 15 default n 16 17config NATIVE_SIMULATOR_NUMBER_MCUS 18 default 2 if BOARD_NRF5340BSIM_NRF5340_CPUNET || BOARD_NRF5340BSIM_NRF5340_CPUAPP 19 default 1 20 21config NATIVE_SIMULATOR_MCU_N 22 default 1 if BOARD_NRF5340BSIM_NRF5340_CPUNET 23 default 0 24 25config NATIVE_SIMULATOR_AUTOSTART_MCU 26 default y if BOARD_NRF5340BSIM_NRF5340_CPUNET 27 28config NATIVE_SIMULATOR_PRIMARY_MCU_INDEX 29 default 1 if SOC_SERIES_BSIM_NRF53X 30 default 0 31 32config SYS_CLOCK_HW_CYCLES_PER_SEC 33 default 1000000 if NRF_GRTC_TIMER 34 default 32768 35 36config SYS_CLOCK_TICKS_PER_SEC 37 default 128 if !TICKLESS_KERNEL 38 default 10000 if NRF_GRTC_TIMER 39 default 32768 40 41config HEAP_MEM_POOL_ADD_SIZE_BOARD 42 int 43 default 4096 if BT_HCI_IPC 44 default 4096 if NRF_802154_SER_HOST && BOARD_NRF5340BSIM_NRF5340_CPUAPP 45 default 4096 if NRF_802154_SER_RADIO && BOARD_NRF5340BSIM_NRF5340_CPUNET 46 47if BOARD_NRF5340BSIM_NRF5340_CPUAPP 48 49config IPC_SERVICE_BACKEND_RPMSG_SHMEM_RESET 50 default y if IPC_SERVICE_BACKEND_RPMSG 51 52config BT_HCI_IPC 53 default y if BT 54 55endif # BOARD_NRF5340BSIM_NRF5340_CPUAPP 56 57# The 15.4 driver Tx encryption is currently not functional with this 58# simulated board => we disable it by default. With this Openthread will normally 59# default to encrypt packets on its own. 60config NRF_802154_ENCRYPTION 61 default n 62 63if CONSOLE 64 65config POSIX_ARCH_CONSOLE 66 default y 67 68endif # CONSOLE 69 70endif # SOC_SERIES_BSIM_NRFXX 71