Progress on STM32 OTG FS host driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5037 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
c737fc4315
commit
73429ef28b
@ -3170,3 +3170,6 @@
|
||||
initialization (Mike Smith).
|
||||
* tools/mkconfig.c: If CONFIG_DRAM_END is not specified, this tool
|
||||
will provide default definition of (CONFIG_DRAM_START + CONFIG_DRAM_SIZE)
|
||||
* arch/arm/src/stm32/stm32_otgfshost.c: Renamed from stm32_usbhost.c.
|
||||
This is nearly code complete and, with any luck, will be available
|
||||
in NuttX-6.22.
|
||||
|
@ -53,6 +53,12 @@
|
||||
#define OTGFS_EPTYPE_BULK (2) /* Bulk */
|
||||
#define OTGFS_EPTYPE_INTR (3) /* Interrupt */
|
||||
|
||||
#define OTGFS_PID_DATA0 (0)
|
||||
#define OTGFS_PID_DATA2 (1)
|
||||
#define OTGFS_PID_DATA1 (2)
|
||||
#define OTGFS_PID_MDATA (3) /* Non-control */
|
||||
#define OTGFS_PID_SETUP (3) /* Control */
|
||||
|
||||
/* Register Offsets *********************************************************************************/
|
||||
/* Core global control and status registers */
|
||||
|
||||
@ -722,7 +728,8 @@
|
||||
# define OTGFS_HCTSIZ_DPID_DATA0 (0 << OTGFS_HCTSIZ_DPID_SHIFT)
|
||||
# define OTGFS_HCTSIZ_DPID_DATA2 (1 << OTGFS_HCTSIZ_DPID_SHIFT)
|
||||
# define OTGFS_HCTSIZ_DPID_DATA1 (2 << OTGFS_HCTSIZ_DPID_SHIFT)
|
||||
# define OTGFS_HCTSIZ_DPID_MDATA (3 << OTGFS_HCTSIZ_DPID_SHIFT)
|
||||
# define OTGFS_HCTSIZ_DPID_MDATA (3 << OTGFS_HCTSIZ_DPID_SHIFT) /* Non-control */
|
||||
# define OTGFS_HCTSIZ_PID_SETUP (3 << OTGFS_HCTSIZ_DPID_SHIFT) /* Control */
|
||||
/* Bit 31 Reserved, must be kept at reset value */
|
||||
/* Device-mode control and status registers */
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -29,6 +29,9 @@ config STM3210E_LCD
|
||||
bool "Select support for the STM3210E-EVAL LCD"
|
||||
default y
|
||||
depends on LCD && STM32_FSMC
|
||||
---help---
|
||||
Enable support for the LCD on the STM3210E-EVAL board. See additional,
|
||||
LCD-common settings in the drivers/lcd Kconfig file.
|
||||
|
||||
config LCD_BACKLIGHT
|
||||
bool "LCD backlight support"
|
||||
|
@ -27,6 +27,9 @@ config STM3220G_LCD
|
||||
bool "Select support for the STM3210E-EVAL LCD"
|
||||
default y
|
||||
depends on LCD && STM32_FSMC
|
||||
---help---
|
||||
Enable support for the LCD on the STM3220G-EVAL board. See additional,
|
||||
LCD-common settings in the drivers/lcd Kconfig file.
|
||||
|
||||
config LCD_RDSHIFT
|
||||
int "LCD data shift"
|
||||
|
@ -27,6 +27,9 @@ config STM3240G_LCD
|
||||
bool "Select support for the STM3210E-EVAL LCD"
|
||||
default y
|
||||
depends on LCD && STM32_FSMC
|
||||
---help---
|
||||
Enable support for the LCD on the STM3240G-EVAL board. See additional,
|
||||
LCD-common settings in the drivers/lcd Kconfig file.
|
||||
|
||||
config LCD_RDSHIFT
|
||||
int "LCD data shift"
|
||||
|
@ -182,6 +182,10 @@ menuconfig LCD
|
||||
Drivers for parallel and serial LCD and OLED type devices. These
|
||||
drivers support interfaces as defined in include/nuttx/lcd/lcd.h
|
||||
|
||||
This selection is necessary to enable support for LCD drivers in
|
||||
drivers/lcd as well as for board-specific LCD drivers in the configs/
|
||||
subdirectories.
|
||||
|
||||
if LCD
|
||||
source drivers/lcd/Kconfig
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user