stm32f3: Usb support added. usb unit is the same as f103.

- memorymap value for usb base changed to the one expected by the
  f103 usb code.
- f3 Makefile updated to build the f102 usb code.
This commit is contained in:
Federico Ruiz Ugalde
2013-06-30 22:01:25 -06:00
committed by Piotr Esden-Tempski
parent 59b2b5da87
commit 934c8dbf4c
2 changed files with 2 additions and 1 deletions

View File

@@ -57,7 +57,7 @@
#define UART5_BASE (PERIPH_BASE_APB1 + 0x5000)
#define I2C1_BASE (PERIPH_BASE_APB1 + 0x5400)
#define I2C2_BASE (PERIPH_BASE_APB1 + 0x5800)
#define USB_FS_BASE (PERIPH_BASE_APB1 + 0x5C00)
#define USB_DEV_FS_BASE (PERIPH_BASE_APB1 + 0x5C00)
#define USB_SRAM_BASE (PERIPH_BASE_APB1 + 0x6000)
#define BX_CAN_BASE (PERIPH_BASE_APB1 + 0x6400)
/* PERIPH_BASE_APB1 + 0x6800 (0x4000 6800 - 0x4000 6BFF): Reserved */