Solved
Did I brick my board? I'm trying to understand low power mode, and ran the code below and now can't connect to st link.
/* USER CODE BEGIN 2 */
HAL_PWR_EnableWakeUpPin (PWR_WAKEUP_PIN1);
gotoSleep();
/* USER CODE END 2 */
/ * @brief void gotoSleep(void)
* * @retval None
*/
void gotoSleep(void)
{
HAL_Delay(1000);
HAL_PWR_EnterSTANDBYMode();
SystemClock_Config();
}
