Skip to content

Commit 7e6efc2

Browse files
author
Donatien Garnier
committed
Cordio: Update CY8C63XX Driver to use default memory pool
1 parent f9b2361 commit 7e6efc2

File tree

1 file changed

+8
-0
lines changed
  • features/FEATURE_BLE/targets/TARGET_Cypress/TARGET_CY8C63XX

1 file changed

+8
-0
lines changed

features/FEATURE_BLE/targets/TARGET_Cypress/TARGET_CY8C63XX/Psoc6BLE.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ class Psoc6HCIDriver : public CordioHCIDriver
4646
BdAddress() : addr_type(0) {}
4747
};
4848

49+
virtual cordio::buf_pool_desc_t get_buffer_pool_description();
50+
4951
/**
5052
* Initialize the chip.
5153
* The transport is up at that time.
@@ -63,6 +65,12 @@ class Psoc6HCIDriver : public CordioHCIDriver
6365
BdAddress bd_address;
6466
};
6567

68+
cordio::buf_pool_desc_t Psoc6HCIDriver::get_buffer_pool_description()
69+
{
70+
// Use default buffer pool
71+
return ble::vendor::cordio::CordioHCIDriver::get_default_buffer_pool_description();
72+
}
73+
6674

6775
void Psoc6HCIDriver::do_initialize()
6876
{

0 commit comments

Comments
 (0)