I was using this code from github on a blue pill. Now I would like to adapt it for STM32F401 on a Nucleo-64 board. I tried changing the GPIO to A7 and attaching an led (which lit up when I attached it to 3.3v) to GPIO A7 but it dit not seem to work.
I think the problem might be in this step:
rcc_clock_setup_in_hse_8mhz_out_72mhz(); // Use this for "blue pill"
because afaik this is the only step specific to the blue pill.
The blue pill has an 8MHz oscillator and according to this, the Nucleo has a 32.768 kHz crystal oscillator.
Can someone please tell me how to modify this line?
I am using arm-none-eabi-gdb and make to upload code to Nucleo, as I was with blue pill.
TIA