soc: cc13xx_cc26xx: config option to enable boost mode

New KConfig option to set `CCFG_FORCE_VDDR_HH` inside CC13xx/CC26xx
customer configuration file, making it it possible to use 14dBm
TX power (instead of the default 13 dBm limitation).

Signed-off-by: Stancu Florin <niflostancu@gmail.com>
This commit is contained in:
Stancu Florin 2021-09-09 12:22:49 +03:00 committed by Stephanos Ioannidis
commit 200a0db01a
2 changed files with 9 additions and 0 deletions

View file

@ -18,6 +18,11 @@ endchoice
menu "Customer Configuration (CCFG)" menu "Customer Configuration (CCFG)"
depends on SOC_SERIES_CC13X2_CC26X2 depends on SOC_SERIES_CC13X2_CC26X2
config CC13X2_CC26X2_BOOST_MODE
bool "Radio boost mode (VDDR_HH)"
help
Enable the radio boost mode +14dBm (sets CCFG_FORCE_VDDR_HH to 1).
config CC13X2_CC26X2_BOOTLOADER_ENABLE config CC13X2_CC26X2_BOOTLOADER_ENABLE
bool "ROM bootloader" bool "ROM bootloader"
help help

View file

@ -4,6 +4,10 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#ifdef CONFIG_CC13X2_CC26X2_BOOST_MODE
#define CCFG_FORCE_VDDR_HH 1
#endif
#ifdef CONFIG_CC13X2_CC26X2_BOOTLOADER_ENABLE #ifdef CONFIG_CC13X2_CC26X2_BOOTLOADER_ENABLE
#define SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE 0xC5 #define SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE 0xC5
#else #else