[avr-libc-dev] [bug #54652] Missing support for ATmega328PB

2019-06-05 Thread Paul Evans
Follow-up Comment #2, bug #54652 (project avr-libc):

Any update on this? I'm keen to not have to regularly make that 2-line edit to
my "io.h" file every time the debian package gets updated.

Is there a process by which this can make its way into a release?

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.nongnu.org/


___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[avr-libc-dev] [patch #9543] Add avrxmega3 devices.

2019-03-12 Thread Paul Evans
Follow-up Comment #20, patch #9543 (project avr-libc):

I too have successfully used this patch to add support for ATtiny814 to my
avr-libc. Can it be considered for mainline merging sometime please? This
would help improve the uptake of these new chips.

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.nongnu.org/


___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[avr-libc-dev] [bug #38764] avr/iotn2313a.h missing analog subsystem

2018-11-06 Thread Paul Evans
Follow-up Comment #1, bug #38764 (project avr-libc):

The ATtiny2313A does not have an ADC, so it does not have an ADMUX register.

What it does have is an analog comparator, and so has the ACSR register.

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.nongnu.org/


___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[avr-libc-dev] [bug #54977] ATtiny4313 missing PCMSK0

2018-11-06 Thread Paul Evans
URL:
  

 Summary: ATtiny4313 missing PCMSK0
 Project: AVR C Runtime Library
Submitted by: leonerd
Submitted on: Tue 06 Nov 2018 11:04:29 PM UTC
Category: Header
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Header files
  Status: None
Percent Complete: 0%
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: 2.0.0
   Fixed Release: None

___

Details:

The data sheet defines registers PCMSK0, PCMSK1 and PCMSK2

iotn2313a.h correctly provides all three (with PCMSK being another name for
PCMSK0):

  #define PCMSK _SFR_IO8(0x020)
  #define PCMSK0 _SFR_IO8(0x020)

iotn4313.h is missing PCMSK0, and has only PCMSK:

   #define PCMSK _SFR_IO8(0x020)

The PCMSK0 definition ought to be added




___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.nongnu.org/


___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[avr-libc-dev] [bug #54652] Missing support for ATmega328PB

2018-09-12 Thread Paul Evans
URL:
  

 Summary: Missing support for ATmega328PB
 Project: AVR C Runtime Library
Submitted by: leonerd
Submitted on: Wed 12 Sep 2018 05:29:13 PM UTC
Category: Header
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Header files
  Status: None
Percent Complete: 0%
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: 2.0.0
   Fixed Release: None

___

Details:

(copied from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867235)

Attempting to build a program for the new ATmega328PB, it seems the
device-specific IO file is not found:

avr-gcc -std=gnu99 -Wall -Os -DF_CPU=1600 -mmcu=atmega328pb -flto
-ffunction-sections ...
In file included from src/test.c:1:0:
/usr/lib/avr/include/avr/io.h:623:6: warning: #warning "device type not
defined" [-Wcpp]
 #warning "device type not defined"
  ^

I do have the required iom328pb.h file though:

-rw-r--r-- 1 root root 27K Jul 22  2016 /usr/lib/avr/include/avr/iom328pb.h

Further, I see that iom328pb.h isn't listed in the big long section of
#ifdef-guarded #includes in the main io.h. I see there is an attempted generic
fallback section based on value of __AVR_DEV_LIB_NAME__ but it seems for
whatever reason that isn't kicking in today.

If I simply add the required 2 lines (by copying the 328P example), my code
will compile fine. Attached is my patch and the new file.



___

File Attachments:


---
Date: Wed 12 Sep 2018 05:29:13 PM UTC  Name: iom328pb.h  Size: 27KiB   By:
leonerd


---
Date: Wed 12 Sep 2018 05:29:13 PM UTC  Name: add-iom328pb-h.diff  Size: 422B  
By: leonerd



___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.nongnu.org/


___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev