Page 1 of 1

Chibios 18.2.1 and CRC driver

Posted: Tue Jun 12, 2018 4:52 pm
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

Re: Chibios 18.2.1 and CRC driver

Posted: Tue Jun 12, 2018 5:46 pm
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

Re: Chibios 18.2.1 and CRC driver

Posted: Tue Jun 12, 2018 7:11 pm
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