Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | # nRF5340 (P)DK board configuration # Copyright (c) 2019 - 2021 Nordic Semiconductor ASA # SPDX-License-Identifier: Apache-2.0 config IPM_NRFX default IPM config RPMSG_SERVICE_DUAL_IPM_SUPPORT default RPMSG_SERVICE if RPMSG_SERVICE_DUAL_IPM_SUPPORT config IPM_MSG_CH_0_ENABLE default y config IPM_MSG_CH_1_ENABLE default y config RPMSG_SERVICE_IPM_TX_NAME default "IPM_0" if RPMSG_SERVICE_MODE_MASTER default "IPM_1" if RPMSG_SERVICE_MODE_REMOTE config RPMSG_SERVICE_IPM_RX_NAME default "IPM_1" if RPMSG_SERVICE_MODE_MASTER default "IPM_0" if RPMSG_SERVICE_MODE_REMOTE config IPM_MSG_CH_0_TX default RPMSG_SERVICE_MODE_MASTER config IPM_MSG_CH_0_RX default RPMSG_SERVICE_MODE_REMOTE config IPM_MSG_CH_1_TX default RPMSG_SERVICE_MODE_REMOTE config IPM_MSG_CH_1_RX default RPMSG_SERVICE_MODE_MASTER endif # RPMSG_SERVICE_DUAL_IPM_SUPPORT if BOARD_NRF5340PDK_NRF5340_CPUAPP || BOARD_NRF5340PDK_NRF5340_CPUAPPNS || BOARD_NRF5340DK_NRF5340_CPUAPP || BOARD_NRF5340DK_NRF5340_CPUAPPNS config BOARD_ENABLE_DCDC_APP bool "Enable Application MCU DCDC converter" select SOC_DCDC_NRF53X_APP default y config BOARD_ENABLE_DCDC_NET bool "Enable Network MCU DCDC converter" select SOC_DCDC_NRF53X_NET default y config BOARD_ENABLE_DCDC_HV bool "Enable High Voltage DCDC converter" select SOC_DCDC_NRF53X_HV default y choice BT_HCI_BUS_TYPE default BT_RPMSG if BT endchoice config HEAP_MEM_POOL_SIZE default 4096 if BT_RPMSG config BT_HAS_HCI_VS default y if BT config BOARD_ENABLE_CPUNET bool "Enable nRF53 Network MCU" help This option enables releasing the Network 'force off' signal, which as a consequence will power up the Network MCU during system boot. Additionally, the option allocates GPIO pins that will be used by UARTE of the Network MCU. Note: GPIO pin allocation can only be configured by the secure Application MCU firmware, so when this option is used with the non-secure version of the board, the application needs to take into consideration, that the secure firmware image must already have configured GPIO allocation for the Network MCU. default y if (BT || NRF_802154_SER_HOST) config DOMAIN_CPUNET_BOARD string default "nrf5340pdk_nrf5340_cpunet" if BOARD_NRF5340PDK_NRF5340_CPUAPP || BOARD_NRF5340PDK_NRF5340_CPUAPPNS default "nrf5340dk_nrf5340_cpunet" if BOARD_NRF5340DK_NRF5340_CPUAPP || BOARD_NRF5340DK_NRF5340_CPUAPPNS depends on BOARD_ENABLE_CPUNET help The board which will be used for CPUNET domain when creating a multi image application where one or more images should be located on another board. For example hci_rpmsg on the nRF5340_cpunet for Bluetooth applications. endif # BOARD_NRF5340PDK_NRF5340_CPUAPP || BOARD_NRF5340PDK_NRF5340_CPUAPPNS || BOARD_NRF5340DK_NRF5340_CPUAPP || BOARD_NRF5340DK_NRF5340_CPUAPPNS if BOARD_NRF5340PDK_NRF5340_CPUNET || BOARD_NRF5340DK_NRF5340_CPUNET # BT_CTLR depends on BT. When BT is enabled we should default to also # enabling the controller. config BT_CTLR default y if BT config BT_ECC default y if BT config DOMAIN_CPUAPP_BOARD string default "nrf5340pdk_nrf5340_cpuapp" if BOARD_NRF5340PDK_NRF5340_CPUNET default "nrf5340dk_nrf5340_cpuapp" if BOARD_NRF5340DK_NRF5340_CPUNET help The board which will be used for CPUAPP domain when creating a multi image application where one or more images should be located on another board. endif # BOARD_NRF5340PDK_NRF5340_CPUNET || BOARD_NRF5340DK_NRF5340_CPUNET |