diff options
author | spacecoaster <spacecoaster@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-09-14 14:53:57 +0000 |
---|---|---|
committer | spacecoaster <spacecoaster@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-09-14 14:53:57 +0000 |
commit | 4695cf54893dd14f6db534bfbc1abb2bdc6732e0 (patch) | |
tree | e20360928b36788e34bba88b2f2e82e85ac59bf7 /os/hal/boards/FREESCALE_FREEDOM_K20D50M | |
parent | 7fa10b4b78d70eea525f4dcbee9c1cb6e9bb3b19 (diff) | |
download | ChibiOS-4695cf54893dd14f6db534bfbc1abb2bdc6732e0.tar.gz ChibiOS-4695cf54893dd14f6db534bfbc1abb2bdc6732e0.tar.bz2 ChibiOS-4695cf54893dd14f6db534bfbc1abb2bdc6732e0.zip |
[KINETIS] Set SWD as initial PTA0 and PTA3 pin mode
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7278 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/boards/FREESCALE_FREEDOM_K20D50M')
-rw-r--r-- | os/hal/boards/FREESCALE_FREEDOM_K20D50M/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/boards/FREESCALE_FREEDOM_K20D50M/board.c b/os/hal/boards/FREESCALE_FREEDOM_K20D50M/board.c index 15e1d7721..46ad67468 100644 --- a/os/hal/boards/FREESCALE_FREEDOM_K20D50M/board.c +++ b/os/hal/boards/FREESCALE_FREEDOM_K20D50M/board.c @@ -28,8 +28,8 @@ const PALConfig pal_default_config = {
.port = IOPORT1, // PORTA
.pads = {
- /* PTA0*/ PAL_MODE_UNCONNECTED, /* PTA1*/ PAL_MODE_UNCONNECTED, /* PTA2*/ PAL_MODE_OUTPUT_PUSHPULL,
- /* PTA3*/ PAL_MODE_UNCONNECTED, /* PTA4*/ PAL_MODE_UNCONNECTED, /* PTA5*/ PAL_MODE_UNCONNECTED,
+ /* PTA0*/ PAL_MODE_ALTERNATIVE_7, /* PTA1*/ PAL_MODE_UNCONNECTED, /* PTA2*/ PAL_MODE_OUTPUT_PUSHPULL,
+ /* PTA3*/ PAL_MODE_ALTERNATIVE_7, /* PTA4*/ PAL_MODE_UNCONNECTED, /* PTA5*/ PAL_MODE_UNCONNECTED,
/* PTA6*/ PAL_MODE_UNCONNECTED, /* PTA7*/ PAL_MODE_UNCONNECTED, /* PTA8*/ PAL_MODE_UNCONNECTED,
/* PTA9*/ PAL_MODE_UNCONNECTED, /*PTA10*/ PAL_MODE_UNCONNECTED, /*PTA11*/ PAL_MODE_UNCONNECTED,
/*PTA12*/ PAL_MODE_UNCONNECTED, /*PTA13*/ PAL_MODE_UNCONNECTED, /*PTA14*/ PAL_MODE_UNCONNECTED,
|