mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Add esp_timer_is_active function for Nimble stack to use esp_timer instead of FreeRTOS timer
This commit is contained in:
@@ -500,3 +500,9 @@ config BT_NIMBLE_BLUFI_ENABLE
|
||||
default n
|
||||
help
|
||||
Set this option to enable blufi functionality.
|
||||
|
||||
config BT_NIMBLE_USE_ESP_TIMER
|
||||
bool "Enable Esp Timer for Nimble"
|
||||
default y
|
||||
help
|
||||
Set this option to use Esp Timer which has higher priority timer instead of FreeRTOS timer
|
||||
|
||||
Submodule components/bt/host/nimble/nimble updated: 5bb7b40227...a90d8e46b8
@@ -1374,4 +1374,12 @@
|
||||
#define MYNEWT_VAL_NEWT_FEATURE_LOGCFG (1)
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_USE_ESP_TIMER
|
||||
#ifdef CONFIG_BT_NIMBLE_USE_ESP_TIMER
|
||||
#define MYNEWT_VAL_BLE_USE_ESP_TIMER (1)
|
||||
#else
|
||||
#define MYNEWT_VAL_BLE_USE_ESP_TIMER (0)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user