diff --git a/boards/arria/board.c b/boards/arria/board.c new file mode 100644 index 0000000000000000000000000000000000000000..72dc1a77b5725c4381a51bfcaf5cf4608a575ba4 --- /dev/null +++ b/boards/arria/board.c @@ -0,0 +1,13 @@ +#include "board.h" + +/* Board-specific initialization code */ + +int board_init() +{ + +} + +int board_update() +{ + +} \ No newline at end of file diff --git a/boards/arria/board.h b/boards/arria/board.h new file mode 100644 index 0000000000000000000000000000000000000000..f9fdacb4cf7a9415a2178400fb2ab6ed2a167866 --- /dev/null +++ b/boards/arria/board.h @@ -0,0 +1,30 @@ +#ifndef __BOARD_H +#define __BOARD_H + +#include <hw/memlayout.h> + +/* Board-specific parameters */ + +/* WR Core system/CPU clock frequency in Hz */ +#define CPU_CLOCK 125000000ULL + +/* WR Reference clock period (picoseconds) and frequency (Hz) */ +#define REF_CLOCK_PERIOD_PS 8000 +#define REF_CLOCK_FREQ_HZ 125000000 + +/* Baud rate of the builtin UART (does not apply to the VUART) */ +#define UART_BAUDRATE 115200ULL + +/* Maximum number of simultaneously created sockets */ +#define NET_MAX_SOCKETS 3 + +/* Socket buffer size, determines the max. RX packet size */ +#define NET_SKBUF_SIZE 256 + +/* Number of auxillary clock channels - usually equal to the number of FMCs */ +#define NUM_AUX_CLOCKS 1 + +int board_init(); +int board_update(); + +#endif