Package: avrdude
Version: 6.3-4+b1
Severity: normal

The ATtiny2313A chip has the same programming details and signature as
the ATtiny2313, but is not recognised by avrdude:

  $ avrdude -p attiny2313a ...
  avrdude: AVR Part "attiny2313a" not found.

This can be easily remidied:

  part parent "t2313"
      id   = "t2313a";
      desc = "ATtiny2313A";
  ;

This may not seem important, but I find it very useful that `avrdude -p`
takes the same names for the chips as `avr-gcc -mmcu=`, and my Makefiles
are built on this idea. It has worked up until the ATtiny2313A (whose
libc header files I need to use as they contain some bugfixes and better
names for registers, on an otherwise-identical chip).

Likewise while I'm here, the ATtiny84A has an identical problem,
similarly fixed by

  part parent "t84"
      id   = "t84a";
      desc = "ATtiny84A";
  ;

There are likely to be many more "A" variants that should be aliased
like these.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages avrdude depends on:
ii  libc6         2.27-5
ii  libelf1       0.170-0.5
ii  libftdi1      0.20-4
ii  libncurses6   6.1+20180714-1
ii  libreadline7  7.0-5
ii  libtinfo6     6.1+20180714-1
ii  libusb-0.1-4  2:0.1.12-32

avrdude recommends no packages.

Versions of packages avrdude suggests:
pn  avrdude-doc  <none>

-- no debconf information

Reply via email to