no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
39 #ifndef PARAMETERS_H_
40 #define PARAMETERS_H_
41 
42 #include "app_config.h"
43 #include "xparameters.h"
44 
45 #ifdef PLATFORM_MB
46 #define SPI_DEVICE_ID XPAR_AXI_SPI_DEVICE_ID
47 #define ADC_DDR_BASEADDR (XPAR_AXI_DDR_CNTRL_BASEADDR + 0x800000)
48 #define UART_DEVICE_ID XPAR_AXI_UART_DEVICE_ID
49 #define UART_IRQ_ID XPAR_AXI_INTC_AXI_UART_INTERRUPT_INTR
50 #else
51 #define SPI_DEVICE_ID XPAR_XSPIPS_0_DEVICE_ID
52 #define ADC_DDR_BASEADDR (XPAR_DDR_MEM_BASEADDR + 0x800000)
53 #define UART_DEVICE_ID XPAR_XUARTPS_0_DEVICE_ID
54 #define UART_IRQ_ID XPAR_XUARTPS_1_INTR
55 
56 #define INTC_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID
57 #endif
58 
59 #define UART_BAUDRATE 115200
60 #define RX_CORE_BASEADDR XPAR_AXI_AD9467_BASEADDR
61 #define RX_DMA_BASEADDR XPAR_AXI_AD9467_DMA_BASEADDR
62 
63 #endif /* SRC_PARAMETERS_H_ */