-
Notifications
You must be signed in to change notification settings - Fork 7k
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
twister: add dt_node_prop_enabled support #83035
twister: add dt_node_prop_enabled support #83035
Conversation
with this fix the build is filter out correctly
and mimxrt1170_evk works fine
|
@@ -9,5 +9,5 @@ common: | |||
- pytest | |||
tests: | |||
sample.boards.mimxrt1170_evk.magic_addr: | |||
filter: CONFIG_MEMC_NXP_FLEXRAM | |||
filter: CONFIG_MEMC_NXP_FLEXRAM and dt_node_prop_enabled("flexram", "flexram,has-magic-addr") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you still need DT_HAS_NXP_FLEXRAM_ENABLED
here? this is enabled depending on DTS already.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, we can remove the CONFIG_MEMC_NXP_FLEXRAM updated
using "dt_node_prop_enabled" to filter out supported platforms 1. check node existing. 2. check prop in node. 3. check the prop is True. Signed-off-by: Hake Huang <[email protected]>
41cbb5e
to
387115b
Compare
the magic address testcase blocking CI now due to testing on rt10xx |
using "dt_node_prop_enabled" to filter out supported platforms
fixes: #83036