Skip to content

Commit

Permalink
tests: drivers: memc/ram: Add support for Smartbond Pro DevKit.
Browse files Browse the repository at this point in the history
Add configuration and overlay files to support the DA1469x development kit.

Signed-off-by: Ioannis Karachalios <[email protected]>
  • Loading branch information
ioannis-karachalios committed May 22, 2024
1 parent 0f57c45 commit 02ea032
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/drivers/memc/ram/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ BUF_DEF(sram1);
#if DT_NODE_HAS_STATUS(DT_NODELABEL(sram2), okay)
BUF_DEF(sram2);
#endif
#if DT_NODE_HAS_STATUS(DT_NODELABEL(memc), okay)
BUF_DEF(psram);
#endif

#if DT_NODE_HAS_STATUS(DT_NODELABEL(ram0), okay)
#define RAM_SIZE DT_REG_SIZE(DT_NODELABEL(ram0))
Expand Down Expand Up @@ -96,3 +99,12 @@ ZTEST(test_ram, test_sram2)
ztest_test_skip();
#endif
}

ZTEST(test_ram, test_psram)
{
#if DT_NODE_HAS_STATUS(DT_NODELABEL(memc), okay)
test_ram_rw(buf_psram, BUF_SIZE);
#else
ztest_test_skip();
#endif
}

0 comments on commit 02ea032

Please sign in to comment.