Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nrf54h20dk cpuppr configuration to SPI tests #74860

Merged
merged 5 commits into from
Oct 24, 2024

Conversation

nordic-krch
Copy link
Contributor

Add configuration for spi_loopback and spi_controller_peripheral tests. Reworked configuration of spi_error_cases using same scheme of configuration as for other tests which does not require special case in testcase.yaml.

kl-cruz
kl-cruz previously approved these changes Sep 3, 2024
@nordic-krch
Copy link
Contributor Author

@masz-nordic @anangl can you take a look?

masz-nordic
masz-nordic previously approved these changes Sep 23, 2024
Comment on lines 18 to 24
if BOARD_NRF54H20DK_NRF54H20_CPUPPR

# As PPR has limited memory most of tests does not fit with asserts enabled.
config ASSERT
default n

endif # BOARD_NRF54H20DK_NRF54H20_CPUPPR
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not enable this at soc level?, also, make it conditional to ztest maybe? like

config ASSERT
    default n if ZTEST

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right, done for soc level.
As for assert kconfig. I used to have like you suggested but changed based on that comment: #74297 (comment)

gmarull
gmarull previously approved these changes Sep 24, 2024
masz-nordic
masz-nordic previously approved these changes Sep 24, 2024
In order to allow fiting test in targets with smaller memory make
large buffer configurable through Kconfig.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Add overlay for nrf54h20dk cpurad.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Add configuration for nrf54h20dk//cpuppr target.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Rework existing nrf54h20dk overlays to allow adding of
nrf54h20dk//cpuppr target.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
Rework overlays and add sysbuild/vpr_launcher folder to allow standard
test configuration for nrf54h20dk cpuppr.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
@nordic-krch
Copy link
Contributor Author

@gmarull @masz-nordic @kl-cruz can you re-approve? I had to rebase.

@nordic-krch
Copy link
Contributor Author

@tbursztyka can you take a look?

@henrikbrixandersen henrikbrixandersen merged commit 1689eaf into zephyrproject-rtos:main Oct 24, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Base OS Base OS Library (lib/os) area: I2C area: Pinctrl area: SPI SPI bus area: UART Universal Asynchronous Receiver-Transmitter platform: nRF Nordic nRFx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants