STM32 I2C driver will now operated in a polled, non-interrupting mode if so configured
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3960 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
c591808e67
commit
5b2d5ec95d
@ -263,7 +263,7 @@ More complex temperature sensor operations are also available. See the IOCTAL
|
||||
commands enumerated in include/nuttx/sensors/lm75.h. Also read the descriptions
|
||||
of the stm32_lm75initialize() and stm32_lm75attach() interfaces in the
|
||||
arch/board/board.h file (sames as configs/stm3210e-eval/include/board.h).
|
||||
|
||||
|
||||
STM3210E-EVAL-specific Configuration Options
|
||||
============================================
|
||||
|
||||
@ -596,6 +596,38 @@ Where <subdir> is one of the following:
|
||||
|
||||
CONFIG_STM32_BUILDROOT=y : NuttX buildroot under Linux or Cygwin
|
||||
|
||||
USB debug output can be enabled as by changing the following
|
||||
settings in the configuration file:
|
||||
|
||||
-CONFIG_DEBUG=n
|
||||
-CONFIG_DEBUG_VERBOSE=n
|
||||
-CONFIG_DEBUG_USB=n
|
||||
+CONFIG_DEBUG=y
|
||||
+CONFIG_DEBUG_VERBOSE=y
|
||||
+CONFIG_DEBUG_USB=y
|
||||
|
||||
-CONFIG_EXAMPLES_USBSERIAL_TRACEINIT=n
|
||||
-CONFIG_EXAMPLES_USBSERIAL_TRACECLASS=n
|
||||
-CONFIG_EXAMPLES_USBSERIAL_TRACETRANSFERS=n
|
||||
-CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=n
|
||||
-CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
||||
+CONFIG_EXAMPLES_USBSERIAL_TRACEINIT=y
|
||||
+CONFIG_EXAMPLES_USBSERIAL_TRACECLASS=y
|
||||
+CONFIG_EXAMPLES_USBSERIAL_TRACETRANSFERS=y
|
||||
+CONFIG_EXAMPLES_USBSERIAL_TRACECONTROLLER=y
|
||||
+CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=y
|
||||
|
||||
By default, the usbserial example uses the Prolific PL2303
|
||||
serial/USB converter emulation. The example can be modified
|
||||
to use the CDC/ACM serial class by making the following changes
|
||||
to the configuration file:
|
||||
|
||||
-CONFIG_USBSER=y
|
||||
+CONFIG_USBSER=n
|
||||
|
||||
-CONFIG_CDCSER=n
|
||||
+CONFIG_CDCSER=y
|
||||
|
||||
usbstorage:
|
||||
----------
|
||||
This configuration directory exercises the USB mass storage
|
||||
|
@ -674,7 +674,7 @@ CONFIG_USBSER_TXBUFSIZE=512
|
||||
# CONFIG_CDCSER
|
||||
# Enable compilation of the USB serial driver
|
||||
# CONFIG_CDCSER_EP0MAXPACKET
|
||||
# Endpoint 0 max packet size. Default 8.
|
||||
# Endpoint 0 max packet size. Default 64
|
||||
# CONFIG_CDCSER_EPINTIN
|
||||
# The logical 7-bit address of a hardware endpoint that supports
|
||||
# interrupt IN operation. Default 2.
|
||||
@ -683,7 +683,7 @@ CONFIG_USBSER_TXBUFSIZE=512
|
||||
# Default 64.
|
||||
# CONFIG_CDCSER_EPINTIN_HSSIZE
|
||||
# Max package size for the interrupt IN endpoint if high speed mode.
|
||||
# Default 512.
|
||||
# Default 64
|
||||
# CONFIG_CDCSER_EPBULKOUT
|
||||
# The logical 7-bit address of a hardware endpoint that supports
|
||||
# bulk OUT operation
|
||||
|
Loading…
Reference in New Issue
Block a user