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