STM32: USB: use internal TX and RX buffer
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 29 Sep 2010 12:50:13 +0000 (12:50 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 29 Sep 2010 12:50:13 +0000 (12:50 +0000)
commit93308de29d9092161217cfff1b1375b482937214
tree4c1845eb576ea54f657a1acbd236620bc6e60b90
parentb2cbb10564ee5c9c2a78519973bef71e4db364f9
STM32: USB: use internal TX and RX buffer

The STM32 USB controller requires that the buffers used for endpoint
transfers are aligned to 4 bytes.

Define a transmit and a receive buffers internally into the low-level
USB driver, both properly aligned to 4 bytes.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4343 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cpu/cortex-m3/drv/usb_stm32.c