You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
431 B

//EEPPROM compatibility support for simulator
#ifdef AVR
#include <avr/eeprom.h>
#else
#include <stdint.h>
void eeprom_write_byte (uint8_t *p, uint8_t value);
void eeprom_write_word (uint16_t *p, uint16_t value);
uint8_t eeprom_read_byte (const uint8_t *p);
uint16_t eeprom_read_word (const uint16_t *p);
#define eeprom_busy_wait()
16 years ago
#define EEMEM __attribute__((section(".eeprom")))
#endif