cpu/stm32: MCU implementation of the new GPIO API#14610
Open
gschorcht wants to merge 11 commits intoRIOT-OS:masterfrom
Open
cpu/stm32: MCU implementation of the new GPIO API#14610gschorcht wants to merge 11 commits intoRIOT-OS:masterfrom
gschorcht wants to merge 11 commits intoRIOT-OS:masterfrom
Conversation
61eb5ac to
273d83f
Compare
9417a82 to
78f136f
Compare
78f136f to
b37428f
Compare
b37428f to
2f4e83f
Compare
This change is a temporary patch to fix the compilation errors with the STM32 MCU implementation of the new low-level GPIO API until PR #3 for micropython is merged. Once this PR is merged, this patch can be dropped.
89c4302 to
15b76a8
Compare
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
This PR provides the MCU implementation of the low-level GPIO API in PR #14602 for STM32. It also contains necessary changes for STM32 boards.
This PR depends on and includes PR #14602. Only the commits from bd0b266 and f1f6cae are new in this PR.
Testing procedure
The following tests should be executed:
tests/periph_gpio_expto any STM32F1 board and test whether basic GPIO functionality is still working.tests/periph_gpio_expto any STM32 board and test whether basic GPIO functionality is still working.make -C tests/periph_gpio_exp teston any STM32F1 board to test whether the redirection to virtual GPIO expanders ports works correctly.make -C tests/periph_gpio_exp teston any STM32 board to test whether the redirection for virtual GPIO expanders ports works correctly.tests/periph_adcon any STM32L4 board to check whether ADC is still working.examples/micropython, connect D9 (PC7) with D6 (PB10) and execute the following python instructions to test correct pin mapping in micropython:The following tests might be skipped because the according peripheral is changed only slightly so that it might be enough to review the change. In these cases, only
pin == GPIO_UNDEFandpin != GPIO_UNDEFwere replaced bygpio_is_undef(pin)and!gpio_is_undef(pin), respectively.tests/periph_adcon any STM32F1 board to check whether ADC is still working.tests/periph_adcon any STM32L1 board to check whether ADC is still working.tests/conn_canon any STM32 board that supports CAN to check whether CAN is still working.tests/periph_i2con any STM32F1 board to check whether I2C is still working.tests/periph_pwmon any STM32 board to test whether PWM is still working.tests/periph_qdecon any STM32 board that supports QDEC to check whether QDEC is still working.tests/periph_uarton any STM32 board to check whether UART is still working.Issues/PRs references
Depends on PR #14602