[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-d51de3d6d3f4master
parent
7fa10b4b78
commit
4695cf5489
|
@ -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,
|
||||
|
|
|
@ -28,8 +28,8 @@ const PALConfig pal_default_config =
|
|||
{
|
||||
.port = IOPORT1, // PORTA
|
||||
.pads = {
|
||||
/* PTA0*/ PIN_MUX_ALTERNATIVE(7), /* PTA1*/ PAL_MODE_UNCONNECTED, /* PTA2*/ PAL_MODE_UNCONNECTED,
|
||||
/* PTA3*/ PIN_MUX_ALTERNATIVE(7), /* PTA4*/ PAL_MODE_UNCONNECTED, /* PTA5*/ PAL_MODE_UNCONNECTED,
|
||||
/* PTA0*/ PAL_MODE_ALTERNATIVE_7, /* PTA1*/ PAL_MODE_UNCONNECTED, /* PTA2*/ PAL_MODE_UNCONNECTED,
|
||||
/* 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,
|
||||
|
|
Loading…
Reference in New Issue