STM32H7xx Missing CRC Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
piwi1263
Posts: 11
Joined: Mon May 15, 2017 2:19 pm
Has thanked: 5 times
Been thanked: 2 times

STM32H7xx Missing CRC  Topic is solved

Postby piwi1263 » Mon Nov 23, 2020 12:09 am

Hi there,

it seems that the CRC enable, disable and reset macros are missing.

Please insert, add following lines to the RCC helper driver header:

Code: Select all

/**
 * @name    CRC peripheral specific RCC operations
 * @{
 */
/**
 * @brief   Enables the CRC peripheral clock.
 *
 * @param[in] lp        low power enable flag
 *
 * @api
 */
#define rccEnableCRC(lp) rccEnableAHB4(RCC_AHB4ENR_CRCEN, lp)

/**
 * @brief   Disables the CRC peripheral clock.
 *
 * @api
 */
#define rccDisableCRC() rccDisableAHB4(RCC_AHB4ENR_CRCEN)

/**
 * @brief   Resets the CRC peripheral.
 *
 * @api
 */
#define rccResetCRC() rccResetAHB4(RCC_AHB4RSTR_CRCRST)
/** @} */



Thanks and kind regards,

Peter.

User avatar
Giovanni
Site Admin
Posts: 14457
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: STM32H7xx Missing CRC

Postby Giovanni » Sun Nov 29, 2020 11:26 am

Hi,

Fixed as bug #1137.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 76 guests