Page 1 of 1

STM32F7 hal_lld - STM32_LSEDRV

Posted: Tue Aug 15, 2017 11:40 am
by neums
Hi,
i do not use the LSE. So i disabled it in mcuconf.h. Futhermore i do not define STM32_LSEDRV in board.h because i do not need it. The problem is now that the percompiler throws an error in hal_lld.h because the error check is not within #if STM32_LSE_ENABLED as implemented in the hal_lld.h of the STM32F3.

Is this a bug or a misshandling?

Thanks

Re: STM32F7 hal_lld - STM32_LSEDRV

Posted: Tue Aug 15, 2017 12:05 pm
by Giovanni
Hi,

Those macros are assumed to be provided by the board files regardless of mcuconf.h settings.

The generator should generate those, are you creating board files manually?

Giovanni

Re: STM32F7 hal_lld - STM32_LSEDRV

Posted: Tue Aug 15, 2017 1:39 pm
by neums
OK, i think my version is not the newest. It's not generated. I have to update the toolchain. Nevertheless the STM32_LSEDRV is checked for STM32_LSE_ENABLED with other ports (STM32F3).

Thanks