zephyr/samples/boards
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
..
96b_argonkey samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
arc_secure_services samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
bbc_microbit samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
esp32 samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
google_kukui samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
intel_adsp/code_relocation samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
litex/i2s samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
mec15xxevb_assy6853 samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
mec172xevb_assy6906/qmspi_ldma samples: boards: Microchip MEC172x EVB QMSPI-LDMA sample 2023-04-11 16:57:56 +02:00
mimxrt595_evk_cm33/system_off samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
mimxrt1060_evk/system_off samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
nrf drivers: spi: make SPI dt-spec macros compatible with C++ 2023-04-24 21:29:55 +02:00
nxp_s32/netc samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
qomu samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
reel_board/mesh_badge samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
sensortile_box samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
stm32 samples: stm32: backup_sram: Fix main function return statement 2023-04-17 20:19:19 +09:00
ti/cc13x2_cc26x2/system_off samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
up_squared/gpio_counter samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
boards.rst