1# Texas Instruments SimpleLink CC13x2 / CC26x2 2 3# Copyright (c) 2019 Brett Witherspoon 4# SPDX-License-Identifier: Apache-2.0 5 6if SOC_SERIES_CC13X2_CC26X2 7 8source "soc/arm/ti_simplelink/cc13x2_cc26x2/Kconfig.defconfig.cc*" 9 10config SOC_SERIES 11 default "cc13x2_cc26x2" 12 13config SYS_CLOCK_HW_CYCLES_PER_SEC 14 default 32768 15 16# Note that when using the RTC as system clock, this needs to be 32768 17# to reduce truncation errors from accumulating due to conversion to/from 18# time, ticks, and HW cycles 19config SYS_CLOCK_TICKS_PER_SEC 20 default 32768 21 22config NUM_IRQS 23 default 38 24 25config CC13X2_CC26X2_RTC_TIMER 26 default y 27 28config PINMUX_CC13XX_CC26XX 29 default y 30 depends on PINMUX 31 32config GPIO_CC13XX_CC26XX 33 default y 34 depends on GPIO 35 36config ENTROPY_CC13XX_CC26XX_RNG 37 default y 38 depends on ENTROPY_GENERATOR 39 40config UART_CC13XX_CC26XX 41 default y 42 depends on SERIAL 43 44config I2C_CC13XX_CC26XX 45 default y 46 depends on I2C 47 48config SPI_CC13XX_CC26XX 49 default y 50 depends on SPI 51 52if IEEE802154 53 54config IEEE802154_CC13XX_CC26XX 55 default y 56 # required for linking with PowerCC26X2_config in 57 # soc/arm/ti_simplelink/cc13x2_cc26x2/power.c 58 select PM 59 60config IEEE802154_CC13XX_CC26XX_SUB_GHZ 61 default y 62 # required for linking with PowerCC26X2_config in 63 # soc/arm/ti_simplelink/cc13x2_cc26x2/power.c 64 select PM 65 66config NET_CONFIG_IEEE802154_DEV_NAME 67 default IEEE802154_CC13XX_CC26XX_DRV_NAME 68 69endif # IEEE802154 70 71if BT 72 73config BLE_CC13XX_CC26XX 74 bool 75 default y 76 77endif # BT 78 79endif # SOC_SERIES_CC13X2_CC26X2 80