Here is the prepared variant folder for your nucleo_f401re
. Could you test it, please?
Here is what I did without waiting for all boards (everything from mbed virtual env and in workspace folder):
- Copy
rtc_api_F4xx.c
to/mbed-dir/targets/hal/TARGET_STM/TARGET_STM32F4/
- Delete first and the last line in this file.
- Delete
rtc_api.c
file. - Run
python build.py -m NUCLEO_F401RE -t GCC_ARM
- Run
python project.py -m NUCLEO_F401RE -i gcc_arm -p 3 -b
- You will have file
MBED_A4_gcc_arm_NUCLEO_F401RE.zip
in/mbed-dir/.build/export/
- Copy folder
mbed
to you variant.