---- enable RF on WL55JC_DEV_BOARD with WLE5CC startup firmware

This commit is contained in:
Yunhorn 2024-10-16 13:06:08 +08:00
parent 353deb7e48
commit 61b28d1e28
2 changed files with 8 additions and 2 deletions
Core/Inc
LoRaWAN/Target

View File

@ -28,9 +28,9 @@ extern "C" {
/* Exported constants --------------------------------------------------------*/
//#define USE_BSP_DRIVER
#define USE_BSP_DRIVER
/* USER CODE BEGIN EC */
#define YUNHORN_STS_WLE5CCxx 1
//#define YUNHORN_STS_WLE5CCxx 1
/* USER CODE END EC */
/* Includes ------------------------------------------------------------------*/

View File

@ -151,6 +151,12 @@ typedef enum
RBI_SWITCH_RFO_LP = RADIO_SWITCH_RFO_LP,
RBI_SWITCH_RFO_HP = RADIO_SWITCH_RFO_HP,
} RBI_Switch_TypeDef;
typedef enum
{
RBI_RFO_LP_MAXPOWER = 0,
RBI_RFO_HP_MAXPOWER = 1,
} RBI_RFOMaxPowerConfig_TypeDef;
#elif defined(YUNHORN_STS_WLE5CCxx)
typedef enum
{