Any objections to this quick fix? On Thu, Apr 21, 2011 at 10:07 PM, Damjan Marion <[email protected]> wrote: > --- > src/jtag/drivers/buspirate.c | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/src/jtag/drivers/buspirate.c b/src/jtag/drivers/buspirate.c > index 7813f33..a360d23 100644 > --- a/src/jtag/drivers/buspirate.c > +++ b/src/jtag/drivers/buspirate.c > @@ -55,6 +55,11 @@ static void buspirate_scan(bool ir_scan, enum scan_type > type, > #define CMD_UART_SPEED 0x07 > #define CMD_JTAG_SPEED 0x08 > > +/* Not all OSes have this speed defined */ > +#if !defined(B1000000) > +#define B1000000 0010010 > +#endif > + > enum { > MODE_HIZ = 0, > MODE_JTAG = 1, /* push-pull outputs */ > -- > 1.7.3.4 > > _______________________________________________ > Openocd-development mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/openocd-development >
-- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
