Programming STM32F407 chip using ST-LINK on STM32F4 Discovery Board

Fixed, found that mbed does the clock initialize from within the target. Found in “mbed-os/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407xE/system_clock.c” just changed to select external crystal and do no other clock setup in main.cpp. Clock setup is done from there when calling HAL_Init(). Going to test the UART tomorrow to see if the same frame error persists now that we are at 168MHz. Thanks for the feedback.