Page 2 of 2

Re: Jump to bootloader STM32F103

Posted: Mon Feb 22, 2021 1:30 pm
by Edogaldo

Code: Select all

#if defined(USE_HAL_DRIVER)
HAL_RCC_DeInit();
#endif /* defined(USE_HAL_DRIVER) */
#if defined(USE_STDPERIPH_DRIVER)
RCC_DeInit();
#endif /* defined(USE_STDPERIPH_DRIVER) */
Can it be that neither USE_HAL_DRIVER nor USE_STDPERIPH_DRIVER are defined and thus the micro does not deinit the RCC?