bugAVR C Runtime Library - Bugs: bug #35215, error: 'CLKPS2' undeclared when...

 
 

bug #35215: error: 'CLKPS2' undeclared when using clock_prescale_get() function

Submitted by:  Pitchumani <pitchumani>
Submitted on:  Mon 02 Jan 2012 07:13:35 AM UTC  
 
Category: LibrarySeverity: 3 - Normal
Priority: 9 - ImmediateItem Group: Header files
Status: FixedPercent Complete: 0%
Assigned to: Pitchumani <pitchumani>Open/Closed: Open
Release: 1.7.1Fixed Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Mon 13 May 2013 06:45:25 AM UTC, comment #2:

This should be fixed in SVN revision r2396 - the patch (http://lists.nongnu.org/archive/html/avr-libc-dev/2013-05/msg00025.html) was sent to the mailing list. Apologies for not checking the bug list first.

Senthil Kumar Selvaraj <saaadhu>
Project Member
Mon 02 Jan 2012 07:27:03 AM UTC, comment #1:

Patch for fixing issue is attached. Please check.

(file #24720)

Pitchumani <pitchumani>
Project MemberIn charge of this item.
Mon 02 Jan 2012 07:13:35 AM UTC, original submission:

Target devices: atmega16hvb/ atmega16hvbrevb/ atmega32hvb/ atmega32hvbrevb

Following errors are issued when 'clock_prescale_get()' function is called.

error: 'CLKPS2' undeclared (first use in this function)
error: 'CLKPS3' undeclared (first use in this function)

Cause:
'clock_prescale_get()' macro definitions for atmega16hvb, atmega16hvbrevb, atmega32hvb and atmega32hvbrevb devices in power.h are wrong. It uses undefined macros 'CLKPS2' and 'CLKPS3'.

Pitchumani <pitchumani>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #24720:  avr-libc-bug35215.patch added by pitchumani (2kB - application/octet-stream - patch for defect fix)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by saaadhu (Posted a comment)
  • -unavailable- added by arcanum (Updated the item)
  • -unavailable- added by pitchumani (Submitted the item)
  •  

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

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 20 Mar 2014 03:06:24 PM UTCpitchumaniStatusNone=>Fixed
      Assigned toNone=>pitchumani
    Fri 16 Nov 2012 06:35:42 PM UTCarcanumPriority5 - Normal=>9 - Immediate
    Mon 02 Jan 2012 07:27:03 AM UTCpitchumaniAttached File-=>Added avr-libc-bug35215.patch, #24720

    Back to the top


    Powered by Savane 3.1-cleanup