[20.3.x] FDCAN LLD compilation issue

Report here problems in any of ChibiOS components. This forum is NOT for support.
Post Reply
tzarc
Posts: 14
Joined: Thu Feb 20, 2020 7:08 am
Has thanked: 2 times
Been thanked: 6 times

[20.3.x] FDCAN LLD compilation issue

Post by tzarc »

Hi,

Just a note, with the LLD for FDCANv1, if HAL_USE_CAN is set to FALSE, the ISR at the bottom of hal_can_lld.c fails to compile as it has no CANDriver definition.

Seems like the #endif is too high up in the file?

Cheers,
Nick.
tzarc
Posts: 14
Joined: Thu Feb 20, 2020 7:08 am
Has thanked: 2 times
Been thanked: 6 times

Re: [20.3.x] FDCAN LLD compilation issue

Post by tzarc »

For reference, this was compared to latest master branch on the github copy:

commit 5e0daf6d1a6f40f33fca3b44e903a40912a98f96 (HEAD -> upstream/master)
Author: Giovanni Di Sirio <[email protected]>
Date: Mon Apr 6 12:41:34 2020 +0000

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13517 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: [20.3.x] FDCAN LLD compilation issue

Post by Giovanni »

Hi,

Thanks for finding, FDCAN is still work in progress, there are few other changes to be applied too.

Giovanni


Last bumped by Giovanni on Sat May 23, 2020 9:06 am.
Post Reply