zephyr/samples
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
..
application_development samples: out_of_tree_driver: fix kconfig dependency 2023-04-19 21:02:11 -04:00
arch shell: fix MISRA 5.7 violations on `struct shell` 2023-04-14 12:21:08 +02:00
basic samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
bluetooth apps: misc void main -> int main fixes 2023-04-18 05:45:36 -07:00
boards drivers: spi: make SPI dt-spec macros compatible with C++ 2023-04-24 21:29:55 +02:00
compression samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
cpp
drivers drivers: spi: make SPI dt-spec macros compatible with C++ 2023-04-24 21:29:55 +02:00
fuel_gauge samples, tests: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
hello_world samples, tests: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
kernel samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
modules samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
net samples: net: sockets: sntp_client: build for native_posix 2023-04-24 09:23:17 -04:00
philosophers samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
posix tests: remove intel adsp cavs platforms from filters 2023-04-06 18:51:56 +02:00
sensor samples, tests: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
shields apps: misc void main -> int main fixes 2023-04-18 05:45:36 -07:00
subsys samples: settings: Fix typo in comment 2023-04-18 09:31:06 +02:00
synchronization samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
tfm_integration samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
userspace samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
classic.rst
index.rst
sample_definition_and_criteria.rst