Commit Graph

18 Commits

Author SHA1 Message Date
Fabrice DJIATSA
86cab94150 dts: arm: st: h7: combine sram1 and sram2 memory size
Combining the two regions provides enough memory to
successfully build applications.

Note that SRAM1 and SRAM2 are continuous regions.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-06-19 22:31:31 -07:00
Francois Ramu
17ad5938fa test: drivers: memc: ram testing on adi eval board
When running the tests/drivers/memc/ram on the
adi_eval_adin1110ebz target, do not involve sram1, sram2
That will avoid warning about orphan section for
`DT_N_S_memory_10000000_P_zephyr_memory_region_STRING_TOKEN
and DT_N_S_memory_20040000_P_zephyr_memory_region_STRING_TOKEN

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-06-17 16:11:24 +02:00
Pete Johanson
7b0e431fc8 tests: drivers: memc: Set up APARD32690 properly.
Enable/disable devices as necessary to ensure memc test will test the
attached HyperRAM and no other memory nodes.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2025-06-17 07:20:22 +02:00
Jérôme Pouiller
69202a7908 tests: drivers: memc: Simplify filters
Currently, every boards that implement a memory controller add an entry
in tests/drivers/memc/ram/testcase.yaml. However, the configuration is
exactly the same for all the boards. So, we can just consider that any
board that declare "memc" capability has to be tested.

For the record here are the boards that has the memc capability:

    adi/apard32690/apard32690_max32690_m4.yaml
    adi/eval_adin1110ebz/adi_eval_adin1110ebz.yaml
    adi/max32690evkit/max32690evkit_max32690_m4.yaml
    arduino/giga_r1/arduino_giga_r1_stm32h747xx_m7.yaml
    arduino/portenta_h7/arduino_portenta_h7_stm32h747xx_m7_1_0_0.yaml
    arduino/portenta_h7/arduino_portenta_h7_stm32h747xx_m7_4_10_0.yaml
    atmel/sam/sam4s_xplained/sam4s_xplained.yaml
    renesas/da1469x_dk_pro/da1469x_dk_pro.yaml
    sifive/hifive_unmatched/hifive_unmatched_s7.yaml
    sifive/hifive_unmatched/hifive_unmatched_u74.yaml
    silabs/radio_boards/siwx917_rb4342a/siwx917_rb4342a.yaml
    st/stm32f746g_disco/stm32f746g_disco.yaml
    st/stm32f7508_dk/stm32f7508_dk.yaml
    st/stm32f769i_disco/stm32f769i_disco.yaml
    st/stm32h735g_disco/stm32h735g_disco.yaml
    st/stm32h745i_disco/stm32h745i_disco_stm32h745xx_m7.yaml
    st/stm32h747i_disco/stm32h747i_disco_stm32h747xx_m7.yaml
    st/stm32h750b_dk/stm32h750b_dk.yaml
    st/stm32h757i_eval/stm32h757i_eval_stm32h757xx_m7.yaml
    st/stm32h7b3i_dk/stm32h7b3i_dk.yaml
    st/stm32h7s78_dk/stm32h7s78_dk.yaml
    st/stm32n6570_dk/twister.yaml

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-06-10 13:28:48 +02:00
Shan Pen
8d55e73808 boards: ruiside: RA8D1 Vision Board: add support
this is another board from ruiside, tested uart,
button, led, sdram, sd card

Signed-off-by: Shan Pen <bricle031@gmail.com>
2025-06-04 10:03:51 +02:00
Krzysztof Chruściński
a068293559 tests: drivers: Fix zassert string
Fix wrong parameter used in zassert macros.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-05-22 16:17:23 +02:00
Pete Johanson
f4b52a43d9 drivers: memc: Add MAX32 HyperBus driver
Add memc driver for the MAX32 HyperBus peripheral, supporting HyperRAM
and Xccela PSRAM memory devices.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2025-05-02 15:20:55 +02:00
The Nguyen
8d2a9b3fac tests: memc: ram: support test for sdram controller on Renesas RA family
Add SDRAM controller test support

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2024-12-20 23:53:37 +02:00
Jakub Wasilewski
8e881959a4 boards: hifive_unmatched: add support for S7 and U74 targets
Add `hifive_unmatched//s7` (earlier selected by default, using
`hifive_unmatched`) and `hifive_unmatched//u74` targets.

Define work-area for other 4 cores in openocd.cfg

Update twister platform white/black lists, to support new targets

Signed-off-by: Jakub Wasilewski <jwasilewski@internships.antmicro.com>
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-11-20 10:15:03 +00:00
Yong Cong Sin
52a202309b zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY
Change instances of:

DT_NODE_HAS_STATUS(<node_id>, okay)

to

DT_NODE_HAS_STATUS_OKAY(<node_id>)

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
2024-10-03 17:06:52 +01:00
Ioannis Karachalios
5c1e7d94ac 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>
2024-05-23 07:51:41 -04:00
Yong Cong Sin
c7ce871a04 tests: exclude renode from tests requiring unsimulated peripherals
Physical boards work on these tests but some of the required
peripherals are not simulated by `renode`, executing the tests
with renode-simulated board in CI will fail.

Exclude `renode` simulation from these tests.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2024-01-08 16:17:43 +00:00
Anas Nashif
345735d0a8 tests: remove CONFIG_ZTEST_NEW_API in all tests
Remove all usage of CONFIG_ZTEST_NEW_API from tests and sample as this
is now enabled by default.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-10-20 15:04:29 +02:00
Gerard Marull-Paretas
93b63df762 samples, tests: convert string-based twister lists to YAML lists
Twister now supports using YAML lists for all fields that were written
as space-separated lists. Used twister_to_list.py script. Some artifacts
on string length are due to how ruamel dumps content.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-05-10 09:52:37 +02:00
Christian Spinnler
1fa3f71f76 tests: drivers: add nor-psram to memc test configuration
This enables running stm32-fmc-nor-psram enabled devices to run memc test

Signed-off-by: Christian Spinnler <christian.spinnler@fau.de>
2023-04-12 17:44:06 +02:00
Franciszek Zdobylak
fb80eb5a2e tests: drivers: memc: add hifive_unmatched board
Add HiFive Unmatched board to memory controller tests.

Signed-off-by: Franciszek Zdobylak <fzdobylak@antmicro.com>
2023-04-12 13:05:55 +02:00
Gerard Marull-Paretas
79e6b0e0f6 includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h>
As of today <zephyr/zephyr.h> is 100% equivalent to <zephyr/kernel.h>.
This patch proposes to then include <zephyr/kernel.h> instead of
<zephyr/zephyr.h> since it is more clear that you are including the
Kernel APIs and (probably) nothing else. <zephyr/zephyr.h> sounds like a
catch-all header that may be confusing. Most applications need to
include a bunch of other things to compile, e.g. driver headers or
subsystem headers like BT, logging, etc.

The idea of a catch-all header in Zephyr is probably not feasible
anyway. Reason is that Zephyr is not a library, like it could be for
example `libpython`. Zephyr provides many utilities nowadays: a kernel,
drivers, subsystems, etc and things will likely grow. A catch-all header
would be massive, difficult to keep up-to-date. It is also likely that
an application will only build a small subset. Note that subsystem-level
headers may use a catch-all approach to make things easier, though.

NOTE: This patch is **NOT** removing the header, just removing its usage
in-tree. I'd advocate for its deprecation (add a #warning on it), but I
understand many people will have concerns.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-09-05 16:31:47 +02:00
Pieter De Gendt
1dc69c0648 tests: drivers: memc: Rework S(D)RAM test with ztest
* Reworked the stm32 SDRAM test to be more generic
* Added SRAM entries
* Moved to new ztest API

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2022-08-16 12:53:50 +02:00