Skip to content

Commit 9679395

Browse files
mars-lowjhedberg
authored andcommitted
tests: drivers: memc: ram: Fix build error on hifive_unmatched
Fix 'RAM_SIZE_SRAM' undeclared error in function 'test_ram_test_ram0'. Signed-off-by: Marek Slowinski <[email protected]>
1 parent 4f2f391 commit 9679395

File tree

1 file changed

+1
-1
lines changed
  • tests/drivers/memc/ram/src

1 file changed

+1
-1
lines changed

tests/drivers/memc/ram/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ ZTEST(test_ram, test_sdram1)
7171
ZTEST(test_ram, test_ram0)
7272
{
7373
#if DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(ram0))
74-
test_ram_rw(buf_ram0, RAM_SIZE_SRAM);
74+
test_ram_rw(buf_ram0, RAM_SIZE);
7575
#else
7676
ztest_test_skip();
7777
#endif

0 commit comments

Comments
 (0)