boards/arm/imxrt/imxrt1020-evk: Fix several errors relation to USBOTG: pin definitions in include/board.h and include path for imxrt_usbotg.h in src/imxrt_usbhost.c.
This commit is contained in:
parent
cb288fdfe2
commit
56c68c4db6
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
/*****************************************************************************
|
||||
f/*****************************************************************************
|
||||
* boards/arm/imxrt/imxrt1020-evk/include/board.h
|
||||
*
|
||||
* Copyright (C) 2018 Gregory Nutt. All rights reserved.
|
||||
|
@ -277,8 +277,8 @@
|
|||
|
||||
/* USBOTG *********************************************************************/
|
||||
|
||||
#define GPIO_USBOTG_ID (GPIO_USB_OTG_ID_1 | GPIO_USBOTG_ID_DEFAULT) /* AD_B1_11 */
|
||||
#define GPIO_USBOTG_PWR (GPIO_USB_OTG_PWR_1 |IOMUX_USBOTG_PWR_DEFAULT) /* AD_B1_10 */
|
||||
#define GPIO_USBOTG_ID (GPIO_USB_OTG_ID_1 | IOMUX_USBOTG_ID_DEFAULT) /* AD_B1_11 */
|
||||
#define GPIO_USBOTG_PWR (GPIO_USB_OTG_PWR_1 | IOMUX_USBOTG_PWR_DEFAULT) /* AD_B1_10 */
|
||||
#define GPIO_USBOTG_OC (GPIO_USB_OTG_OC_1 | IOMUX_USBOTG_OC_DEFAULT) /* AD_B1_12 */
|
||||
|
||||
/*****************************************************************************
|
||||
|
|
|
@ -57,8 +57,8 @@
|
|||
#include <imxrt_ehci.h>
|
||||
|
||||
#include "hardware/imxrt_pinmux.h"
|
||||
#include "hardware/imxrt_usbotg.h"
|
||||
#include "imxrt_periphclks.h"
|
||||
#include "imxrt_usbotg.h"
|
||||
#include "imxrt1020-evk.h"
|
||||
|
||||
#include <arch/board/board.h> /* Must always be included last */
|
||||
|
|
Loading…
Reference in a new issue