Skip to content

Commit f02454f

Browse files
hakehuangMaureenHelm
authored andcommitted
tests: update edma test pattern
align test pattern with testcase.yml Signed-off-by: Hake Huang <[email protected]>
1 parent f8f8aa1 commit f02454f

File tree

1 file changed

+2
-4
lines changed
  • tests/drivers/dma/loop_transfer/src

1 file changed

+2
-4
lines changed

tests/drivers/dma/loop_transfer/src/dma.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static __aligned(16) char rx_data[TRANSFER_LOOPS][RX_BUFF_SIZE] __used
2828
#else
2929
/* this src memory shall be in RAM to support usingas a DMA source pointer.*/
3030
static char tx_data[] =
31-
"The quick brown fox jumps over the lazy dog ....";
31+
"The quick brown fox jumps over the lazy dog";
3232
static __aligned(16) char rx_data[TRANSFER_LOOPS][RX_BUFF_SIZE] = { { 0 } };
3333
#endif
3434

@@ -116,9 +116,7 @@ void main(void)
116116
#endif
117117
chan_id = CONFIG_DMA_LOOP_TRANSFER_CHANNEL_NR;
118118
transfer_count = 0;
119-
printk("Starting the transfer on channel %d and waiting for 1 second\n", chan_id);
120-
printk("TX data: %s\n", tx_data);
121-
printk("block_size %d\n", strlen(tx_data));
119+
printk("Starting the transfer and waiting for 1 second\n");
122120
dma_block_cfg.block_size = strlen(tx_data);
123121
dma_block_cfg.source_address = (uint32_t)tx_data;
124122
dma_block_cfg.dest_address = (uint32_t)rx_data[transfer_count];

0 commit comments

Comments
 (0)