Re: [PATCH 1/3] can-calc-bittiming: add stm32 bxcan
From: Kurt Van Dijck <hidden>
Date: 2021-06-24 10:37:41
From: Kurt Van Dijck <hidden>
Date: 2021-06-24 10:37:41
On Thu, 24 Jun 2021 08:20:16 +0200, Marc Kleine-Budde wrote:
On 24.06.2021 05:19:52, Kurt Van Dijck wrote:quoted
Signed-off-by: Kurt Van Dijck <redacted> --- can-calc-bit-timing.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+)diff --git a/can-calc-bit-timing.c b/can-calc-bit-timing.c index d99bd22..fb61947 100644 --- a/can-calc-bit-timing.c +++ b/can-calc-bit-timing.c@@ -273,6 +273,22 @@ static void printf_btr_rcar_can(struct can_bittiming *bt, bool hdr) } } + .bittiming_const = { + .name = "bxcan",What's that? A new CAN-IP core?
It's the 'old' CAN core used in STM32 cortex-m mcu's.
I can apply these patches to the can-utils or you can create a github pull request and I'll merge it there. What do you prefer?
my preference is to apply from email. The dinosaur icon on my github account comes with a reason? Kind regards Kurt