zephyr/drivers/bluetooth
Gerard Marull-Paretas 3f2c2d4130 drivers: spi: make SPI dt-spec macros compatible with C++
As of today it is not possible to use SPI dt-spec macros in C++,
something known and documented. The main reason is because `cs` property
is initialized using a compound literal, something not supported in C++.
This PR takes another approach, that is to not make `cs` a pointer but a
struct member. This way, we can perform a regular initialization, at the
cost of using extra memory for unused delay/pin/flags if `cs` is not
used.

Fixes #56572

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-04-24 21:29:55 +02:00
..
hci drivers: spi: make SPI dt-spec macros compatible with C++ 2023-04-24 21:29:55 +02:00
CMakeLists.txt
Kconfig drivers: kconfig: unify menuconfig title strings 2023-03-28 15:06:06 +02:00
util.h