How to integrate to firmware with my own board

hey:
i want to know how to add uavcan to firmware and use with my own board Instead of stm32? i have added uavcan as an submodule to firmware, and run git submodule update --init --recursive, it download into src/modules/uavcan/libuavcan .

i use my own board install of stm32, i have tested driver in nuttx layer, now, i want to know how to let uavcan use driver which is in nuttx layer?

i have read https://uavcan.org/ doc , but i can not find any tutorial to how to custom my own board , did i miss sth?

It’s covered here: https://uavcan.org/Implementations/Libuavcan/Platforms/#adding-support-for-a-new-platform. You just need to write your own implementations of uavcan::ICanDriver, uavcan::ICanIface, and uavcan::ISystemClock.

thank for your reply, i follow your advice, and i write my own board driver, https://github.com/Rsenjoyer/libuavcan_coolfly, i want to know how to test it with uavcan in firmware, it is just copying into /libuavcan_drivers folder and change CMakeLists.txt in root file in uavcan ?

No. Whatever you do, you are not supposed to change the library. If you find yourself needing to perform code surgery of any kind, you are doing something wrong. What you need to do is to pass an instance of your driver into the Node constructor when initializing your node.