1# Thingy53 NRF5340 board configuration 2 3# Copyright (c) 2021 Nordic Semiconductor ASA 4# SPDX-License-Identifier: Apache-2.0 5 6config THINGY53_MISO_WORKAROUND 7 bool "MISO workaround" 8 default SPI 9 help 10 Workaround SPI bus MISO issues. The workaround sets dedicated pin 11 high in order to avoid voltage drops on the SPI MISO line. 12 13config THINGY53_INIT_PRIORITY 14 int "Init priority" 15 default 79 16 help 17 Initialization priority of the Thingy:53. 18 19config IPM_NRFX 20 default IPM 21 22config RPMSG_SERVICE_DUAL_IPM_SUPPORT 23 default RPMSG_SERVICE 24 25if RPMSG_SERVICE_DUAL_IPM_SUPPORT 26 27config IPM_MSG_CH_0_ENABLE 28 default y 29 30config IPM_MSG_CH_1_ENABLE 31 default y 32 33config RPMSG_SERVICE_IPM_TX_NAME 34 default "IPM_0" if RPMSG_SERVICE_MODE_MASTER 35 default "IPM_1" if RPMSG_SERVICE_MODE_REMOTE 36 37config RPMSG_SERVICE_IPM_RX_NAME 38 default "IPM_1" if RPMSG_SERVICE_MODE_MASTER 39 default "IPM_0" if RPMSG_SERVICE_MODE_REMOTE 40 41config IPM_MSG_CH_0_TX 42 default RPMSG_SERVICE_MODE_MASTER 43 44config IPM_MSG_CH_0_RX 45 default RPMSG_SERVICE_MODE_REMOTE 46 47config IPM_MSG_CH_1_TX 48 default RPMSG_SERVICE_MODE_REMOTE 49 50config IPM_MSG_CH_1_RX 51 default RPMSG_SERVICE_MODE_MASTER 52 53endif # RPMSG_SERVICE_DUAL_IPM_SUPPORT 54 55if BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP_NS 56 57config BOARD_ENABLE_DCDC_APP 58 bool "Enable Application MCU DCDC converter" 59 select SOC_DCDC_NRF53X_APP 60 default y 61 62config BOARD_ENABLE_DCDC_NET 63 bool "Enable Network MCU DCDC converter" 64 select SOC_DCDC_NRF53X_NET 65 default y 66 67config BOARD_ENABLE_DCDC_HV 68 bool "Enable High Voltage DCDC converter" 69 select SOC_DCDC_NRF53X_HV 70 default y 71 72config BOARD_ENABLE_CPUNET 73 bool "Enable nRF53 Network MCU" 74 help 75 This option enables releasing the Network 'force off' signal, which 76 as a consequence will power up the Network MCU during system boot. 77 Additionally, the option allocates GPIO pins that will be used by UARTE 78 of the Network MCU. 79 Note: GPIO pin allocation can only be configured by the secure Application 80 MCU firmware, so when this option is used with the non-secure version of 81 the board, the application needs to take into consideration, that the 82 secure firmware image must already have configured GPIO allocation for the 83 Network MCU. 84 default y if (BT || NRF_802154_SER_HOST) 85 86config DOMAIN_CPUNET_BOARD 87 string 88 default "thingy53_nrf5340_cpunet" 89 depends on BOARD_ENABLE_CPUNET 90 help 91 The board which will be used for CPUNET domain when creating a multi 92 image application where one or more images should be located on 93 another board. For example hci_rpmsg on the nRF5340_cpunet for 94 Bluetooth applications. 95 96endif # BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP_NS 97 98if BOARD_THINGY53_NRF5340_CPUNET 99 100config DOMAIN_CPUAPP_BOARD 101 string 102 default "thingy53_nrf5340_cpuapp" 103 help 104 The board which will be used for CPUAPP domain when creating a multi 105 image application where one or more images should be located on 106 another board. 107 108endif # BOARD_THINGY53_NRF5340_CPUNET 109