mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/fix_config_option_v5.0' into 'release/v5.0'
Nimble: Fixed setting macro values based on selected configuration (v5.0) See merge request espressif/esp-idf!24138
This commit is contained in:
commit
c68e7eab06
@ -1 +1 @@
|
||||
Subproject commit d0a96abbd6f3ba076ef5bdb5768330e8d0dcb1ed
|
||||
Subproject commit 7206e325dbd95ad42235c3cefa686d8b872b92ee
|
@ -84,6 +84,7 @@
|
||||
#define BLE_50_FEATURE_SUPPORT (CONFIG_BT_NIMBLE_50_FEATURE_SUPPORT)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BT_NIMBLE_EXT_ADV
|
||||
#define MYNEWT_VAL_BLE_EXT_ADV (0)
|
||||
#else
|
||||
@ -134,25 +135,25 @@
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BT_NIMBLE_ROLE_BROADCASTER
|
||||
#define MYNEWT_VAL_BLE_ROLE_BROADCASTER (1)
|
||||
#define MYNEWT_VAL_BLE_ROLE_BROADCASTER (0)
|
||||
#else
|
||||
#define MYNEWT_VAL_BLE_ROLE_BROADCASTER (CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BT_NIMBLE_ROLE_CENTRAL
|
||||
#define MYNEWT_VAL_BLE_ROLE_CENTRAL (1)
|
||||
#define MYNEWT_VAL_BLE_ROLE_CENTRAL (0)
|
||||
#else
|
||||
#define MYNEWT_VAL_BLE_ROLE_CENTRAL (CONFIG_BT_NIMBLE_ROLE_CENTRAL)
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BT_NIMBLE_ROLE_OBSERVER
|
||||
#define MYNEWT_VAL_BLE_ROLE_OBSERVER (1)
|
||||
#define MYNEWT_VAL_BLE_ROLE_OBSERVER (0)
|
||||
#else
|
||||
#define MYNEWT_VAL_BLE_ROLE_OBSERVER (CONFIG_BT_NIMBLE_ROLE_OBSERVER)
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
|
||||
#define MYNEWT_VAL_BLE_ROLE_PERIPHERAL (1)
|
||||
#define MYNEWT_VAL_BLE_ROLE_PERIPHERAL (0)
|
||||
#else
|
||||
#define MYNEWT_VAL_BLE_ROLE_PERIPHERAL (CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
|
||||
#endif
|
||||
@ -313,7 +314,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BT_NIMBLE_HCI_UART_PORT
|
||||
#define MYNEWT_VAL_BLE_HCI_UART_PORT (1)
|
||||
#define MYNEWT_VAL_BLE_HCI_UART_PORT (0)
|
||||
#else
|
||||
#define MYNEWT_VAL_BLE_HCI_UART_PORT (CONFIG_BT_NIMBLE_HCI_UART_PORT)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user