summaryrefslogtreecommitdiff
path: root/software/mpu/board/board.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2013-08-22 01:11:54 +0000
committerChristian Pointner <equinox@mur.at>2013-08-22 01:11:54 +0000
commitfe124328828f8aef23861db889c144736b782475 (patch)
treec234a21cabffe26cb5c76afe5561b572f9cc5728 /software/mpu/board/board.c
parentmoved heartbeat thread to seperate file (diff)
added USB CDC based shell
git-svn-id: https://svn.spreadspace.org/mur.sat@835 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/mpu/board/board.c')
-rw-r--r--software/mpu/board/board.c4
1 files changed, 4 insertions, 0 deletions
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;
}