File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
BLE_TransparentMode/Core/Inc Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -376,7 +376,9 @@ typedef enum
376
376
* HW RADIO configuration
377
377
******************************************************************************/
378
378
/* Link Layer uses temperature based calibration (0 --> NO ; 1 --> YES) */
379
- #define USE_TEMPERATURE_BASED_RADIO_CALIBRATION (0)
379
+ #ifndef USE_TEMPERATURE_BASED_RADIO_CALIBRATION
380
+ #define USE_TEMPERATURE_BASED_RADIO_CALIBRATION (1)
381
+ #endif
380
382
381
383
#define RADIO_INTR_NUM RADIO_IRQn /* 2.4GHz RADIO global interrupt */
382
384
#define RADIO_INTR_PRIO_HIGH (0) /* 2.4GHz RADIO interrupt priority when radio is Active */
Original file line number Diff line number Diff line change @@ -86,6 +86,11 @@ elseif (BLE_LIB_TYPE STREQUAL "BLE_LIB_FULL")
86
86
)
87
87
endif ()
88
88
89
+ # Setting the right Cube define according to the Zephyr configuration
90
+ if (NOT CONFIG_BT_STM32WBA_USE_TEMP_BASED_CALIB )
91
+ zephyr_compile_definitions ( -DUSE_TEMPERATURE_BASED_RADIO_CALIBRATION=0 )
92
+ endif ()
93
+
89
94
# Selecting the proper version of link layer lib according the soc
90
95
# Checking all the soc variants and not simply relying on board name
91
96
Original file line number Diff line number Diff line change @@ -105,11 +105,14 @@ License Link:
105
105
opensource.org/license/mit
106
106
107
107
Patch List:
108
+ * Discard "static" implementation of ll_sys_bg_temperature_measurement_init to allow specific zephyr implementation
109
+ Impacted file: ll_sys_if.c
110
+ ll_sys.h
108
111
109
112
* Enabled extended advertising in CFG_BLE_OPTIONS:
110
113
Impacted file: app_conf.h
111
114
112
- * Disable Temperature based radio calibration:
115
+ * Allowing Temperature based radio calibration configuration to be externally overwritten :
113
116
Impacted file: app_conf.h
114
117
115
118
* Increased 2.4GHz RADIO low ISR priority:
You can’t perform that action at this time.
0 commit comments