Commit 93c65e0a authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

moved board-specific initialization to boards/

parent f8e1de8a
OBJS_BOARD = $(BOARD)/board.o
\ No newline at end of file
#include "board.h"
/* Board-specific initialization code */
int board_init()
int board_update()
\ No newline at end of file
#ifndef __BOARD_H
#define __BOARD_H
#include <hw/memlayout.h>
/* Board-specific parameters */
/* WR Core system/CPU clock frequency in Hz */
#define CPU_CLOCK 62500000ULL
/* 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 */
/* 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();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment