in the STM32L4xx registry the following needs to be fixed:
Code: Select all
/* FSMC attributes.*/
#define STM32_HAS_FSMC TRUE
The following has to be added to stm32_rcc.h
Code: Select all
/**
* @name FSMC peripherals specific RCC operations
* @{
*/
/**
* @brief Enables the FSMC peripheral clock.
*
* @param[in] lp low power enable flag
*
* @api
*/
#define rccEnableFSMC(lp) rccEnableAHB3(RCC_AHB3ENR_FMCEN, lp)
/**
* @brief Disables the FSMC peripheral clock.
*
* @param[in] lp low power enable flag
*
* @api
*/
#define rccDisableFSMC(lp) rccDisableAHB3(RCC_AHB3ENR_FMCEN, lp)
/**
* @brief Resets the FSMC peripheral.
*
* @api
*/
#define rccResetFSMC() rccResetAHB3(RCC_AHB3RSTR_FMCRST)
/** @} */
Cheers
Vinz