Page 2 of 2

Re: Problem getting CAN to work on STM32F767

Posted: Fri May 06, 2022 6:20 pm
by 0v3rcl0ck3d
fpiSTM wrote: Thu May 05, 2022 3:23 pm
0v3rcl0ck3d wrote: Thu May 05, 2022 2:15 pm
fpiSTM wrote: Wed May 04, 2022 7:28 pm As a first guess use extern "C" for all functions.
Since there are no linker errors and the code compiles, I don't think this will make any difference. However, I tried without any success.
This is normal like some function are weak you will have no linker error but for those you redefine (like hal_can_msp_init) are defined in a cpp file and so are decorated by the compiler and will never get called instead the default weak will be called....
That was new to me, thank you.

Re: Problem getting CAN to work on STM32F767

Posted: Fri May 06, 2022 6:26 pm
by 0v3rcl0ck3d
Thanks for your help. It seems that it would consume more time than we have at the moment so we have to look for a plan c.

We have to build the next load of devices to deliver to the customers. This was plan b... As many others we are short on some chips.

If it is needed to switch back to plan b, I will post again.

Thanks again for your help.