Chibios 18.2.1 and CRC driver

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
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

Postby tsichevski » Tue Jun 12, 2018 4:52 pm

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: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Chibios 18.2.1 and CRC driver

Postby Giovanni » Tue Jun 12, 2018 5:46 pm

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

Postby tsichevski » Tue Jun 12, 2018 7:11 pm

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


Return to “ChibiOS/HAL”

Who is online

Users browsing this forum: Bing [Bot] and 8 guests