Skip to content

Commit 847f5be

Browse files
committed
test:drivers:dma:loop_transfer avoid useing flash as dma source address
avoid to use the flash address as dma source, to avoid flash cachce issue this is fix to issue #26812 Signed-off-by: Hake Huang <[email protected]>
1 parent 98bcc51 commit 847f5be

File tree

1 file changed

+1
-1
lines changed
  • tests/drivers/dma/loop_transfer/src

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static __aligned(16) char rx_data[TRANSFER_LOOPS][RX_BUFF_SIZE] __used
2727
__attribute__((__section__(".nocache.dma")));
2828
#else
2929
/* pad to times of 8*/
30-
static const char tx_data[] =
30+
static char tx_data[] =
3131
"The quick brown fox jumps over the lazy dog ....";
3232
static __aligned(16) char rx_data[TRANSFER_LOOPS][RX_BUFF_SIZE] = { { 0 } };
3333
#endif

0 commit comments

Comments
 (0)