From f293cc4bc19409ac77287f0e7298801d55e42b11 Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Thu, 10 Feb 2011 15:24:54 +1300 Subject: Improved Linux/libftdi platform support. Tested with Floss-JTAG. SWD working. --- src/linux/platform.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/linux/platform.h') diff --git a/src/linux/platform.h b/src/linux/platform.h index 6859bac..ffe07a6 100644 --- a/src/linux/platform.h +++ b/src/linux/platform.h @@ -25,7 +25,7 @@ #include #define FT2232_VID 0x0403 -#define FT2232_PID 0xbcd9 +#define FT2232_PID 0x6010 #define SET_RUN_STATE(state) #define SET_IDLE_STATE(state) @@ -41,5 +41,9 @@ extern struct ftdi_context *ftdic; int platform_init(void); +void platform_buffer_flush(void); +int platform_buffer_write(const uint8_t *data, int size); +int platform_buffer_read(uint8_t *data, int size); + #endif -- cgit v1.2.3