summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoriabdalkader <i.abdalkader@gmail.com>2023-03-07 14:35:57 +0100
committerDamien George <damien@micropython.org>2023-03-08 00:59:36 +1100
commite764bf0138d930bdfd1833f24c72a4daaae29cfe (patch)
tree4a2746254d5c75b64e4447b8a2af09c9c30553d7
parent64556ca0499384622fc53452364c12ed612fbd56 (diff)
downloadmicropython-e764bf0138d930bdfd1833f24c72a4daaae29cfe.tar.gz
micropython-e764bf0138d930bdfd1833f24c72a4daaae29cfe.zip
stm32/cyw43_configport: Add cyw43_sdio_enable_high_speed_4bit function.
Needed by the latest version of cyw43-driver.
-rw-r--r--ports/stm32/cyw43_configport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/stm32/cyw43_configport.h b/ports/stm32/cyw43_configport.h
index 89673f4e1f..b7137ef61e 100644
--- a/ports/stm32/cyw43_configport.h
+++ b/ports/stm32/cyw43_configport.h
@@ -131,6 +131,10 @@ static inline void cyw43_sdio_set_irq(bool enable) {
sdio_enable_irq(enable);
}
+static inline void cyw43_sdio_enable_high_speed_4bit(void) {
+ sdio_enable_high_speed_4bit();
+}
+
static inline int cyw43_sdio_transfer(uint32_t cmd, uint32_t arg, uint32_t *resp) {
return sdio_transfer(cmd, arg, resp);
}