Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
ft245r.c File Reference
#include "ac_cfg.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <sys/time.h>
#include <unistd.h>
#include <stdint.h>
#include "avrdude.h"
#include "libavrdude.h"
#include "bitbang.h"
#include "ft245r.h"
#include "usbdevs.h"
+ Include dependency graph for ft245r.c:

Go to the source code of this file.

Macros

#define DO_NOT_BUILD_FT245R
 

Functions

static int ft245r_nopthread_open (struct programmer_t *pgm, char *name)
 
void ft245r_initpgm (PROGRAMMER *pgm)
 

Variables

const char ft245r_desc [] = "FT245R/FT232R Synchronous BitBangMode Programmer"
 

Macro Definition Documentation

◆ DO_NOT_BUILD_FT245R

#define DO_NOT_BUILD_FT245R

Function Documentation

◆ ft245r_initpgm()

void ft245r_initpgm ( PROGRAMMER pgm)
102 {
103 strcpy(pgm->type, "ftdi_syncbb");
105}
static int ft245r_nopthread_open(struct programmer_t *pgm, char *name)
Definition ft245r.c:91
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 ft245r_nopthread_open(), programmer_t::open, pgm, and programmer_t::type.

+ Here is the call graph for this function:

◆ ft245r_nopthread_open()

static int ft245r_nopthread_open ( struct programmer_t pgm,
char *  name 
)
static
91 {
92 avrdude_message(MSG_INFO, "%s: error: no pthread support. Please compile again with pthread installed."
93#if defined(_WIN32)
94 " See http://sourceware.org/pthreads-win32/."
95#endif
96 "\n",
97 progname);
98
99 return -1;
100}
#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 ft245r_initpgm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ ft245r_desc

const char ft245r_desc[] = "FT245R/FT232R Synchronous BitBangMode Programmer"