Skip to content

Commit b10fdb6

Browse files
[MCUX-81741] Adjust LPSpiSlaveTransport init for RT700 silicon/board version
Signed-off-by: Michal Princ <michal.princ@nxp.com>
1 parent 9749163 commit b10fdb6

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

erpc_c/transports/erpc_lpspi_slave_transport.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2022-2024 NXP
2+
* Copyright 2022-2025 NXP
33
*
44
* SPDX-License-Identifier: BSD-3-Clause
55
*/
@@ -135,9 +135,10 @@ erpc_status_t LPSpiSlaveTransport::init(void)
135135
lpspi_slave_config_t lpspiConfig;
136136

137137
LPSPI_SlaveGetDefaultConfig(&lpspiConfig);
138-
#if defined(MIMXRT798S_cm33_core0_SERIES) || defined(MIMXRT798S_cm33_core1_SERIES) || \
138+
#if (defined(MIMXRT798S_cm33_core0_SERIES) || defined(MIMXRT798S_cm33_core1_SERIES) || \
139139
defined(MIMXRT758S_cm33_core0_SERIES) || defined(MIMXRT758S_cm33_core1_SERIES) || \
140-
defined(MIMXRT735S_cm33_core0_SERIES) || defined(MIMXRT735S_cm33_core1_SERIES)
140+
defined(MIMXRT735S_cm33_core0_SERIES) || defined(MIMXRT735S_cm33_core1_SERIES)) && \
141+
defined(FSL_FEATURE_SILICON_VERSION_A)
141142
lpspiConfig.pinCfg = kLPSPI_SdoInSdiOut;
142143
#endif
143144

0 commit comments

Comments
 (0)