#include "ac_cfg.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <errno.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdint.h>
#include <stdarg.h>
#include "avrdude.h"
#include "libavrdude.h"
#include "avrftdi.h"
#include "avrftdi_tpi.h"
#include "avrftdi_private.h"
#include "usbdevs.h"
Go to the source code of this file.
|
| #define | MAX(a, b) ((a)>(b)?(a):(b)) |
| |
| #define | MIN(a, b) ((a)<(b)?(a):(b)) |
| |
|
| const char | avrftdi_desc [] = "Interface to the MPSSE Engine of FTDI Chips using libftdi." |
| |
◆ MAX
| #define MAX |
( |
|
a, |
|
|
|
b |
|
) |
| ((a)>(b)?(a):(b)) |
◆ MIN
| #define MIN |
( |
|
a, |
|
|
|
b |
|
) |
| ((a)<(b)?(a):(b)) |
◆ avrftdi_initpgm()
62{
65}
static int avrftdi_noftdi_open(struct programmer_t *pgm, char *name)
Definition avrftdi.c:53
static PROGRAMMER * pgm
Definition main.c:192
int(* open)(struct programmer_t *pgm, char *port)
Definition libavrdude.h:657
char type[PGM_TYPELEN]
Definition libavrdude.h:619
References avrftdi_noftdi_open(), programmer_t::open, pgm, and programmer_t::type.
◆ avrftdi_noftdi_open()
| static int avrftdi_noftdi_open |
( |
struct programmer_t * |
pgm, |
|
|
char * |
name |
|
) |
| |
|
static |
54{
55 avrdude_message(
MSG_INFO,
"%s: Error: no libftdi or libusb support. Install libftdi1/libusb-1.0 or libftdi/libusb and run configure/make again.\n",
57
58 return -1;
59}
#define MSG_INFO
Definition avrdude.h:51
char * progname
Definition main.c:61
int avrdude_message(const int msglvl, const char *format,...)
Definition main.c:93
References avrdude_message(), MSG_INFO, and progname.
Referenced by avrftdi_initpgm().
◆ avrftdi_desc
| const char avrftdi_desc[] = "Interface to the MPSSE Engine of FTDI Chips using libftdi." |