Does ChibiOS support CAN2 on STM32F105? I try to compile program, but get error "C:/ChibiOS/os/hal/platforms/STM32/can_lld.c:448:5: warning: implicit declaration of function 'rccEnableCAN2' [-Wimplicit-function-declaration]"
I see, that rccEnableCAN2 define only for STM32F4xx platform.
STM32F105 and CAN2
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: STM32F105 and CAN2
Hi,
I will open a ticket about this and add the missing macros in 2.6.6. Of course you can go ahead and add the missing macro in order to continue your work.
Giovanni
I will open a ticket about this and add the missing macros in 2.6.6. Of course you can go ahead and add the missing macro in order to continue your work.
Giovanni
Re: STM32F105 and CAN2
Still does not fixed in 2.6.7
I just copied the rccEnableCAN2 definition from STM32F4xx\stm32_rcc.h. Works fine
I just copied the rccEnableCAN2 definition from STM32F4xx\stm32_rcc.h. Works fine
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times