-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcycfx2prog.h
More file actions
32 lines (26 loc) · 833 Bytes
/
cycfx2prog.h
File metadata and controls
32 lines (26 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* cycfx2prog.h - Cypress FX2(LP) programmer.
*
* Copyright (c) 2006--2009 by Wolfgang Wieser ] wwieser (a) gmx <*> de [
*
* This file may be distributed and/or modified under the terms of the
* GNU General Public License version 2 as published by the Free Software
* Foundation. (See COPYING.GPL for details.)
*
* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
* WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef _CYCFX2PROG_H
#define _CYCFX2PROG_H 1
#include <usb.h>
#ifdef __cplusplus
extern "C" {
#endif
//extern int cycfx2progmain(int argc, char **arg);
extern int cycfx2progmain(struct usb_device *usbdev, const char *hexfile, const char *cmd);
extern void cycfx2prog(int argc, ...);
#ifdef __cplusplus
}
#endif
#endif /* cycfx2prog.h */