ThisThread::sleep_for never returns (adding 1Bitsy board support)

Hi folks.

I’ve got an open PR which adds STM32F415xG support, and I’m working on 1Bitsy board support (more context in this thread).

I’m currently struggling with ThisThread::sleep_for never returning, which I think is due to incorrect clock configuration. The 1Bitsy has a 25MHz external crystal and no external low speed oscillator (although it has space for one to be added to the board). If you have any ideas or suggestions for places to investigate I’d be extremely grateful.

More information about 1Bitsy can be found here and here. Again, any help would be greatly appreciated.

1 Like