Skip to content

Commit

Permalink
switch to zynq uart for boot loader (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwittich authored Nov 20, 2019
1 parent d1b846f commit 49ccb66
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions boot_loader/bl_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@
// Requires: UARTx_BASE
//
//*****************************************************************************
#define UART_CLOCK_ENABLE SYSCTL_RCGCUART_R4
#define UART_CLOCK_ENABLE SYSCTL_RCGCUART_R1

//*****************************************************************************
//
Expand All @@ -370,7 +370,7 @@
// Requires: UART_CLOCK_ENABLE
//
//*****************************************************************************
#define UARTx_BASE UART4_BASE
#define UARTx_BASE UART1_BASE

//*****************************************************************************
//
Expand All @@ -381,7 +381,7 @@
// Requires: UART_RXPIN_BASE, UART_RXPIN_PCTL and UART_RXPIN_POS
//
//*****************************************************************************
#define UART_RXPIN_CLOCK_ENABLE SYSCTL_RCGCGPIO_R4
#define UART_RXPIN_CLOCK_ENABLE SYSCTL_RCGCGPIO_R0

//*****************************************************************************
//
Expand Down Expand Up @@ -414,7 +414,7 @@
// Requires: UART_RXPIN_CLOCK_ENABLE, UART_RXPIN_BASE and UART_RXPIN_PCTL
//
//*****************************************************************************
#define UART_RXPIN_POS 2
#define UART_RXPIN_POS 0

//*****************************************************************************
//
Expand All @@ -425,7 +425,7 @@
// Requires: UART_TXPIN_BASE, UART_TXPIN_PCTL and UART_TXPIN_POS
//
//*****************************************************************************
#define UART_TXPIN_CLOCK_ENABLE SYSCTL_RCGCGPIO_R4
#define UART_TXPIN_CLOCK_ENABLE SYSCTL_RCGCGPIO_R0

//*****************************************************************************
//
Expand Down Expand Up @@ -458,7 +458,7 @@
// Requires: UART_TXPIN_CLOCK_ENABLE, UART_TXPIN_BASE and UART_TXPIN_PCTL
//
//*****************************************************************************
#define UART_TXPIN_POS 3
#define UART_TXPIN_POS 1

//*****************************************************************************
//
Expand Down

0 comments on commit 49ccb66

Please sign in to comment.