File tree 1 file changed +25
-0
lines changed
src/nimble/esp_port/esp-hci/src
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -65,5 +65,30 @@ hci_driver_ops_t hci_driver_vhci_ops = {
65
65
.hci_driver_deinit = hci_driver_vhci_deinit ,
66
66
};
67
67
68
+ // Prevent linking errors when using arduino + bluedroid with esp32c2
69
+ #if defined (CONFIG_IDF_TARGET_ESP32C2 )
70
+ void adv_stack_enableClearLegacyAdvVsCmd (bool en ){}
71
+ void scan_stack_enableAdvFlowCtrlVsCmd (bool en ){}
72
+ void advFilter_stack_enableDupExcListVsCmd (bool en ){}
73
+ void arr_stack_enableMultiConnVsCmd (bool en ){}
74
+ void pcl_stack_enableSetRssiThreshVsCmd (bool en ){}
75
+ void chanSel_stack_enableSetCsaVsCmd (bool en ){}
76
+ void log_stack_enableLogsRelatedVsCmd (bool en ){}
77
+ void hci_stack_enableSetVsEvtMaskVsCmd (bool en ){}
78
+ void winWiden_stack_enableSetConstPeerScaVsCmd (bool en ){}
79
+ #if CONFIG_IDF_TARGET_ESP32C61_ECO3
80
+ void conn_stack_enableSetPrefTxRxCntVsCmd (bool en ){}
81
+ #endif // CONFIG_IDF_TARGET_ESP32C61_ECO3
82
+
83
+ void adv_stack_enableScanReqRxdVsEvent (bool en ){}
84
+ void conn_stack_enableChanMapUpdCompVsEvent (bool en ){}
85
+ void sleep_stack_enableWakeupVsEvent (bool en ){}
86
+
87
+ #ifdef SOC_ECC_SUPPORTED
88
+ void esp_crypto_ecc_lock_acquire (void ) {}
89
+ void esp_crypto_ecc_lock_release (void ) {}
90
+ #endif
91
+ #endif
92
+
68
93
#endif
69
94
#endif
You can’t perform that action at this time.
0 commit comments