This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new c3d130574 nimble: Add option to select Core 6.0
c3d130574 is described below

commit c3d13057414613430bd4cbea639ca1b00fa36656
Author: Andrzej Kaczmarek <[email protected]>
AuthorDate: Mon Feb 10 12:45:09 2025 +0100

    nimble: Add option to select Core 6.0
---
 nimble/include/nimble/hci_common.h | 7 +++++++
 nimble/syscfg.yml                  | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/nimble/include/nimble/hci_common.h 
b/nimble/include/nimble/hci_common.h
index 6d9ba85db..395856f21 100644
--- a/nimble/include/nimble/hci_common.h
+++ b/nimble/include/nimble/hci_common.h
@@ -2373,6 +2373,7 @@ struct ble_hci_ev_le_subev_cs_test_end_complete {
 #define BLE_HCI_VER_BCS_5_2                 (11)
 #define BLE_HCI_VER_BCS_5_3                 (12)
 #define BLE_HCI_VER_BCS_5_4                 (13)
+#define BLE_HCI_VER_BCS_6_0                 (14)
 
 #define BLE_LMP_VER_BCS_1_0b                (0)
 #define BLE_LMP_VER_BCS_1_1                 (1)
@@ -2388,6 +2389,7 @@ struct ble_hci_ev_le_subev_cs_test_end_complete {
 #define BLE_LMP_VER_BCS_5_2                 (11)
 #define BLE_LMP_VER_BCS_5_3                 (12)
 #define BLE_LMP_VER_BCS_5_4                 (13)
+#define BLE_LMP_VER_BCS_6_0                 (14)
 
 /* selected HCI and LMP version */
 #if MYNEWT_VAL(BLE_VERSION) == 50
@@ -2405,6 +2407,11 @@ struct ble_hci_ev_le_subev_cs_test_end_complete {
 #elif MYNEWT_VAL(BLE_VERSION) == 54
 #define BLE_HCI_VER_BCS BLE_HCI_VER_BCS_5_4
 #define BLE_LMP_VER_BCS BLE_LMP_VER_BCS_5_4
+#elif MYNEWT_VAL(BLE_VERSION) == 60
+#define BLE_HCI_VER_BCS BLE_HCI_VER_BCS_6_0
+#define BLE_LMP_VER_BCS BLE_LMP_VER_BCS_6_0
+#else
+#error Unsupported BLE_VERSION selected
 #endif
 
 #define BLE_HCI_DATA_HDR_SZ                 4
diff --git a/nimble/syscfg.yml b/nimble/syscfg.yml
index d19702790..638a40832 100644
--- a/nimble/syscfg.yml
+++ b/nimble/syscfg.yml
@@ -87,7 +87,7 @@ syscfg.defs:
             This allows to configure supported Bluetooth Core version. Some
             features may not be available if version is too low. Version is
             integer for easy comparison.
-        range: 50, 51, 52, 53, 54
+        range: 50, 51, 52, 53, 54, 60
         value: 50
     BLE_ISO:
         description: >

Reply via email to