Enable SWD back, Add Off mode for Sleep

This commit is contained in:
Ben V. Brown
2018-03-30 19:16:38 +11:00
parent fe5ee91104
commit 8eadb98496
8 changed files with 61 additions and 31 deletions

View File

@@ -28,8 +28,8 @@ void HAL_MspInit(void) {
/**NOJTAG: JTAG-DP Disabled and SW-DP Enabled
*/
// __HAL_AFIO_REMAP_SWJ_NOJTAG()
__HAL_AFIO_REMAP_SWJ_DISABLE(); /*Disable swd for debug io use*/
__HAL_AFIO_REMAP_SWJ_NOJTAG();
// __HAL_AFIO_REMAP_SWJ_DISABLE(); /*Disable swd for debug io use*/
}