stm32l4: Correct memorymap and add the existing CAN library
This commit is contained in:
parent
fc8a6aa7a2
commit
e50ce6a876
|
@ -57,7 +57,7 @@
|
|||
#define I2C2_BASE (PERIPH_BASE_APB1 + 0x5800)
|
||||
#define I2C3_BASE (PERIPH_BASE_APB1 + 0x5c00)
|
||||
#define CRS_BASE (PERIPH_BASE_APB1 + 0x6000)
|
||||
#define CAN1_BASE (PERIPH_BASE_APB1 + 0x6400)
|
||||
#define BX_CAN1_BASE (PERIPH_BASE_APB1 + 0x6400)
|
||||
#define USB_DEV_FS_BASE (PERIPH_BASE_APB1 + 0x6800)
|
||||
#define USB_PMA_BASE (PERIPH_BASE_APB1 + 0x6c00)
|
||||
#define POWER_CONTROL_BASE (PERIPH_BASE_APB1 + 0x7000)
|
||||
|
|
|
@ -38,7 +38,7 @@ TGT_CFLAGS += $(STANDARD_FLAGS)
|
|||
ARFLAGS = rcs
|
||||
|
||||
# Specific objs
|
||||
OBJS = adc.o flash.o pwr.o rcc.o
|
||||
OBJS = adc.o flash.o pwr.o rcc.o can.o
|
||||
|
||||
# common/shared objs
|
||||
OBJS += rcc_common_all.o
|
||||
|
|
Loading…
Reference in New Issue