24#if IS_USED(MODULE_SX126X_STM32WL)
36#define SX126X_PARAM_SPI (SPI_DEV(0))
37#define SX126X_PARAM_TX_PA_MODE SX126X_RF_MODE_TX_HPA
38#if IS_USED(MODULE_SX126X_STM32WL)
40#define SX126X_PARAM_SET_RF_MODE_CB lora_e5_dev_sx126x_set_rf_mode
41#define SX126X_PARAM_TYPE SX126X_TYPE_STM32WL
49#define LED0_PORT GPIO_PORT_B
50#define LED0_PORT_NUM PORT_B
58#define BTN0_PIN GPIO_PIN(PORT_B, 13)
59#define BTN0_MODE GPIO_IN_PU
60#define BTN1_PIN GPIO_PIN(PORT_A, 0)
61#define BTN1_MODE GPIO_IN_PU
70#define FE_CTRL1 GPIO_PIN(PORT_A, 4)
71#define FE_CTRL2 GPIO_PIN(PORT_A, 5)
77#ifndef CONFIG_LORA_E5_DEV_ENABLE_3P3V
78#define CONFIG_LORA_E5_DEV_ENABLE_3P3V 1
83#ifndef CONFIG_LORA_E5_DEV_ENABLE_5V
84#define CONFIG_LORA_E5_DEV_ENABLE_5V 1
89#define LORA_E5_DEV_3P3V_ENABLE_PIN GPIO_PIN(PORT_A, 9)
93#define LORA_E5_DEV_5V_ENABLE_PIN GPIO_PIN(PORT_B, 10)
sx126x_rf_mode_t
RF switch states.
Common macros and compiler attributes/pragmas configuration.
Device descriptor for the driver.