#include <stdint.h>
#include <avr/eeprom.h>
uint8_t buf[20];
int
main(void)
{
eeprom_read_block(buf, (const uint8_t *)0, sizeof(buf));
}
---In AVR-Chat@yahoogroups.com, <egroupscdh@...> wrote:
I am attempting to use the avrlib eeprom routines on an ATMega1284p
I am using the WinAVR-20100110 tool chain
When I link I get => undefined reference to `__eerd_block_m1284p'
Do I need to specify an additional library to link to?
Cheers,
Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844
http://www.whitetrout.net/Chuck
I am using the WinAVR-20100110 tool chain
When I link I get => undefined reference to `__eerd_block_m1284p'
Do I need to specify an additional library to link to?
Cheers,
Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844
http://www.whitetrout.net/Chuck