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

style(Other): Update conditional compilation directives for CONFIG_SOC_* definitions in Zephyr wrapper #1278

Merged

Conversation

mattsm
Copy link
Contributor

@mattsm mattsm commented Nov 21, 2024

The 'if defined(FOO) || BAR' lines are not clear

$ sed 's, (CONFIG_SOC, defined(CONFIG_SOC,g' -i $(git grep --name-only if.defined(.||.() $ sed 's,||\s\$,|| \,g' -i $(git grep --name-only '||.*\$')

Description

Not much to add other than the subject of the single git commit above.

Checklist Before Requesting Review

  • PR Title follows correct guidelines.
  • Description of changes and all other relevant information.
  • (Optional) Link any related GitHub issues using a keyword
  • (Optional) Provide info on any relevant functional testing/validation. For API changes or significant features, this is not optional.

@github-actions github-actions bot added the Zephyr MSDK Zephyr related change. label Nov 21, 2024
@mattsm mattsm force-pushed the fix_zephyr_wrap_if_statements branch 2 times, most recently from e3ff00f to a25361c Compare November 21, 2024 19:42
The 'if defined(FOO) || BAR' lines are not clear

$ sed 's, (CONFIG_SOC, defined(CONFIG_SOC,g' -i $(git grep --name-only  if.defined\(.*\|\|.\()
$ sed 's,||\s*\\$,\|\| \\,g' -i $(git grep --name-only '||.*\\$')

Signed-off-by: Matthew McClintock <[email protected]>
@mattsm mattsm force-pushed the fix_zephyr_wrap_if_statements branch from a25361c to 0737cfe Compare November 22, 2024 16:09
@mattsm mattsm changed the title fix(Other): fix if defined() in wrapper files fix(Other): if defined() in wrapper files Nov 22, 2024
@mattsm mattsm changed the title fix(Other): if defined() in wrapper files fix(Other): if defined in wrapper files Nov 22, 2024
@mattsm mattsm changed the title fix(Other): if defined in wrapper files fix(Other): abc Nov 22, 2024
Copy link
Contributor

@sihyung-maxim sihyung-maxim left a comment

Choose a reason for hiding this comment

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

@sihyung-maxim sihyung-maxim changed the title fix(Other): abc fix(Other): Fix conditional compilation directives for CONFIG_SOC_* definitions in Zephyr wrapper Dec 3, 2024
@sihyung-maxim
Copy link
Contributor

The pull request template contains guidelines on how to title PRs. The guidelines also appear in the description when opening a PR.

Copy link
Contributor

@ozersa ozersa left a comment

Choose a reason for hiding this comment

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

It is not a fix, just a coding style change.

Could you change PR title as "style(Other): ...."

@sihyung-maxim sihyung-maxim changed the title fix(Other): Fix conditional compilation directives for CONFIG_SOC_* definitions in Zephyr wrapper style(Other): Update conditional compilation directives for CONFIG_SOC_* definitions in Zephyr wrapper Dec 4, 2024
@sihyung-maxim sihyung-maxim merged commit 71e3c13 into analogdevicesinc:main Dec 6, 2024
14 of 18 checks passed
sihyung-maxim pushed a commit to analogdevicesinc/hal_adi that referenced this pull request Dec 6, 2024
EricB-ADI pushed a commit that referenced this pull request Jan 6, 2025
…OC_*` definitions in Zephyr wrapper (#1278)

Signed-off-by: Matthew McClintock <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Zephyr MSDK Zephyr related change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants