Libcanard on chibios

if I want to using libcanard on chibios with stm32f103 how do I initialize canbus hardware

should I do some specific driver on chibios ? I mean when using libcanard on no rtos we should do hwInit(); which include RCC_APB1PeriphClockCmd() and GPIO_PinAFConfig. so on chibios what should we do like RCC_APB1PeriphClockCmd() or nothing to do

With ChibiOS you only need to enable the clock signal to the CAN controller, that’s it. Here are relevant examples: