|
From: | E. Weddington |
Subject: | [avr-libc-dev] Re: [avr-gcc-list] set_sleep_mode and tiny2313/26 |
Date: | Mon, 28 Mar 2005 15:47:14 -0700 |
User-agent: | Mozilla Thunderbird 0.7.3 (Windows/20040803) |
akibow wrote:
Is "Bug-tracker" here? https://savannah.nongnu.org/bugs/?func=additem&group=avr-libc I'll register it.
Yes, that's the one.
No, the solution is to not double-define it. Do not place a definition in your source AND define it on the command line via a makefile.I found a problem about "Busy-wait delay loops". Document says to define F_CPU , write "#define F_CPU 1000000UL // 1 MHz"But it makes error on compiling when using makefiles that is produced by Mfile.By default, makefile has following definition. F_CPU = 10000000 CDEFS = -DF_CPU=$(F_CPU)ULSo if #define F_CPU is placed on our source file, double-definition error may occur. It should be written in documentation.
But this sounds like a seperate issue from the sleep stuff.
[Prev in Thread] | Current Thread | [Next in Thread] |