Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Nucleo_spi_master_20MHz Nucleo_vs_Arduino_Speed_Test DMA_I2S_Test MPU9150AHRS ... more

With help from Peter I've got it working. In my project I had to import the mbed-src library and remove the mbed library. Then I had to modify mbed-src/targets/cmsis/TARGET_STM/TARGET_NUCLEO_F401RE/stm32f4xx_hal_conf.h
Not far from the top I modified the HSE_VALUE from 8,000,000 to 20,000,000:
and that was it.
Cheers, Uwe.