commit | 67caae3aca0847dc3e33a67ace5ccc0405a661d2 | [log] [tgz] |
---|---|---|
author | Johann Fischer <johann.fischer@nordicsemi.no> | Fri Jun 07 19:35:45 2024 +0200 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Tue Jul 30 18:26:04 2024 +0100 |
tree | f29c52c6b4efb1586f90d0b3072030608ab958e5 | |
parent | bfc0cdc905baa99befb07fcaf0e62ce9d04cca88 [diff] |
usb: device_next: introduce UDC_BUF_POOL_*_DEFINE macros Introduce UDC_BUF_POOL_*_DEFINE macros based on NET_BUF_POOL_*_DEFINE macros but use our own version of alloc and unref callbacks to get buffers with specific alignment and granularity. Also, do not use ref callback because it breaks alignment. Also introduces helper macros for defining and checking UDC driver-compliant static buffers. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>