Skip to content

Commit

Permalink
can2 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanseifert committed Aug 16, 2024
1 parent 1b8aa38 commit 2df0c1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion drivers/can/can_mcan.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@ int can_mcan_init(const struct device *dev)
uint32_t mrba = 0;
#ifdef CONFIG_CAN_STM32H7
mrba = (uint32_t)msg_ram;
mrba = 0x4000ac00;
#endif
#ifdef CONFIG_CAN_MCUX_MCAN
mrba = (uint32_t)msg_ram & CAN_MCAN_MRBA_BA_MSK;
Expand Down
2 changes: 1 addition & 1 deletion dts/arm/st/h7/stm32h7.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@
compatible = "st,stm32h7-fdcan";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x4000a400 0x400>, <0x4000af50 0x350>;
reg = <0x4000a400 0x400>, <0x4000ac00 0x6a0>;
reg-names = "m_can", "message_ram";
clocks = <&rcc STM32_CLOCK_BUS_APB1_2 0x00000100>;
interrupts = <20 0>, <22 0>, <63 0>;
Expand Down

0 comments on commit 2df0c1b

Please sign in to comment.