From fe124328828f8aef23861db889c144736b782475 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 22 Aug 2013 01:11:54 +0000 Subject: added USB CDC based shell git-svn-id: https://svn.spreadspace.org/mur.sat@835 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/mpu/board/board.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'software/mpu/board/board.c') diff --git a/software/mpu/board/board.c b/software/mpu/board/board.c index c1a077e..2560a73 100644 --- a/software/mpu/board/board.c +++ b/software/mpu/board/board.c @@ -49,4 +49,8 @@ void __early_init(void) { * Board-specific initialization code. */ void boardInit(void) { + /* + * Disable JTAG-DP and SW-DP. + */ + AFIO->MAPR = AFIO_MAPR_SWJ_CFG_DISABLE; } -- cgit v1.2.3