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

Introduce CAN timing adjustments as snippet and rework complete test strategy #131

Merged
merged 12 commits into from
Sep 29, 2023

Conversation

rexut
Copy link
Member

@rexut rexut commented Sep 29, 2023

Related to #127 this convert the old can_timing_adj shield to the new can-timing-adj snipped with same functionality and bind to the new snipped when calling Zephyr test suites from upstream with tweaked test case configuration from Bridle downstream.

@github-actions
Copy link

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

Deprecate the (Re-)Synchronization Jump Width (SJW) devicetree
properties for both arbitration and data phase timing as these
are now only used in combination with the other TQ-based CAN
timing properties, which are all deprecated.

Related to upstream changes:

- zephyrproject-rtos/zephyr#63034

Signed-off-by: Stephan Linz <[email protected]>
Some systems needs reduced bus speeds to pass Zephyr's
standard CAN test suite successfully.

Signed-off-by: Stephan Linz <[email protected]>
This reverts commit ad49608.

Since the beginning, the adjustments of the CAN timing for board
TiaC Magpie STM32F777NIHx as a shield was more a workaround than
a clean and correct abstraction of this problem. With introduction
of snippets as part of the Zephyr build process, this way over a
shield can now be abandoned and the general-purpose snippet
'can-timing-adj' have to be used instead.

Signed-off-by: Stephan Linz <[email protected]>
With this alternative configuration the downstream board 'tiac_magpie'
will be sopported by the Zephyr upstream can test suite.

Signed-off-by: Stephan Linz <[email protected]>
With this alternative configuration the downstream board 'tiac_magpie'
will be sopported by the Zephyr upstream watchdog test suite.

Signed-off-by: Stephan Linz <[email protected]>
This reverts commit bd2ff4e.
This reverts commit 637267c.
This reverts commit e7efc40.

Since Twister understands alternative test spec configuration,
the "clone and own" strategy can be abandoned.

Signed-off-by: Stephan Linz <[email protected]>
With this alternative configuration the downstream board 'tiac_magpie'
will be sopported by the Zephyr upstream i2c test suite.

Signed-off-by: Stephan Linz <[email protected]>
This reverts commit 3d3a3d3.
This reverts commit a2eeded,
also remove 'boards/shields/loopback_test/tests/i2c_slave_api.defconfig'.

Since Twister understands alternative test spec configuration,
the "clone and own" strategy can be abandoned.

Signed-off-by: Stephan Linz <[email protected]>
Copy link
Contributor

@tobiaskaestner tobiaskaestner left a comment

Choose a reason for hiding this comment

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

LGTM, many thanks

@rexut rexut merged commit c844acf into main Sep 29, 2023
7 checks passed
@rexut rexut deleted the devel/tests/alt-config branch October 30, 2023 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants