Chibios 18.2.1 and CRC driver

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
Post Reply
tsichevski
Posts: 35
Joined: Fri Feb 09, 2018 12:44 am
Has thanked: 2 times
Been thanked: 5 times

Chibios 18.2.1 and CRC driver

Post by tsichevski »

Hi,

sorry, may be, this is not the right place to ask this question: anybody managed to compile the community-supported HAL CRC driver with the Chibios 18.2.1? I've got a bunch of compilation errors. Earlier I used the same driver with the ChibiOS_17.6.3 with no problem.

Regards,
Vladimir
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Chibios 18.2.1 and CRC driver

Post by Giovanni »

Hi,

Probably you just need to remove the parameter to the rccDisableXXX() macros, this is the main change.

Community code is not maintained and can be not aligned to latest changes.

Giovanni
tsichevski
Posts: 35
Joined: Fri Feb 09, 2018 12:44 am
Has thanked: 2 times
Been thanked: 5 times

Re: Chibios 18.2.1 and CRC driver

Post by tsichevski »

Thank you, Giovanni! I've added the 'low power mode' parameter to the rccEnableXXX() call. And it did the trick!
Also I had to add the hal_community.h and halconf_community.h to the project.

Regards,
Vladimir
Post Reply