mirror of https://github.com/ARMmbed/mbed-os.git
Update Cypress udb-sdio-whd to 1.1.1
parent
d3e940d64f
commit
202a979a61
|
@ -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_CORTEXM4_PRIORITY 7u
|
||||||
#define SDIO_HOST_Write_Int_INTC_NUMBER 67u
|
#define SDIO_HOST_Write_Int_INTC_NUMBER 67u
|
||||||
|
|
||||||
// ****************************SDIO Port**************************************
|
|
||||||
#define SDIO_HOST_GPIO_PORT GPIO_PRT12
|
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -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_CORTEXM4_PRIORITY 7u
|
||||||
#define SDIO_HOST_Write_Int_INTC_NUMBER 67u
|
#define SDIO_HOST_Write_Int_INTC_NUMBER 67u
|
||||||
|
|
||||||
// ****************************SDIO Port**************************************
|
|
||||||
#define SDIO_HOST_GPIO_PORT GPIO_PRT2
|
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -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_CORTEXM4_PRIORITY 7u
|
||||||
#define SDIO_HOST_Write_Int_INTC_NUMBER 67u
|
#define SDIO_HOST_Write_Int_INTC_NUMBER 67u
|
||||||
|
|
||||||
// ****************************SDIO Port**************************************
|
|
||||||
#define SDIO_HOST_GPIO_PORT GPIO_PRT9
|
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
#include "SDIO_HOST.h"
|
#include "SDIO_HOST.h"
|
||||||
#include "cy_utils.h"
|
#include "cy_utils.h"
|
||||||
#include "cy_gpio.h"
|
#include "cy_gpio.h"
|
||||||
|
#include "cybsp.h"
|
||||||
|
|
||||||
#if defined(CYHAL_UDB_SDIO)
|
#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
|
// Check DAT[0] to ensure it isn't low, if it is wait
|
||||||
uint32_t count = 0;
|
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)
|
#if defined(CY_RTOS_AWARE) || defined(COMPONENT_RTOS_AWARE)
|
||||||
cy_rtos_delay_milliseconds(1);
|
cy_rtos_delay_milliseconds(1);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
<version>.19214</version>
|
<version>.19666</version>
|
||||||
|
|
Loading…
Reference in New Issue