diff options
author | Christian Pointner <equinox@mur.at> | 2013-08-22 01:11:54 +0000 |
---|---|---|
committer | Christian Pointner <equinox@mur.at> | 2013-08-22 01:11:54 +0000 |
commit | fe124328828f8aef23861db889c144736b782475 (patch) | |
tree | c234a21cabffe26cb5c76afe5561b572f9cc5728 /software/mpu/board/board.c | |
parent | moved 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.c | 4 |
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; } |