1# Texas Instruments SimpleLink CC13x2 / CC26x2
2# Copyright (c) 2022 Vaishnav Achath
3# SPDX-License-Identifier: Apache-2.0
4
5config SOC_SERIES_CC13X2X7_CC26X2X7
6	bool
7	select ARM
8	select CPU_CORTEX_M4
9	select CPU_HAS_ARM_MPU
10	select DYNAMIC_INTERRUPTS
11	select CPU_CORTEX_M_HAS_DWT
12	select CPU_HAS_FPU
13	select HAS_CC13X2X7_CC26X2X7_SDK
14	select HAS_TI_CCFG if !BOOTLOADER_MCUBOOT
15	select HAS_SEGGER_RTT if ZEPHYR_SEGGER_MODULE
16	select HAS_PM
17	select SOC_EARLY_INIT_HOOK
18	select PINCTRL
19
20menu "Customer Configuration (CCFG)"
21depends on SOC_SERIES_CC13X2X7_CC26X2X7
22
23config CC13X2_CC26X2_BOOST_MODE
24	bool "Radio boost mode (VDDR_HH)"
25	help
26	  Enable the radio boost mode +14dBm (sets CCFG_FORCE_VDDR_HH to 1).
27
28config CC13X2_CC26X2_HAS_CUSTOM_RF_HWATTRS
29	bool "Board defines custom RFCC26XX hwAttrs structure"
30	help
31	  The board defines its own RFCC26XX_hwAttrs structure (e.g., for
32	  custom antenna switching callback).
33
34config CC13X2_CC26X2_BOOTLOADER_ENABLE
35	bool "ROM bootloader"
36	help
37	  Enable the serial bootloader which resides in ROM on CC13xx / CC26xx
38	  devices.
39
40config CC13X2_CC26X2_BOOTLOADER_BACKDOOR_ENABLE
41	bool "ROM bootloader backdoor"
42	depends on CC13X2_CC26X2_BOOTLOADER_ENABLE
43	help
44	  Enable the ROM bootloader backdoor which starts the bootloader if the
45	  associated pin is at the correct logic level on reset.
46
47config CC13X2_CC26X2_BOOTLOADER_BACKDOOR_PIN
48	int "ROM bootloader backdoor pin"
49	depends on CC13X2_CC26X2_BOOTLOADER_BACKDOOR_ENABLE
50	range 0 $(UINT8_MAX)
51	default $(UINT8_MAX)
52	help
53	  Set the pin that is level checked if the bootloader backdoor is
54	  enabled.
55
56config CC13X2_CC26X2_BOOTLOADER_BACKDOOR_LEVEL
57	int "ROM bootloader backdoor level"
58	depends on CC13X2_CC26X2_BOOTLOADER_BACKDOOR_ENABLE
59	range 0 1
60	default 0
61	help
62	  Set the active level of the pin selected for the bootloader backdoor.
63
64config CC13X2_CC26X2_XOSC_CAPARRAY_DELTA
65	hex "Cap array tuning delta"
66	range 0 0xFF
67	default 0xD5
68	help
69	  Enable a specific cap array tunning delta.
70
71endmenu
72