mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
STM32 F4 OTGHS device controller driver from Brennan Ashton
This commit is contained in:
@@ -130,6 +130,9 @@ endif
|
|||||||
ifeq ($(CONFIG_STM32_OTGFS),y)
|
ifeq ($(CONFIG_STM32_OTGFS),y)
|
||||||
CHIP_CSRCS += stm32_otgfsdev.c
|
CHIP_CSRCS += stm32_otgfsdev.c
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_STM32_OTGHS),y)
|
||||||
|
CHIP_CSRCS += stm32_otghsdev.c
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_USBHOST),y)
|
ifeq ($(CONFIG_USBHOST),y)
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -68,7 +68,7 @@ ifeq ($(CONFIG_STM32_FSMC),y)
|
|||||||
CSRCS += stm32_extmem.c
|
CSRCS += stm32_extmem.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_STM32_OTGFHS),y)
|
ifeq ($(CONFIG_STM32_OTGHS),y)
|
||||||
CSRCS += stm32_usb.c
|
CSRCS += stm32_usb.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "stm32.h"
|
#include "stm32.h"
|
||||||
#include "stm32_otgfs.h"
|
#include "stm32_otghs.h"
|
||||||
#include "stm32f429i-disco.h"
|
#include "stm32f429i-disco.h"
|
||||||
|
|
||||||
#ifdef CONFIG_STM32_OTGHS
|
#ifdef CONFIG_STM32_OTGHS
|
||||||
|
|||||||
Reference in New Issue
Block a user