I'm trying to use system start-up code from Espruino's NucleoF411 port and it almost works on the emw3165 except for the system clock initialization. When the start-up code tries to use the main PLL as system clock source the emw3165 resets. Is there a difference in the way the clocks work on the emw3165 vs. the NucleoF411? How can I troubleshoot this (I'm new to the stm32)?
NB: the statement where the Espruino start-up code crashes is https://github.com/espruino/Espruino/bl ... 4xx.c#L559