CRH support missing in stm32f1xx_ll_gpio.h ?
Using TrueStudio for STM32 v.9.0.0 and STMCubeMX v.4.24.0
STM32F100C8 and Low Layer drivers.
I noticed that LL support for GPIO ports above GPIO_PIN_7 does not work. I tried to use GPIO_PIN_13 on GPIOC but saw that PIN_5 was being configured instead. Browsing through stm32f1xx_ll_gpio.h, I noticed that CRL is, but CRH isn't used anywhere.
Also RCC_MCO doesn't work, as it is on GPIOA PIN_8.
------------
And shouldn't stm32f1xx_hal_conf.h refer to LL drivers instead of HAL drivers when you selected LL in STM32CubeMX?
It says:
#define HAL_CORTEX_MODULE_ENABLED
#define HAL_DMA_MODULE_ENABLED#define HAL_FLASH_MODULE_ENABLED#define HAL_GPIO_MODULE_ENABLED#define HAL_PWR_MODULE_ENABLED#define HAL_RCC_MODULE_ENABLEDand then:
#ifdef HAL_RCC_MODULE_ENABLED
#include 'stm32f1xx_hal_rcc.h'#endif /* HAL_RCC_MODULE_ENABLED */#ifdef HAL_GPIO_MODULE_ENABLED
#include 'stm32f1xx_hal_gpio.h'#endif /* HAL_GPIO_MODULE_ENABLED */ #ifdef HAL_DMA_MODULE_ENABLED #include 'stm32f1xx_hal_dma.h'#endif /* HAL_DMA_MODULE_ENABLED */ #ifdef HAL_ETH_MODULE_ENABLED #include 'stm32f1xx_hal_eth.h'#endif /* HAL_ETH_MODULE_ENABLED */Shouldn't that be:
#ifdef HAL_RCC_MODULE_ENABLED
#include 'stm32f1xx_ll_rcc.h'#endif /* HAL_RCC_MODULE_ENABLED */#ifdef HAL_GPIO_MODULE_ENABLED
#include 'stm32f1xx_ll_gpio.h'#endif /* HAL_GPIO_MODULE_ENABLED */ #ifdef HAL_DMA_MODULE_ENABLED #include 'stm32f1xx_ll_dma.h'#endif /* HAL_DMA_MODULE_ENABLED */ #ifdef HAL_ETH_MODULE_ENABLED #include 'stm32f1xx_ll_eth.h'#endif /* HAL_ETH_MODULE_ENABLED */