boards: pic32-clicker: Remove useless UART pin configuration
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
This commit is contained in:
parent
12690185cb
commit
fa51e4081d
@ -24,10 +24,6 @@ void board_init(void)
|
|||||||
*/
|
*/
|
||||||
U3RXREG = 0x2; /*connect pin RPF5 to UART3 RX*/
|
U3RXREG = 0x2; /*connect pin RPF5 to UART3 RX*/
|
||||||
RPF4R = 0x1; /*connect pin RPF4 to UART3 TX*/
|
RPF4R = 0x1; /*connect pin RPF4 to UART3 TX*/
|
||||||
PORTFCLR = BIT5 | BIT4; /*set '0' on Porf F pins 4 and 5 */
|
|
||||||
TRISFCLR = BIT4; /*set PortF pin 4 for output */
|
|
||||||
TRISFSET = BIT5; /*set PortF pin 5 for input */
|
|
||||||
ODCFCLR = BIT5 | BIT4; /*set PortF pin 4 and 5 as not open-drain */
|
|
||||||
|
|
||||||
/* intialise UART used for debug (printf) */
|
/* intialise UART used for debug (printf) */
|
||||||
#ifdef DEBUG_VIA_UART
|
#ifdef DEBUG_VIA_UART
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user