avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #12495] about Busy-wait delay loops(document)


From: Fumiaki Toguchi
Subject: [avr-libc-dev] [bug #12495] about Busy-wait delay loops(document)
Date: Mon, 28 Mar 2005 22:39:20 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12495>

                 Summary: about Busy-wait delay loops(document)
                 Project: AVR C Runtime Library
            Submitted by: akibow
            Submitted on: Mon 03/28/05 at 22:39
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open

    _______________________________________________________

Details:

I found a problem about "Busy-wait delay loops".
Document says that to define F_CPU ,
 write "#define F_CPU 1000000UL  // 1 MHz" .
But it makes compile error when using makefiles that is 
made by Mfile.

Default, makefile has following definition.
F_CPU = 10000000
CDEFS = -DF_CPU=$(F_CPU)UL
So if #define F_CPU is placed on our source file, double-definition error may
occur. It should be written in documentation. 







    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12495>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]