Skip to content
Snippets Groups Projects
Commit b945f97a authored by Yun Rock Qu's avatar Yun Rock Qu Committed by Graham Schelle
Browse files

update pmod and arduino bsp based on new bits (#622)

parent ae3bf263
No related branches found
No related tags found
No related merge requests found
......@@ -1005,7 +1005,7 @@
#define XPAR_IOP_ARDUINO_UARTLITE_BASEADDR 0x40600000
#define XPAR_IOP_ARDUINO_UARTLITE_HIGHADDR 0x4060FFFF
#define XPAR_IOP_ARDUINO_UARTLITE_DEVICE_ID 0
#define XPAR_IOP_ARDUINO_UARTLITE_BAUDRATE 115200
#define XPAR_IOP_ARDUINO_UARTLITE_BAUDRATE 9600
#define XPAR_IOP_ARDUINO_UARTLITE_USE_PARITY 0
#define XPAR_IOP_ARDUINO_UARTLITE_ODD_PARITY 0
#define XPAR_IOP_ARDUINO_UARTLITE_DATA_BITS 8
......@@ -1017,7 +1017,7 @@
#define XPAR_UARTLITE_0_DEVICE_ID XPAR_IOP_ARDUINO_UARTLITE_DEVICE_ID
#define XPAR_UARTLITE_0_BASEADDR 0x40600000
#define XPAR_UARTLITE_0_HIGHADDR 0x4060FFFF
#define XPAR_UARTLITE_0_BAUDRATE 115200
#define XPAR_UARTLITE_0_BAUDRATE 9600
#define XPAR_UARTLITE_0_USE_PARITY 0
#define XPAR_UARTLITE_0_ODD_PARITY 0
#define XPAR_UARTLITE_0_DATA_BITS 8
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -53,7 +53,7 @@
#include <xparameters.h>
#ifdef XPAR_XUART_NUM_INSTANCES
#ifdef XPAR_XUARTLITE_NUM_INSTANCES
/*
* UART API
......@@ -61,9 +61,9 @@
typedef int uart;
uart uart_open_device(unsigned int device);
uart uart_open(unsigned int tx, unsigned int int rx);
void uart_read(uart dev_id, char* read_data, unsigned int length);
void uart_write(uart dev_id, char* write_data, unsigned int length);
uart uart_open(unsigned int tx, unsigned int rx);
void uart_read(uart dev_id, unsigned char* read_data, unsigned int length);
void uart_write(uart dev_id, unsigned char* write_data, unsigned int length);
void uart_close(uart dev_id);
unsigned int uart_get_num_devices(void);
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment