Skip to content

Commit be9c6bd

Browse files
committed
make necessary changes to compile with MSVC
1 parent 3f82694 commit be9c6bd

31 files changed

+25311
-4
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.vs/
2+
bin/
3+
obj/
4+
*.user

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# AVRDUDE for Windows
2+
3+
[AVRDUDE](https://www.nongnu.org/avrdude/) is a utility to download/upload/manipulate
4+
the ROM and EEPROM contents of AVR microcontrollers using the in-system programming
5+
technique (ISP).
6+
7+
This port can be built natively under Windows with Visual C++ compiler (no more
8+
[crosscompiling](https://github.com/arduino/avrdude-build-script#windows-cross-compile-from-linux-requirements) with MinGW or Cygwin).
9+
10+
## Build Prerequisities
11+
12+
* [Visual Studio 2019 Community](https://visualstudio.microsoft.com/) or higher with C++ desktop development workload
13+
14+
## Build Instructions
15+
16+
* Open solution file _avrdude.sln_
17+
* Hit _Build Solution_
18+
19+
## References
20+
21+
* [Project homepage](https://www.nongnu.org/avrdude/)
22+
* [Documentation](https://www.nongnu.org/avrdude/user-manual/avrdude.html)
23+
* [Project page at Savannah](http://savannah.nongnu.org/projects/avrdude)

ac_cfg.h

+201
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
1+
/* ac_cfg.h. Generated from ac_cfg.h.in by configure. */
2+
/* ac_cfg.h.in. Generated from configure.ac by autoheader. */
3+
4+
/* Define to 1 if you have the <ddk/hidsdi.h> header file. */
5+
/* #undef HAVE_DDK_HIDSDI_H */
6+
7+
/* Define to 1 if you have the <dlfcn.h> header file. */
8+
#define HAVE_DLFCN_H 1
9+
10+
/* Define to 1 if you have the <fcntl.h> header file. */
11+
#define HAVE_FCNTL_H 1
12+
13+
/* Define to 1 if you have the `getaddrinfo' function. */
14+
#define HAVE_GETADDRINFO 1
15+
16+
/* Define to 1 if you have the `gettimeofday' function. */
17+
#define HAVE_GETTIMEOFDAY 1
18+
19+
/* Define to 1 if you have the <hidapi/hidapi.h> header file. */
20+
/* #undef HAVE_HIDAPI_HIDAPI_H */
21+
22+
/* Define to 1 if you have the <inttypes.h> header file. */
23+
#define HAVE_INTTYPES_H 1
24+
25+
/* Define if ELF support is enabled via libelf */
26+
/* #undef HAVE_LIBELF */
27+
28+
/* Define to 1 if you have the <libelf.h> header file. */
29+
/* #undef HAVE_LIBELF_H */
30+
31+
/* Define to 1 if you have the <libelf/libelf.h> header file. */
32+
/* #undef HAVE_LIBELF_LIBELF_H */
33+
34+
/* Define if FTDI support is enabled via libftdi */
35+
/* #undef HAVE_LIBFTDI */
36+
37+
/* Define if FTDI support is enabled via libftdi1 */
38+
/* #undef HAVE_LIBFTDI1 */
39+
40+
/* Define if libftdi supports FT232H, libftdi version >= 0.20 */
41+
/* #undef HAVE_LIBFTDI_TYPE_232H */
42+
43+
/* Define if HID support is enabled via the Win32 DDK */
44+
/* #undef HAVE_LIBHID */
45+
46+
/* Define if HID support is enabled via libhidapi */
47+
/* #undef HAVE_LIBHIDAPI */
48+
49+
/* Define to 1 if you have the `ncurses' library (-lncurses). */
50+
/* #undef HAVE_LIBNCURSES */
51+
52+
/* Define to 1 if you have the `readline' library (-lreadline). */
53+
/* #undef HAVE_LIBREADLINE */
54+
55+
/* Define to 1 if you have the `termcap' library (-ltermcap). */
56+
/* #undef HAVE_LIBTERMCAP */
57+
58+
/* Define if USB support is enabled via libusb */
59+
/* #undef HAVE_LIBUSB */
60+
61+
/* Define if USB support is enabled via a libusb-1.0 compatible libusb */
62+
/* #undef HAVE_LIBUSB_1_0 */
63+
64+
/* Define to 1 if you have the <libusb-1.0/libusb.h> header file. */
65+
/* #undef HAVE_LIBUSB_1_0_LIBUSB_H */
66+
67+
/* Define to 1 if you have the <libusb.h> header file. */
68+
/* #undef HAVE_LIBUSB_H */
69+
70+
/* Define to 1 if you have the `ws2_32' library (-lws2_32). */
71+
/* #undef HAVE_LIBWS2_32 */
72+
73+
/* Define to 1 if you have the <limits.h> header file. */
74+
#define HAVE_LIMITS_H 1
75+
76+
/* Linux sysfs GPIO support enabled */
77+
/* #undef HAVE_LINUXGPIO */
78+
79+
/* Define to 1 if you have the <lusb0_usb.h> header file. */
80+
/* #undef HAVE_LUSB0_USB_H */
81+
82+
/* Define to 1 if you have the <memory.h> header file. */
83+
#define HAVE_MEMORY_H 1
84+
85+
/* Define to 1 if you have the `memset' function. */
86+
#define HAVE_MEMSET 1
87+
88+
/* Define to 1 if you have the <netinet/in.h> header file. */
89+
#define HAVE_NETINET_IN_H 1
90+
91+
/* parallel port access enabled */
92+
#define HAVE_PARPORT 1
93+
94+
/* Define to 1 if you have the <pthread.h> header file. */
95+
#define HAVE_PTHREAD_H 1
96+
97+
/* Define to 1 if you have the `select' function. */
98+
#define HAVE_SELECT 1
99+
100+
/* Define to 1 if you have the <stdint.h> header file. */
101+
#define HAVE_STDINT_H 1
102+
103+
/* Define to 1 if you have the <stdlib.h> header file. */
104+
#define HAVE_STDLIB_H 1
105+
106+
/* Define to 1 if you have the `strcasecmp' function. */
107+
#define HAVE_STRCASECMP 1
108+
109+
/* Define to 1 if you have the `strdup' function. */
110+
#define HAVE_STRDUP 1
111+
112+
/* Define to 1 if you have the `strerror' function. */
113+
#define HAVE_STRERROR 1
114+
115+
/* Define to 1 if you have the <strings.h> header file. */
116+
#define HAVE_STRINGS_H 1
117+
118+
/* Define to 1 if you have the <string.h> header file. */
119+
#define HAVE_STRING_H 1
120+
121+
/* Define to 1 if you have the `strncasecmp' function. */
122+
#define HAVE_STRNCASECMP 1
123+
124+
/* Define to 1 if you have the `strtol' function. */
125+
#define HAVE_STRTOL 1
126+
127+
/* Define to 1 if you have the `strtoul' function. */
128+
#define HAVE_STRTOUL 1
129+
130+
/* Define to 1 if you have the <sys/ioctl.h> header file. */
131+
#define HAVE_SYS_IOCTL_H 1
132+
133+
/* Define to 1 if you have the <sys/stat.h> header file. */
134+
#define HAVE_SYS_STAT_H 1
135+
136+
/* Define to 1 if you have the <sys/time.h> header file. */
137+
#define HAVE_SYS_TIME_H 1
138+
139+
/* Define to 1 if you have the <sys/types.h> header file. */
140+
#define HAVE_SYS_TYPES_H 1
141+
142+
/* Define to 1 if you have the <termios.h> header file. */
143+
#define HAVE_TERMIOS_H 1
144+
145+
/* Define to 1 if the system has the type `uint_t'. */
146+
/* #undef HAVE_UINT_T */
147+
148+
/* Define to 1 if the system has the type `ulong_t'. */
149+
/* #undef HAVE_ULONG_T */
150+
151+
/* Define to 1 if you have the <unistd.h> header file. */
152+
#define HAVE_UNISTD_H 1
153+
154+
/* Define to 1 if you have the <usb.h> header file. */
155+
/* #undef HAVE_USB_H */
156+
157+
/* Define to 1 if you have the `usleep' function. */
158+
#define HAVE_USLEEP 1
159+
160+
/* Define if lex/flex has yylex_destroy */
161+
#define HAVE_YYLEX_DESTROY 1
162+
163+
/* Define to the sub-directory where libtool stores uninstalled libraries. */
164+
#define LT_OBJDIR ".libs/"
165+
166+
/* Name of package */
167+
#define PACKAGE "avrdude"
168+
169+
/* Define to the address where bug reports for this package should be sent. */
170+
#define PACKAGE_BUGREPORT "[email protected]"
171+
172+
/* Define to the full name of this package. */
173+
#define PACKAGE_NAME "avrdude"
174+
175+
/* Define to the full name and version of this package. */
176+
#define PACKAGE_STRING "avrdude 6.3-20171130"
177+
178+
/* Define to the one symbol short name of this package. */
179+
#define PACKAGE_TARNAME "avrdude"
180+
181+
/* Define to the home page for this package. */
182+
#define PACKAGE_URL ""
183+
184+
/* Define to the version of this package. */
185+
#define PACKAGE_VERSION "6.3-20171130"
186+
187+
/* Define to 1 if you have the ANSI C header files. */
188+
#define STDC_HEADERS 1
189+
190+
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
191+
#define TIME_WITH_SYS_TIME 1
192+
193+
/* Version number of package */
194+
#define VERSION "6.3-20171130"
195+
196+
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
197+
`char[]'. */
198+
#define YYTEXT_POINTER 1
199+
200+
/* Define to empty if `const' does not conform to ANSI C. */
201+
/* #undef const */

0 commit comments

Comments
 (0)