commit | fe1f42f752f6a847fe342a35b4c2c27fd5649fbd | [log] [tgz] |
---|---|---|
author | Christoph Klee <chklee@google.com> | Mon Aug 26 22:41:16 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 26 22:41:16 2024 +0000 |
tree | 48361f61ba9b1d5a54165f73bb61636ea61a89c8 | |
parent | b88316bf9c3b39d8db74b64fd1439254cc597fcf [diff] |
pw_digital_io_mcuxpresso: Enable gpio clock even when disabling gpio When define `FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL=1` is set, the `kCLOCK_HsGpio[0-7]` clock doesn't get enabled anymore by `GPIO_PinInit`. This change enables the `kCLOCK_HsGpio[0-7]` before calling `GPIO_PinInit` even if we are disabling the GPIO. Bug: 356689514 Change-Id: I0d5b2e3025800172313f602046a7667b6e683e58 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/232131 Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Commit-Queue: Christoph Klee <chklee@google.com> Reviewed-by: Austin Foxley <afoxley@google.com> Reviewed-by: Anton Markov <amarkov@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.