X-Git-Url: http://rtime.felk.cvut.cz/gitweb/arc.git/blobdiff_plain/79cf0308001e35225531aa542b87fda205b0ffaa..c030240a9c5b883baeb4a908c24bb14881830362:/boards/ti_tms570ls/examples/tms570_hdk_can/config/Port_Cfg.c diff --git a/boards/ti_tms570ls/examples/tms570_hdk_can/config/Port_Cfg.c b/boards/ti_tms570ls/examples/tms570_hdk_can/config/Port_Cfg.c index fca9a484..6a083d2f 100644 --- a/boards/ti_tms570ls/examples/tms570_hdk_can/config/Port_Cfg.c +++ b/boards/ti_tms570ls/examples/tms570_hdk_can/config/Port_Cfg.c @@ -28,13 +28,21 @@ const Port_ConfigType PortConfigData = .pinmuxFunctionNum = PINMUX_BALL_ALTERNATE2, .pinmuxBaseNum = 0, }, - { // TODO: add configuration + { .pin = PORT_PIN_DCAN1_TX, .conf = ( PORT_PIN_OUT | PORT_FUNC | PORT_PULL_NONE ), }, { .pin = PORT_PIN_DCAN1_RX, .conf = ( PORT_PIN_IN | 0 | PORT_PULL_NONE ), + }, + { + .pin = PORT_PIN_DCAN2_TX, + .conf = ( PORT_PIN_OUT | PORT_FUNC | PORT_PULL_NONE ), + }, + { + .pin = PORT_PIN_DCAN2_RX, + .conf = ( PORT_PIN_IN | 0 | PORT_PULL_NONE ), } } };