102 lines
3.0 KiB
C
102 lines
3.0 KiB
C
/*
|
|
* avrdude - A Downloader/Uploader for AVR device programmers
|
|
* Copyright (C) 2021 Marius Greuel
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifdef _MSC_VER
|
|
#include "msvc/msvc_compat.h"
|
|
#endif
|
|
|
|
#define VERSION "@AVRDUDE_FULL_VERSION@"
|
|
|
|
/* Options */
|
|
|
|
/* Linux sysfs GPIO support enabled */
|
|
#cmakedefine HAVE_LINUXGPIO 1
|
|
|
|
/* Linux SPI support enabled */
|
|
#cmakedefine HAVE_LINUXSPI 1
|
|
|
|
/* Parallel port access enabled */
|
|
#cmakedefine HAVE_PARPORT 1
|
|
|
|
/* ----- Functions ----- */
|
|
|
|
/* Define if lex/flex has yylex_destroy */
|
|
#cmakedefine HAVE_YYLEX_DESTROY 1
|
|
|
|
/* Define if ftdi1 has 'ftdi_tcioflush' function. */
|
|
#cmakedefine HAVE_FTDI_TCIOFLUSH 1
|
|
|
|
/* ----- Libraries and Headers ----- */
|
|
|
|
/* Define to 1 if the system has the type `uint_t'. */
|
|
#cmakedefine HAVE_UINT_T 1
|
|
|
|
/* Define to 1 if the system has the type `ulong_t'. */
|
|
#cmakedefine HAVE_ULONG_T 1
|
|
|
|
/* Define if ELF support is enabled via libelf */
|
|
#cmakedefine HAVE_LIBELF 1
|
|
|
|
/* Define to 1 if you have the <libelf.h> header file. */
|
|
#cmakedefine HAVE_LIBELF_H 1
|
|
|
|
/* Define to 1 if you have the <libelf/libelf.h> header file. */
|
|
#cmakedefine HAVE_LIBELF_LIBELF_H 1
|
|
|
|
/* Define if USB support is enabled via libusb */
|
|
#cmakedefine HAVE_LIBUSB 1
|
|
|
|
/* Define if USB support is enabled via a libusb-1.0 compatible libusb */
|
|
#cmakedefine HAVE_LIBUSB_1_0 1
|
|
|
|
/* Define if USB support is enabled via a libusb-win32 compatible libusb */
|
|
#cmakedefine HAVE_LIBUSB_WIN32 1
|
|
|
|
/* Define to 1 if you have the <usb.h> header file. */
|
|
#cmakedefine HAVE_USB_H 1
|
|
|
|
/* Define to 1 if you have the <lusb0_usb.h> header file. */
|
|
#cmakedefine HAVE_LUSB0_USB_H 1
|
|
|
|
/* Define to 1 if you have the <libusb.h> header file. */
|
|
#cmakedefine HAVE_LIBUSB_H 1
|
|
|
|
/* Define to 1 if you have the <libusb-1.0/libusb.h> header file. */
|
|
#cmakedefine HAVE_LIBUSB_1_0_LIBUSB_H 1
|
|
|
|
/* Define if HID support is enabled via the Win32 DDK */
|
|
#cmakedefine HAVE_LIBHID 1
|
|
|
|
/* Define if HID support is enabled via libhidapi */
|
|
#cmakedefine HAVE_LIBHIDAPI 1
|
|
|
|
/* Define to 1 if you have the <hidapi/hidapi.h> header file. */
|
|
#cmakedefine HAVE_HIDAPI_HIDAPI_H 1
|
|
|
|
/* Define if FTDI support is enabled via libftdi */
|
|
#cmakedefine HAVE_LIBFTDI 1
|
|
|
|
/* Define if FTDI support is enabled via libftdi1 */
|
|
#cmakedefine HAVE_LIBFTDI1 1
|
|
|
|
/* Define if libftdi supports FT232H, libftdi version >= 0.20 */
|
|
#cmakedefine HAVE_LIBFTDI_TYPE_232H 1
|
|
|
|
/* Define to 1 if you have the `readline' library (-lreadline). */
|
|
#cmakedefine HAVE_LIBREADLINE 1
|