Skip to content

Commit 22b33e4

Browse files
committed
applications: sdp: mspi: Debug Ci
Debug CI. Signed-off-by: Michal Frankiewicz <michal.frankiewicz@nordicsemi.no>
1 parent bcd9fe7 commit 22b33e4

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

drivers/mspi/mspi_nrfe.c

+10-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <zephyr/sys/atomic.h>
1717
#endif
1818
#include <zephyr/logging/log.h>
19-
LOG_MODULE_REGISTER(mspi_nrfe, CONFIG_MSPI_LOG_LEVEL);
19+
LOG_MODULE_REGISTER(mspi_nrfe, LOG_LEVEL_DBG);
2020

2121
#include <hal/nrf_gpio.h>
2222
#include <drivers/mspi/nrfe_mspi.h>
@@ -538,6 +538,11 @@ static int xfer_packet(struct mspi_xfer_packet *packet, uint32_t timeout)
538538
memcpy((void *)xfer_packet->data, (void *)packet->data_buf, packet->num_bytes);
539539
#endif
540540

541+
LOG_HEXDUMP_DBG(buffer, len, "xfer:");
542+
if (packet->dir == MSPI_TX) {
543+
LOG_HEXDUMP_DBG(xfer_packet->data, xfer_packet->num_bytes, "xfer data:");
544+
}
545+
541546
rc = send_data(xfer_packet->opcode, xfer_packet, len);
542547

543548
/* Wait for the transfer to complete and receive data. */
@@ -569,6 +574,10 @@ static int xfer_packet(struct mspi_xfer_packet *packet, uint32_t timeout)
569574
#endif
570575
}
571576

577+
if (packet->dir == MSPI_RX) {
578+
LOG_HEXDUMP_DBG(xfer_packet->data, xfer_packet->num_bytes, "received xfer data:");
579+
}
580+
572581
return rc;
573582
}
574583

tests/zephyr/drivers/flash/common/prj.conf

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ CONFIG_FLASH=y
44
CONFIG_FLASH_PAGE_LAYOUT=y
55
CONFIG_MAIN_STACK_SIZE=2048
66
CONFIG_ZTEST_STACK_SIZE=4096
7+
CONFIG_IPC_SERVICE_BACKEND_ICMSG_WQ_STACK_SIZE=2048

0 commit comments

Comments
 (0)