#include "ac_cfg.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <unistd.h>
#include "avrdude.h"
#include "libavrdude.h"
Go to the source code of this file.
◆ pickit2_initpgm()
1326{
1327
1328
1329
1330
1331
1333
1335}
static PROGRAMMER * pgm
Definition main.c:192
static int pickit2_nousb_open(struct programmer_t *pgm, char *name)
Definition pickit2.c:1313
int(* open)(struct programmer_t *pgm, char *port)
Definition libavrdude.h:657
char type[PGM_TYPELEN]
Definition libavrdude.h:619
References programmer_t::open, pgm, pickit2_nousb_open(), and programmer_t::type.
◆ pickit2_nousb_open()
| static int pickit2_nousb_open |
( |
struct programmer_t * |
pgm, |
|
|
char * |
name |
|
) |
| |
|
static |
1313 {
1315#ifdef WIN32NATIVE
1316 "%s: error: no usb or hid support. Please compile again with libusb or HID support from Win32 DDK installed.\n",
1317#else
1318 "%s: error: no usb support. Please compile again with libusb installed.\n",
1319#endif
1321
1322 return -1;
1323}
#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 pickit2_initpgm().
◆ pickit2_desc
| const char pickit2_desc[] = "Microchip's PICkit2 Programmer" |