All stm32 series currently released share the same bxCAN hardware, so share can.c among all the families.