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

scripts: genpinctrl: fix multiple F1 issues #73

Merged
merged 4 commits into from
Oct 14, 2020
Merged

scripts: genpinctrl: fix multiple F1 issues #73

merged 4 commits into from
Oct 14, 2020

Conversation

gmarull
Copy link
Member

@gmarull gmarull commented Oct 12, 2020

When working with F1 series pins not present in the GPIO IP files need to be taken into account with the NO_REMAP setting. Furthermore, only first remap block was being processed, now all of them are taken into account.

Fixes zephyrproject-rtos/zephyr#29120

When working with F1 series pins not present in the GPIO IP files need
to be taken into account with the NO_REMAP setting.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
Add F1 series configurations from pins missing in the GPIO IP
configuration files.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
@gmarull gmarull requested a review from erwango October 12, 2020 21:58
@gmarull gmarull changed the title scripts: genpinctrl: fix F1 generation for pins not in IP file scripts: genpinctrl: fix multiple F1 issues Oct 12, 2020
@gmarull gmarull requested a review from galak October 12, 2020 22:31
Copy link
Member

@erwango erwango left a comment

Choose a reason for hiding this comment

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

s/FULL_REMAP/REMAP_FULL (according to include/dt-bindings/pinctrl/stm32f1-pinctrl.h)

Only first remap block was being processed, take into account all of
them now. Note that ``FULL_REMAP`` has been adjusted to ``REMAP_FULL``
as it was wrong. Tests updated to cover multiple remap cases.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
Some remaps were missing due to an issue with genpinctrl.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
@gmarull gmarull requested a review from erwango October 13, 2020 07:57
@gmarull
Copy link
Member Author

gmarull commented Oct 13, 2020

s/FULL_REMAP/REMAP_FULL (according to include/dt-bindings/pinctrl/stm32f1-pinctrl.h)

Good catch, fixed

@galak galak merged commit 8895167 into zephyrproject-rtos:master Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

STM32: Few issues on on pinctrl generation script
3 participants