summaryrefslogtreecommitdiff
path: root/firmware/src/simtrace.h
blob: 5a27c3179b926aa66964aa14ab664f251c62df02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#define USB_VENDOR_ID	OPENPCD_VENDOR_ID

#ifdef SIMTRACE
#define OPENPCD_PIO_LED2	AT91C_PIO_PA17
#define OPENPCD_PIO_LED1	AT91C_PIO_PA18
#define OPENPCD_PIO_UDP_CNX	AT91C_PIO_PA24
#define OPENPCD_PIO_UDP_PUP	AT91C_PIO_PA16
#define USB_PRODUCT_ID		SIMTRACE_PRODUCT_ID
#else
#error "unknown PCB"
#endif

#define SIMTRACE_PIO_CLK	AT91C_PA2_SCK0
#define SIMTRACE_PIO_IO		AT91C_PA6_TXD0
#define SIMTRACE_PIO_nRST	AT91C_PIO_PA7


personal git repositories of Harald Welte. Your mileage may vary