diff options
Diffstat (limited to 'Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE_Thread/Ble_Thread_Static/Core/Inc/app_conf.h')
-rw-r--r-- | Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE_Thread/Ble_Thread_Static/Core/Inc/app_conf.h | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE_Thread/Ble_Thread_Static/Core/Inc/app_conf.h b/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE_Thread/Ble_Thread_Static/Core/Inc/app_conf.h index 1ce26c5e9..8cddfadcf 100644 --- a/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE_Thread/Ble_Thread_Static/Core/Inc/app_conf.h +++ b/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE_Thread/Ble_Thread_Static/Core/Inc/app_conf.h @@ -23,6 +23,7 @@ #include "hw.h" #include "hw_conf.h" +#include "hw_if.h" /****************************************************************************** * Application Config @@ -94,8 +95,20 @@ */ #define CFG_BLE_ERK {0xfe,0xdc,0xba,0x09,0x87,0x65,0x43,0x21,0xfe,0xdc,0xba,0x09,0x87,0x65,0x43,0x21} +/* USER CODE BEGIN Generic_Parameters */ +/** + * SMPS supply + * SMPS not used when Set to 0 + * SMPS used when Set to 1 + */ +#define CFG_USE_SMPS 1 +/* USER CODE END Generic_Parameters */ + /**< specific parameters */ /*****************************************************/ +#define CFG_LED_SUPPORTED 1 +#define CFG_BUTTON_SUPPORTED 1 + #define PUSH_BUTTON_SW1_EXTI_IRQHandler EXTI4_IRQHandler #define PUSH_BUTTON_SW2_EXTI_IRQHandler EXTI0_IRQHandler #define PUSH_BUTTON_SW3_EXTI_IRQHandler EXTI1_IRQHandler @@ -116,15 +129,15 @@ #define CFG_DEV_ID_P2P_SERVER6 (0x8A) #define CFG_DEV_ID_P2P_ROUTER (0x85) -#define RADIO_ACTIVITY_EVENT 1 /* 1 for OOB Demo */ +#define RADIO_ACTIVITY_EVENT 1 /* 1 for OOB Demo */ /** * AD Element - Group B Feature */ -/* LSB - Firt Byte */ +/* LSB - First Byte */ #define CFG_FEATURE_THREAD_SWITCH (0x40) -/* LSB - Second Byte */ +/* LSB - Second Byte */ #define CFG_FEATURE_OTA_REBOOT (0x20) #define CONN_L(x) ((int)((x)/0.625f)) @@ -217,7 +230,7 @@ * 1 : internal RO * 0 : external crystal ( no calibration ) */ -#define CFG_BLE_LSE_SOURCE 1 +#define CFG_BLE_LSE_SOURCE 0 /** * Start up time of the high speed (16 or 32 MHz) crystal oscillator in units of 625/256 us (~2.44 us) @@ -425,11 +438,6 @@ typedef enum #define CFG_DEBUGGER_SUPPORTED 1 #endif -/* USER CODE BEGIN Defines */ -#define CFG_LED_SUPPORTED 1 -#define CFG_BUTTON_SUPPORTED 1 -/* USER CODE END Defines */ - /** * When CFG_DEBUG_TRACE_FULL is set to 1, the trace are output with the API name, the file name and the line number * When CFG_DEBUG_TRACE_LIGHT is set to 1, only the debug message is output @@ -553,7 +561,10 @@ typedef enum typedef enum { CFG_LPM_APP, - CFG_LPM_APP_BLE + CFG_LPM_APP_BLE + /* USER CODE BEGIN CFG_LPM_Id_t */ + + /* USER CODE END CFG_LPM_Id_t */ } CFG_LPM_Id_t; /****************************************************************************** |