bugAVR C Runtime Library - Bugs: bug #37627, #define PA0_DDR DDRADC without...

 
 

bug #37627: #define PA0_DDR DDRADC without ever defining DDRADC

Submitted by:  None
Submitted on:  Wed 24 Oct 2012 03:13:11 PM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 9 - ImmediateItem Group: Header files
Status: NonePercent Complete: 0%
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: OpenRelease: 1.8.0
Fixed Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 24 Oct 2012 05:40:17 PM UTC, comment #1:

I have found some more...

In avr/iom16hva2.h:
#define NV_DDR DDRNV
#define NV_PORT PORTNV
#define NV_PIN PINNV
#define NV_BIT NV
and following lines don't seem right to me either.

Also:
avr/iom16hvb.h
avr/iom16hvbrevb.h
avr/iom32hvb.h
avr/iom64hve.h

Anonymous
Wed 24 Oct 2012 03:13:11 PM UTC, original submission:

A number of header files contains macros definitions like:
#define PA0_DDR DDRADC
#define PA0_PORT PORTADC
#define PA0_PIN PINADC
#define PA0_BIT ADC0
or
#define PCINT1_DDR DDRADC
#define PCINT1_PORT PORTADC
#define PCINT1_PIN PINADC
#define PCINT1_BIT ADC1

without ever defining DDRADC, PORTADC, ADC0...

I assume these lines were supposed to read:
#define PA0_DDR DDRA
#define PA0_PORT PORTA
#define PA0_PIN PINA
#define PA0_BIT 0
??

This applies to all device pin definitions in:
avr/iotn861a.h
avr/iom88pa.h
avr/iotn20.h
avr/iotn461a.h
avr/iotn40.h
avr/iotn261a.h

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by arcanum (Updated the item)
  • -unavailable- added by None (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 16 Nov 2012 06:14:42 PM UTCarcanumPriority5 - Normal=>9 - Immediate

    Back to the top


    Powered by Savane 3.1-cleanup