Hi,
I have a NUCLEO-L152 board which does not have the external oscillator. In order for the demo to work, a definition must be set in mcuconf.h:53
#define STM32_RTCSEL STM32_RTCSEL_LSI
But the thing is that when I tried to build the demo, it failed because it was defined as STM32_RTCSEL_LSE (external oscillator). So if there is a version of the NUCLEO-L152 with external oscillator, it must be enabled at mcuconf.h:40.
Probably internal oscillator is the safest choice for the demo.
ARMCM3-STM32L152RE-NUCLEO demo
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times