3f2c2d4130
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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.infineon | ||
cyw43xxx.c | ||
h4.c | ||
h5.c | ||
hci_b91.c | ||
hci_esp32.c | ||
ipm_stm32wb.c | ||
rpmsg.c | ||
slz_hci.c | ||
spi.c | ||
userchan.c |