tests: drivers: memc/ram: Add support for Smartbond Pro DevKit.
Add configuration and overlay files to support the DA1469x development kit. Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
This commit is contained in:
parent
db67eaa346
commit
5c1e7d94ac
1 changed files with 12 additions and 0 deletions
|
@ -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))
|
||||
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue