Skip to content

tests: drivers: memc: ram: build error on hifive_unmatched #99002

@mars-low

Description

@mars-low

Describe the bug

Test tests/drivers/memc/ram fails to build for hifive_unmatched platform.

It is a regression caused by 569a4ab.

Regression

  • This is a regression.

Steps to reproduce

west build -p -b hifive_unmatched/fu740/s7 tests/drivers/memc/ram -T drivers.memc

Relevant log output

/zephyrproject/zephyr/tests/drivers/memc/ram/src/main.c: In function 'test_ram_test_ram0':
/zephyrproject/zephyr/tests/drivers/memc/ram/src/main.c:74:31: error: 'RAM_SIZE_SRAM' undeclared (first use in this function); did you mean 'BUF_SIZE_SRAM'?
   74 |         test_ram_rw(buf_ram0, RAM_SIZE_SRAM);
      |                               ^~~~~~~~~~~~~
      |                               BUF_SIZE_SRAM
/zephyrproject/zephyr/tests/drivers/memc/ram/src/main.c:74:31: note: each undeclared identifier is reported only once for each function it appears in

Impact

Annoyance – Minor irritation; no significant impact on usability or functionality.

Environment

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    RegressionSomething, which was working, does not anymorearea: MEMCbugThe issue is a bug, or the PR is fixing a bug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions