Update Cypress udb-sdio-whd to 1.1.1

pull/14062/head
Dustin Crossman 2020-12-16 09:15:07 -08:00
parent d3e940d64f
commit 202a979a61
5 changed files with 5 additions and 11 deletions

View File

@ -860,9 +860,6 @@ void SDIO_Host_Config_UDBs(void);
#define SDIO_HOST_Write_Int_INTC_CORTEXM4_PRIORITY 7u
#define SDIO_HOST_Write_Int_INTC_NUMBER 67u
// ****************************SDIO Port**************************************
#define SDIO_HOST_GPIO_PORT GPIO_PRT12
#if defined(__cplusplus)
}
#endif

View File

@ -921,9 +921,6 @@ void SDIO_Host_Config_UDBs(void);
#define SDIO_HOST_Write_Int_INTC_CORTEXM4_PRIORITY 7u
#define SDIO_HOST_Write_Int_INTC_NUMBER 67u
// ****************************SDIO Port**************************************
#define SDIO_HOST_GPIO_PORT GPIO_PRT2
#if defined(__cplusplus)
}
#endif

View File

@ -856,9 +856,6 @@ void SDIO_Host_Config_UDBs(void);
#define SDIO_HOST_Write_Int_INTC_CORTEXM4_PRIORITY 7u
#define SDIO_HOST_Write_Int_INTC_NUMBER 67u
// ****************************SDIO Port**************************************
#define SDIO_HOST_GPIO_PORT GPIO_PRT9
#if defined(__cplusplus)
}
#endif

View File

@ -25,6 +25,7 @@
#include "SDIO_HOST.h"
#include "cy_utils.h"
#include "cy_gpio.h"
#include "cybsp.h"
#if defined(CYHAL_UDB_SDIO)
@ -717,7 +718,9 @@ en_sdio_result_t SDIO_SendCommandAndWait(stc_sdio_cmd_t* pstcCmd)
// Check DAT[0] to ensure it isn't low, if it is wait
uint32_t count = 0;
while (0UL == Cy_GPIO_Read(SDIO_HOST_GPIO_PORT, 0) && count < SDIO_DAT_BUSY_TIMEOUT_MS)
while (0UL ==
Cy_GPIO_Read(Cy_GPIO_PortToAddr(CYHAL_GET_PORT(CYBSP_WIFI_SDIO_D0)),
CYHAL_GET_PIN(CYBSP_WIFI_SDIO_D0)) && count < SDIO_DAT_BUSY_TIMEOUT_MS)
{
#if defined(CY_RTOS_AWARE) || defined(COMPONENT_RTOS_AWARE)
cy_rtos_delay_milliseconds(1);

View File

@ -1 +1 @@
<version>.19214</version>
<version>.19666</version>