Merge branch 'feature/add_mesh_support_macro_v5.0' into 'release/v5.0'

ble_mesh: docs: Remove BLE Mesh related reference for C2(v5.0)

See merge request espressif/esp-idf!20097
This commit is contained in:
Jiang Jiang Jian 2022-09-20 16:04:27 +08:00
commit 3c3a68513c
16 changed files with 37 additions and 12 deletions

View File

@ -735,6 +735,10 @@ config SOC_BLE_SUPPORTED
bool bool
default y default y
config SOC_BLE_MESH_SUPPORTED
bool
default y
config SOC_BT_CLASSIC_SUPPORTED config SOC_BT_CLASSIC_SUPPORTED
bool bool
default y default y

View File

@ -393,4 +393,5 @@
/*---------------------------------- Bluetooth CAPS ----------------------------------*/ /*---------------------------------- Bluetooth CAPS ----------------------------------*/
#define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */ #define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */
#define SOC_BLE_MESH_SUPPORTED (1) /*!< Support BLE MESH */
#define SOC_BT_CLASSIC_SUPPORTED (1) /*!< Support Bluetooth Classic hardware */ #define SOC_BT_CLASSIC_SUPPORTED (1) /*!< Support Bluetooth Classic hardware */

View File

@ -579,6 +579,10 @@ config SOC_BLE_SUPPORTED
bool bool
default y default y
config SOC_BLE_MESH_SUPPORTED
bool
default n
config SOC_ESP_NIMBLE_CONTROLLER config SOC_ESP_NIMBLE_CONTROLLER
bool bool
default y default y

View File

@ -280,4 +280,5 @@
/*---------------------------------- Bluetooth CAPS ----------------------------------*/ /*---------------------------------- Bluetooth CAPS ----------------------------------*/
#define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */ #define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */
#define SOC_BLE_MESH_SUPPORTED (0) /*!< Support BLE MESH */
#define SOC_ESP_NIMBLE_CONTROLLER (1) /*!< Support BLE EMBEDDED controller V1 */ #define SOC_ESP_NIMBLE_CONTROLLER (1) /*!< Support BLE EMBEDDED controller V1 */

View File

@ -818,3 +818,7 @@ config SOC_WIFI_MESH_SUPPORT
config SOC_BLE_SUPPORTED config SOC_BLE_SUPPORTED
bool bool
default y default y
config SOC_BLE_MESH_SUPPORTED
bool
default y

View File

@ -378,3 +378,4 @@
/*---------------------------------- Bluetooth CAPS ----------------------------------*/ /*---------------------------------- Bluetooth CAPS ----------------------------------*/
#define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */ #define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */
#define SOC_BLE_MESH_SUPPORTED (1) /*!< Support BLE MESH */

View File

@ -743,6 +743,10 @@ config SOC_BLE_SUPPORTED
bool bool
default y default y
config SOC_BLE_MESH_SUPPORTED
bool
default y
config SOC_ESP_NIMBLE_CONTROLLER config SOC_ESP_NIMBLE_CONTROLLER
bool bool
default y default y

View File

@ -361,4 +361,5 @@
/*---------------------------------- Bluetooth CAPS ----------------------------------*/ /*---------------------------------- Bluetooth CAPS ----------------------------------*/
#define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */ #define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */
#define SOC_BLE_MESH_SUPPORTED (1) /*!< Support BLE MESH */
#define SOC_ESP_NIMBLE_CONTROLLER (1) /*!< Support BLE EMBEDDED controller V1 */ #define SOC_ESP_NIMBLE_CONTROLLER (1) /*!< Support BLE EMBEDDED controller V1 */

View File

@ -1043,6 +1043,10 @@ config SOC_BLE_SUPPORTED
bool bool
default y default y
config SOC_BLE_MESH_SUPPORTED
bool
default y
config SOC_TWAI_BRP_MIN config SOC_TWAI_BRP_MIN
int int
default 2 default 2

View File

@ -449,3 +449,4 @@
/*---------------------------------- Bluetooth CAPS ----------------------------------*/ /*---------------------------------- Bluetooth CAPS ----------------------------------*/
#define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */ #define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */
#define SOC_BLE_MESH_SUPPORTED (1) /*!< Support BLE MESH */

View File

@ -20,7 +20,6 @@ if os.environ.get('IDF_PATH') is None:
raise RuntimeError('IDF_PATH should be set, run export.sh before building docs') raise RuntimeError('IDF_PATH should be set, run export.sh before building docs')
BT_DOCS = ['api-guides/blufi.rst', BT_DOCS = ['api-guides/blufi.rst',
'api-guides/esp-ble-mesh/**',
'api-reference/bluetooth/bt_le.rst', 'api-reference/bluetooth/bt_le.rst',
'api-reference/bluetooth/esp_bt_defs.rst', 'api-reference/bluetooth/esp_bt_defs.rst',
'api-reference/bluetooth/esp_bt_device.rst', 'api-reference/bluetooth/esp_bt_device.rst',
@ -32,11 +31,17 @@ BT_DOCS = ['api-guides/blufi.rst',
'api-reference/bluetooth/esp_gatts.rst', 'api-reference/bluetooth/esp_gatts.rst',
'api-reference/bluetooth/esp_gattc.rst', 'api-reference/bluetooth/esp_gattc.rst',
'api-reference/bluetooth/esp_blufi.rst', 'api-reference/bluetooth/esp_blufi.rst',
'api-reference/bluetooth/esp-ble-mesh.rst',
'api-reference/bluetooth/index.rst', 'api-reference/bluetooth/index.rst',
'api-reference/bluetooth/nimble/index.rst', 'api-reference/bluetooth/nimble/index.rst',
'migration-guides/release-5.x/bluetooth-low-energy.rst'] 'migration-guides/release-5.x/bluetooth-low-energy.rst']
BLE_MESH_DOCS = ['api-guides/esp-ble-mesh/ble-mesh-index.rst',
'api-guides/esp-ble-mesh/ble-mesh-feature-list.rst',
'api-guides/esp-ble-mesh/ble-mesh-terminology.rst',
'api-guides/esp-ble-mesh/ble-mesh-architecture.rst',
'api-guides/esp-ble-mesh/ble-mesh-faq.rst',
'api-reference/bluetooth/esp-ble-mesh.rst']
CLASSIC_BT_DOCS = ['api-reference/bluetooth/classic_bt.rst', CLASSIC_BT_DOCS = ['api-reference/bluetooth/classic_bt.rst',
'api-reference/bluetooth/esp_a2dp.rst', 'api-reference/bluetooth/esp_a2dp.rst',
'api-reference/bluetooth/esp_avrc.rst', 'api-reference/bluetooth/esp_avrc.rst',
@ -144,6 +149,7 @@ ESP32C3_DOCS = ['hw-reference/esp32c3/**',
# format: {tag needed to include: documents to included}, tags are parsed from sdkconfig and peripheral_caps.h headers # format: {tag needed to include: documents to included}, tags are parsed from sdkconfig and peripheral_caps.h headers
conditional_include_dict = {'SOC_BT_SUPPORTED':BT_DOCS, conditional_include_dict = {'SOC_BT_SUPPORTED':BT_DOCS,
'SOC_BLE_MESH_SUPPORTED':BLE_MESH_DOCS,
'SOC_WIFI_SUPPORTED':WIFI_DOCS, 'SOC_WIFI_SUPPORTED':WIFI_DOCS,
'SOC_BT_CLASSIC_SUPPORTED':CLASSIC_BT_DOCS, 'SOC_BT_CLASSIC_SUPPORTED':CLASSIC_BT_DOCS,
'SOC_SUPPORT_COEXISTENCE':COEXISTENCE_DOCS, 'SOC_SUPPORT_COEXISTENCE':COEXISTENCE_DOCS,

View File

@ -1,7 +1 @@
api-guides/esp-ble-mesh/ble-mesh-index
api-guides/esp-ble-mesh/ble-mesh-feature-list
api-guides/esp-ble-mesh/ble-mesh-terminology
api-guides/esp-ble-mesh/ble-mesh-architecture
api-guides/esp-ble-mesh/ble-mesh-faq
api-reference/system/wdts api-reference/system/wdts
api-reference/bluetooth/esp-ble-mesh

View File

@ -14,7 +14,7 @@ API Guides
:SOC_RTC_MEM_SUPPORTED: deep-sleep-stub :SOC_RTC_MEM_SUPPORTED: deep-sleep-stub
:SOC_USB_OTG_SUPPORTED: dfu :SOC_USB_OTG_SUPPORTED: dfu
error-handling error-handling
:SOC_BT_SUPPORTED: esp-ble-mesh/ble-mesh-index :SOC_BLE_MESH_SUPPORTED: esp-ble-mesh/ble-mesh-index
freertos-smp freertos-smp
:SOC_WIFI_MESH_SUPPORT: esp-wifi-mesh :SOC_WIFI_MESH_SUPPORT: esp-wifi-mesh
event-handling event-handling

View File

@ -10,7 +10,7 @@ Bluetooth API
bt_le bt_le
:SOC_BT_CLASSIC_SUPPORTED: classic_bt :SOC_BT_CLASSIC_SUPPORTED: classic_bt
controller_vhci controller_vhci
esp-ble-mesh :SOC_BLE_MESH_SUPPORTED: esp-ble-mesh
nimble/index nimble/index
ESP-IDF currently supports two host stacks. The Bluedroid based stack (default) supports classic Bluetooth as well as BLE. On the other hand, Apache NimBLE based stack is BLE only. For users to make a choice: ESP-IDF currently supports two host stacks. The Bluedroid based stack (default) supports classic Bluetooth as well as BLE. On the other hand, Apache NimBLE based stack is BLE only. For users to make a choice:

View File

@ -14,7 +14,7 @@ API 指南
:SOC_RTC_MEM_SUPPORTED: deep-sleep-stub :SOC_RTC_MEM_SUPPORTED: deep-sleep-stub
:SOC_USB_OTG_SUPPORTED: dfu :SOC_USB_OTG_SUPPORTED: dfu
error-handling error-handling
:SOC_BT_SUPPORTED: esp-ble-mesh/ble-mesh-index :SOC_BLE_MESH_SUPPORTED: esp-ble-mesh/ble-mesh-index
freertos-smp freertos-smp
:SOC_WIFI_MESH_SUPPORT: esp-wifi-mesh :SOC_WIFI_MESH_SUPPORT: esp-wifi-mesh
event-handling event-handling

View File

@ -10,7 +10,7 @@
bt_le bt_le
:SOC_BT_CLASSIC_SUPPORTED: classic_bt :SOC_BT_CLASSIC_SUPPORTED: classic_bt
controller_vhci controller_vhci
esp-ble-mesh :SOC_BLE_MESH_SUPPORTED: esp-ble-mesh
nimble/index nimble/index
ESP-IDF 目前支持两个主机堆栈。基于 Bluedroid 的堆栈(默认)支持传统蓝牙和 BLE而基于 Apache NimBLE 的堆栈仅支持 BLE。用户可参考如下信息进行选择 ESP-IDF 目前支持两个主机堆栈。基于 Bluedroid 的堆栈(默认)支持传统蓝牙和 BLE而基于 Apache NimBLE 的堆栈仅支持 BLE。用户可参考如下信息进行选择