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

tests: drivers: build_all: ieee802154: Add native_sim configuration #78518

Merged

Conversation

soburi
Copy link
Member

@soburi soburi commented Sep 16, 2024

The native_sim has already been added to the test cases of
drivers.ieee802154.build.external is not being appropriately
processed because there is no corresponding overlay.

Create an overlay as an alias of native_posix.overlay.

Also, add the native_sim/native/64 platforms in the same way.


The mcr20a driver referencing MCR20Overwrites.h which is under
hal/nxp/mcux.

So, put depends HAS_MCUX for clarify the dependency.

@soburi soburi force-pushed the add_devices_for_build_all_ieee802154 branch from c7b81ce to fef004e Compare September 17, 2024 00:10
The mcr20a driver referencing `MCR20Overwrites.h` which is under
`hal/nxp/mcux`.

So, put `depends HAS_MCUX` for clarify the dependency.

Signed-off-by: TOKITA Hiroshi <[email protected]>
@@ -0,0 +1,80 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm a bit puzzled here. This seems to be a copy of the overlay file for native_posix platform:
https://github.com/zephyrproject-rtos/zephyr/blob/main/tests/drivers/build_all/ieee802154/boards/native_posix.overlay

Why to enforce this overlay for every other platform/configuration?

Copy link
Member Author

Choose a reason for hiding this comment

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

I was considering using app.overlay as I do with other build_all-s,
but I submitted the PR incompletely.
I uploaded it with only the necessary fixes.
I'm sorry, but please check again.

The native_sim has already been added to the test cases of
`drivers.ieee802154.build.external` is not being appropriately
processed because there is no corresponding overlay.

Create an overlay as an alias of native_posix.overlay.

Also, add the native_sim/native/64 platforms in the same way.

Signed-off-by: TOKITA Hiroshi <[email protected]>
@soburi soburi force-pushed the add_devices_for_build_all_ieee802154 branch from 39b78ea to 69c5749 Compare September 17, 2024 12:35
@soburi soburi changed the title tests: drivers: build_all: ieee802154: Add devices build tests tests: drivers: build_all: ieee802154: Add native_sim configuration Sep 17, 2024
@carlescufi carlescufi merged commit 7d95128 into zephyrproject-rtos:main Sep 19, 2024
29 checks passed
@soburi soburi deleted the add_devices_for_build_all_ieee802154 branch September 21, 2024 11:26
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.

5 participants