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

boards/arm/96b_wistrio: fix GPIO initialization code #46045

Merged
merged 1 commit into from May 27, 2022

Conversation

fkokosinski
Copy link
Member

This PR fixes the flags that are used in the board initialization code. Without this fix, the assertion here is triggered.

GPIO_OUTPUT_INIT_HIGH and GPIO_OUTPUT_INIT_LOW don't initialize pin directions. Use correct initialization values (GPIO_OUTPUT_HIGH and GPIO_OUTPUT_LOW respectively).

GPIO_OUTPUT_INIT_HIGH and GPIO_OUTPUT_INIT_LOW don't initialize pin
directions. Use correct initialization values.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
@stephanosio stephanosio added the bug The issue is a bug, or the PR is fixing a bug label May 27, 2022
@stephanosio stephanosio added this to the v3.1.0 milestone May 27, 2022
@stephanosio stephanosio added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label May 27, 2022
@mbolivar-nordic mbolivar-nordic merged commit b68730d into zephyrproject-rtos:main May 27, 2022
@fkokosinski fkokosinski deleted the fix-wistrio-init branch February 15, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Boards bug The issue is a bug, or the PR is fixing a bug Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants