Skip to content

scripts/kconfig: Introduce dt_node_ph_prop_path function #73403

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

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

ydamigos
Copy link
Collaborator

Introduce dt_node_ph_prop_path function.
It takes a node 'path' and a phandle property name and returns the path to the pointed-to node.

Needed by PR #73336

@ydamigos
Copy link
Collaborator Author

"Compliance Checks" failure seems unrelated to PR changes.

@blauret
Copy link
Collaborator

blauret commented May 29, 2024

"Compliance Checks" failure seems unrelated to PR changes.

It's linked to the introdution of the othe PyLint version 3.2.x. Before that the lint passes.

Introduce dt_node_ph_prop_path function.
It  takes a node 'path' and a phandle property name
and returns the path to the pointed-to node.

Signed-off-by: Ioannis Damigos <[email protected]>
@ydamigos ydamigos force-pushed the kconfig-custom-function branch from 8e39691 to f0fc1ee Compare June 3, 2024 08:15
CI reports error:
kconfigfunctions.py:143:11: E0601: Using variable 'edtlib' before
assignment (used-before-assignment)

Initialize edtlib to none when there is no edt.

Signed-off-by: Ioannis Damigos <[email protected]>
@ydamigos ydamigos force-pushed the kconfig-custom-function branch from f710e96 to 5c16f4d Compare June 3, 2024 08:38
@blauret blauret added the platform: Renesas SmartBond Renesas Electronics Corporation, SmartBond label Jun 3, 2024
@dleach02 dleach02 merged commit 9c8fd37 into zephyrproject-rtos:main Jun 5, 2024
24 checks passed
@ydamigos ydamigos deleted the kconfig-custom-function branch June 6, 2024 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants