boards: stm: Add CAN support for stm32f072b micro controller
This commit adds the can device to the stm32f072b device tree and pinmux Signed-off-by: Alexander Wachter <alexander.wachter@student.tugraz.at>
This commit is contained in:
parent
2976ac351d
commit
e73637af24
6 changed files with 49 additions and 0 deletions
|
@ -36,6 +36,12 @@
|
|||
#define CONFIG_SPI_2_NAME ST_STM32_SPI_FIFO_40003800_LABEL
|
||||
#define CONFIG_SPI_2_IRQ ST_STM32_SPI_FIFO_40003800_IRQ_0
|
||||
|
||||
#define CONFIG_CAN_1_BASE_ADDRESS ST_STM32_CAN_40006400_BASE_ADDRESS
|
||||
#define CONFIG_CAN_1_BUS_SPEED ST_STM32_CAN_40006400_BUS_SPEED
|
||||
#define CONFIG_CAN_1_NAME ST_STM32_CAN_40006400_LABEL
|
||||
#define CONFIG_CAN_1_IRQ ST_STM32_CAN_40006400_IRQ_0
|
||||
#define CONFIG_CAN_1_IRQ_PRIORITY ST_STM32_CAN_40006400_IRQ_0_PRIORITY
|
||||
|
||||
#define FLASH_DEV_BASE_ADDRESS ST_STM32F0_FLASH_CONTROLLER_40022000_BASE_ADDRESS
|
||||
#define FLASH_DEV_NAME ST_STM32F0_FLASH_CONTROLLER_40022000_LABEL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue