🐛 Fix boot / SD for STM32 (F103Rx) boards (#22087)

This commit is contained in:
Victor Oliveira
2021-06-11 18:13:22 -03:00
committed by Scott Lahteine
parent d322e495b2
commit 3491e49c5f
3 changed files with 11 additions and 0 deletions

View File

@ -195,6 +195,7 @@ uint16_t HAL_adc_get_result();
#ifdef STM32F1xx
#define JTAG_DISABLE() AFIO_DBGAFR_CONFIG(AFIO_MAPR_SWJ_CFG_JTAGDISABLE)
#define JTAGSWD_DISABLE() AFIO_DBGAFR_CONFIG(AFIO_MAPR_SWJ_CFG_DISABLE)
#define JTAGSWD_RESET() AFIO_DBGAFR_CONFIG(AFIO_MAPR_SWJ_CFG_RESET); // Reset: FULL SWD+JTAG
#endif
#define PLATFORM_M997_SUPPORT