build system works
This commit is contained in:
@@ -61,13 +61,15 @@
|
||||
|
||||
#include "avr_compiler.h"
|
||||
|
||||
#ifndef MAPPED_EEPROM_START
|
||||
#define MAPPED_EEPROM_START 0x1000
|
||||
#endif
|
||||
|
||||
#define EEPROM_PAGESIZE 32
|
||||
#define EEPROM(_pageAddr, _byteAddr) \
|
||||
((uint8_t *) MAPPED_EEPROM_START)[_pageAddr*EEPROM_PAGESIZE + _byteAddr]
|
||||
|
||||
|
||||
|
||||
/* Definitions of macros. */
|
||||
|
||||
/*! \brief Enable EEPROM block sleep-when-not-used mode.
|
||||
|
||||
Reference in New Issue
Block a user