[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bugs #12324] boot_page_write_safe, etc.
From: |
anonymous |
Subject: |
[avr-libc-dev] [bugs #12324] boot_page_write_safe, etc. |
Date: |
Wed, 16 Mar 2005 06:42:10 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705) |
Follow-up Comment #2, bugs #12324 (project avr-libc):
I use WinAvr package 20050214 so I suppose that is the version 1.2.2, so
maybe it is allready fixed in the version 1.2.3. I made these changes in
boot.h:
#define boot_page_erase_safe(address) \
do { \
boot_spm_busy_wait(); \
eeprom_busy_wait(); \
boot_page_erase (address); \
} while (0)
// __boot_eeprom_spm_safe (boot_page_erase, address, data)
to make it compile , otherwise I got the compile error:
macro "boot_page_erase" passed 2 arguments, but takes just 1
when using:
...
boot_page_erase_safe((addr),0xff);
..
and the error:
macro "boot_page_erase_safe" requires 2 arguments, but only 1 given
when using:
...
boot_page_erase_safe((addr))
...
(ofcourse!)
/best regards Ola Blom
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12324>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/