STM32F7 hal_lld - STM32_LSEDRV

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
neums
Posts: 137
Joined: Fri May 08, 2015 1:09 pm
Location: Dresden, Germany
Has thanked: 10 times
Been thanked: 5 times

STM32F7 hal_lld - STM32_LSEDRV

Postby neums » Tue Aug 15, 2017 11:40 am

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

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: STM32F7 hal_lld - STM32_LSEDRV

Postby Giovanni » Tue Aug 15, 2017 12:05 pm

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

neums
Posts: 137
Joined: Fri May 08, 2015 1:09 pm
Location: Dresden, Germany
Has thanked: 10 times
Been thanked: 5 times

Re: STM32F7 hal_lld - STM32_LSEDRV

Postby neums » Tue Aug 15, 2017 1:39 pm

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


Return to “ChibiOS/HAL”

Who is online

Users browsing this forum: No registered users and 15 guests