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:
parent
59b2b5da87
commit
934c8dbf4c
@ -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 */
|
||||
|
@ -41,6 +41,7 @@ OBJS += gpio_common_all.o gpio_common_f234.o \
|
||||
iwdg_common_all.o spi_common_all.o dma_common_f13.o\
|
||||
timer_common_all.o timer_common_f24.o flash_common_f234.o
|
||||
|
||||
OBJS += usb.o usb_control.o usb_standard.o usb_f103.o
|
||||
|
||||
VPATH += ../../usb:../:../../cm3:../common
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user