Skip to content

Allow GPIO pin #'s > 7. In functions treating GPIO pin types as part of a bitmask, use the type that's used for this purpose and appropriately set for our target to be wide enough to be used. BL602 has 23 GPIOs, so holding them in a bitmask in a uint8_t works poorly.#57

Open
robertlipe wants to merge 1 commit into
lupyuen:masterfrom
robertlipe:gpionum

Conversation

@robertlipe

Copy link
Copy Markdown

Summary

Allow GPIO pin #'s > 7. In functions treating GPIO pin types
as part of a bitmask, use the type that's used for this purpose and
appropriately set for our target to be wide enough to be used.
BL602 has 23 GPIOs, so holding them in a bitmask in a uint8_t
works poorly.

Impact

No external impac

Testing

External app controlling GPIO14 on BL602-EVB

In functions treating GPIO pin types as part of a bitmask, use the
type that's used for this purpose and appropriately set for our target
to be wide enough to be used. BL602 has 23  GPIOs, so holding them in
a bitmask in a uint8_t works poorly.
@lupyuen

lupyuen commented Apr 13, 2022

Copy link
Copy Markdown
Owner

Thanks for the PR :-) See this: #58 (comment)

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.

2 participants