2015-04-23 08:58 AM
Hello,
A few months ago I started to use HAL driver (cubeF0, F1 and F4) instead of Stdlib.I'm trying to create generalized codes using HAL driver to take advantage of compatibility, but when I copied some functions from a F1xx chip to F0xx the first mistake I found into HAL was that F1 RCC exported macros were different than F0 RCC exported macros.F1 RCC exported macros:__HAL_RCC_GPIOA_CLK_ENABLE() ....F0 RCC exported macros__GPIOA_CLK_ENABLE() .... (without HAL_RCC)Will you change this feature in a future version? The actual problem is that it is difficult to create compatible codes between chip families.Thanks #cubef1 #cubef0 #hal-driver2015-04-23 09:36 PM
I found diferences between series also. HAL library is a right direction but they have to deal with these details.
2015-04-24 04:16 AM
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2015-04-25 09:08 PM
I appreciate this efforts to ensure compatibility across all STM32 series.
Many thanks.