Mixed use of HAL and LL driver functions
Hello,
I have a project where I use both HAL and LL functions, on different files, for different funcitions.
As described in UM2319, I defined both USE_HAL_DRIVER and USE_FULL_LL_DRIVER as compiler preprocessor symbols.
In this case I have an error indicating that the stm32_assert.c file is absent.
UM2319 says the stm32_assert.c file must be added only if I use LL drivers in stand-alone mode, but in my case I use both HAL and LL functions.
I see that stm32_assert.c defines the assert_param() function, that is also defined in the stm32g0xx_hal_conf.h.
In my case, can it create a redefinition conflict, when building?
Moreover, if I try to omit USE_FULL_LL_DRIVER preprocessor symbol, the build is successful.
My be this depend on the fact that, at the moment, I am using only few LL functions (the CRC ones)?
Thank you,
Carlo