bugAVR C Runtime Library - Bugs: bug #7469, "Problem" by using the...

 
 

bug #7469: "Problem" by using the library function "boot_lock_bits_set"

Submitted by:  None
Submitted on:  Tue 27 Jan 2004 08:26:45 AM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPercent Complete: 0%
Assigned to: Theodore A. Roth <troth>Originator Email: -unavailable-
Open/Closed: ClosedRelease: None
Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 04 Mar 2004 07:15:58 PM UTC, comment #1:

The BLBnx values are not defined in any of the header files.

I have committed a patch to HEAD which adds them to avr/boot.h that should fix this.

Theodore A. Roth <troth>In charge of this item.
Tue 27 Jan 2004 08:26:45 AM UTC, original submission:

ATmega64, maybe more cpu's, too

GCC-Compiler, version 3.3.1

This is the source

#include <avr/io.h>
#include <avr/ina90.h>
#include <avr/interrupt.h>
#include <avr/signal.h>
#include <avr/pgmspace.h>
#include <avr/boot.h>
#include <avr/eeprom.h>

char bits;

bits =....;
boot_lock_bits_set(bits);

results in some error code:
'BLB01' undeclared (first use in this function)
'BLB02' undeclared (first use in this function)
'BLB11' undeclared (first use in this function)
'BLB12' undeclared (first use in this function)

it looks like a missing define for BLBxy.

Greetings from Germany
Martin

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

 

CC list is empty

 

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

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 04 Mar 2004 07:16:57 PM UTCtrothStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Thu 04 Mar 2004 07:15:58 PM UTCtrothCategoryNone=>Header
  Assigned toNone=>troth
  Carbon-Copy-=>Added avr-libc-dev --AT-- nongnu --DOT-- org

Back to the top


Powered by Savane 3.1-cleanup1