mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-24 01:56:25 +03:00
Make avrintel.h an internal header file for libavrdude
This commit is contained in:
@@ -156,7 +156,7 @@ add_library(libavrdude
|
||||
avrftdi_tpi.c
|
||||
avrftdi_tpi.h
|
||||
avrintel.c
|
||||
avrintel.h
|
||||
libavrdude-avrintel.h
|
||||
avrpart.c
|
||||
bitbang.c
|
||||
bitbang.h
|
||||
|
||||
@@ -103,7 +103,7 @@ libavrdude_a_SOURCES = \
|
||||
avrftdi_tpi.c \
|
||||
avrftdi_tpi.h \
|
||||
avrintel.c \
|
||||
avrintel.h \
|
||||
libavrdude-avrintel.h \
|
||||
avrpart.c \
|
||||
bitbang.c \
|
||||
bitbang.h \
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* Meta-author Stefan Rueger <stefan.rueger@urclocks.com>
|
||||
*
|
||||
* v 1.3
|
||||
* 22.12.2023
|
||||
* 14.02.2024
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <limits.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "avrintel.h"
|
||||
#include "libavrdude.h"
|
||||
|
||||
// Given the MCU id return index in uP_table or -1 if not found
|
||||
int upidxmcuid(int mcuid) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Do not edit: automatically generated by mkavrintel.pl
|
||||
*
|
||||
* avrintel.h
|
||||
* libavrdude-avrintel.h
|
||||
*
|
||||
* Microchip AVR8L, AVR8, XMEGA and AVR8X family description of interrupts, configurations and more
|
||||
*
|
||||
@@ -9,12 +9,16 @@
|
||||
* Meta-author Stefan Rueger <stefan.rueger@urclocks.com>
|
||||
*
|
||||
* v 1.3
|
||||
* 22.12.2023
|
||||
* 14.02.2024
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef avrintel_h
|
||||
#define avrintel_h
|
||||
#ifndef libavrdude_avrintel_h
|
||||
#define libavrdude_avrintel_h
|
||||
|
||||
#ifndef LIBAVRDUDE_INCLUDE_INTERNAL_HEADERS
|
||||
#error Do not directly #include <libavrdude-avrintel.h>. Do #include <libavrdude.h> instead.
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
int value; // Value (to be shifted into mask position)
|
||||
@@ -25,7 +25,9 @@
|
||||
#include <limits.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include "avrintel.h"
|
||||
#define LIBAVRDUDE_INCLUDE_INTERNAL_HEADERS
|
||||
#include "libavrdude-avrintel.h"
|
||||
#undef LIBAVRDUDE_INCLUDE_INTERNAL_HEADERS
|
||||
|
||||
typedef uint32_t pinmask_t;
|
||||
/*
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
#ifndef urclock_private_h__
|
||||
#define urclock_private_h__
|
||||
|
||||
#include "avrintel.h"
|
||||
|
||||
// EEPROM or flash cache for bytewise access
|
||||
typedef struct {
|
||||
int base, size;
|
||||
|
||||
Reference in New Issue
Block a user