We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2de979d commit 7830f6cCopy full SHA for 7830f6c
tests/drivers/mspi/api/src/main.c
@@ -23,6 +23,8 @@ typedef enum mspi_timing_param mspi_timing_param;
23
typedef struct mspi_ambiq_timing_cfg mspi_timing_cfg;
24
typedef enum mspi_ambiq_timing_param mspi_timing_param;
25
#define MSPI_PORT ((DT_REG_ADDR(MSPI_BUS_NODE) - MSPI0_BASE) / (MSPI1_BASE - MSPI0_BASE))
26
+#else
27
+#define MSPI_PORT 0
28
#endif
29
30
static const struct device *mspi_devices[] = {
0 commit comments