diff --git a/cpu/atmega1281/include/cpu_conf.h b/cpu/atmega1281/include/cpu_conf.h index 5109c6074d5bf7b5aa9ddffc409178be0444329a..438cbc70ed6368c41fab0af13a111b229279fee7 100644 --- a/cpu/atmega1281/include/cpu_conf.h +++ b/cpu/atmega1281/include/cpu_conf.h @@ -43,13 +43,6 @@ extern "C" { #endif /** @} */ -/** - * @name EEPROM configuration - * @{ - */ -#define EEPROM_SIZE (4096U) /* 4kB */ -/** @} */ - #ifdef __cplusplus } #endif diff --git a/cpu/atmega1281/include/periph_cpu.h b/cpu/atmega1281/include/periph_cpu.h index 9f69d979e7e1ca5508d57bb7af193783f3b858ac..07ebe56a75fdb02cdb16bc27e48b31fce99fdc90 100644 --- a/cpu/atmega1281/include/periph_cpu.h +++ b/cpu/atmega1281/include/periph_cpu.h @@ -64,6 +64,13 @@ enum { #define I2C_PIN_MASK (1 << PORTD0) | (1 << PORTD1) /** @} */ +/** + * @name EEPROM configuration + * @{ + */ +#define EEPROM_SIZE (4096U) /* 4kB */ +/** @} */ + #ifdef __cplusplus } #endif diff --git a/cpu/atmega1284p/include/cpu_conf.h b/cpu/atmega1284p/include/cpu_conf.h index 0731dc3964b576184d20bf3147b84103d2a35cf6..e87b7d2a01553ae7ecc01ed334e79544af6c4931 100644 --- a/cpu/atmega1284p/include/cpu_conf.h +++ b/cpu/atmega1284p/include/cpu_conf.h @@ -44,13 +44,6 @@ extern "C" { #define THREAD_STACKSIZE_IDLE (128) /** @} */ -/** - * @name EEPROM configuration - * @{ - */ -#define EEPROM_SIZE (4096U) /* 4kB */ -/** @} */ - #ifdef __cplusplus } #endif diff --git a/cpu/atmega1284p/include/periph_cpu.h b/cpu/atmega1284p/include/periph_cpu.h index 047dae07c172faf185130d13d489b26b9d81d49f..e61349c6e45a19e2a1b05b356e454fb3d0bbea2c 100644 --- a/cpu/atmega1284p/include/periph_cpu.h +++ b/cpu/atmega1284p/include/periph_cpu.h @@ -61,6 +61,13 @@ enum { #define I2C_PIN_MASK (1 << PORTC0) | (1 << PORTC1) /** @} */ +/** + * @name EEPROM configuration + * @{ + */ +#define EEPROM_SIZE (4096U) /* 4kB */ +/** @} */ + #ifdef __cplusplus } #endif diff --git a/cpu/atmega2560/include/cpu_conf.h b/cpu/atmega2560/include/cpu_conf.h index a070cccca24590685d0e7ab8b934818a2a750fd9..1e7f0eac9a056e7c7a63dfb7efbe5935dd7315c6 100644 --- a/cpu/atmega2560/include/cpu_conf.h +++ b/cpu/atmega2560/include/cpu_conf.h @@ -42,14 +42,6 @@ extern "C" { #define THREAD_STACKSIZE_IDLE (128) /** @} */ -/** - * @name EEPROM configuration - * @{ - */ -#define EEPROM_SIZE (4096U) /* 4kB */ -/** @} */ - - #ifdef __cplusplus } #endif diff --git a/cpu/atmega2560/include/periph_cpu.h b/cpu/atmega2560/include/periph_cpu.h index 10cd8acc1e1e66de3d5a1f47fcddbb982a62fa15..2002edc28cb19cb873c4645090e9d23ec606ae48 100644 --- a/cpu/atmega2560/include/periph_cpu.h +++ b/cpu/atmega2560/include/periph_cpu.h @@ -66,6 +66,13 @@ enum { #define I2C_PIN_MASK (1 << PORTD0) | (1 << PORTD1) /** @} */ +/** + * @name EEPROM configuration + * @{ + */ +#define EEPROM_SIZE (4096U) /* 4kB */ +/** @} */ + #ifdef __cplusplus } #endif diff --git a/cpu/atmega256rfr2/include/cpu_conf.h b/cpu/atmega256rfr2/include/cpu_conf.h index b21ef3c3c5d0ccb3926728148fd9c58fe24816c3..e7eb3c681e113e89a9415707e25c8afde91a4897 100644 --- a/cpu/atmega256rfr2/include/cpu_conf.h +++ b/cpu/atmega256rfr2/include/cpu_conf.h @@ -48,12 +48,5 @@ extern "C" { } #endif -/** - * @name EEPROM configuration - * @{ - */ -#define EEPROM_SIZE (8192U) /* 8kB */ -/** @} */ - #endif /* CPU_CONF_H */ /** @} */ diff --git a/cpu/atmega256rfr2/include/periph_cpu.h b/cpu/atmega256rfr2/include/periph_cpu.h index 03562a2402d5d35b39d3357b1c0f982aa43687f1..8ea19709043a88bbd7ededa70d5300d805178aca 100644 --- a/cpu/atmega256rfr2/include/periph_cpu.h +++ b/cpu/atmega256rfr2/include/periph_cpu.h @@ -77,6 +77,13 @@ enum { #endif /** @}*/ +/** + * @name EEPROM configuration + * @{ + */ +#define EEPROM_SIZE (8192U) /* 8kB */ +/** @} */ + #ifdef __cplusplus } #endif diff --git a/cpu/atmega328p/include/cpu_conf.h b/cpu/atmega328p/include/cpu_conf.h index 1f0aab3eab7a8d9ba8826c28d8d081ef388960e6..91ac74da4d81e946d804bd006fd074b0edc69e34 100644 --- a/cpu/atmega328p/include/cpu_conf.h +++ b/cpu/atmega328p/include/cpu_conf.h @@ -42,13 +42,6 @@ extern "C" { #define THREAD_STACKSIZE_IDLE (128) /** @} */ -/** - * @name EEPROM configuration - * @{ - */ -#define EEPROM_SIZE (1024U) /* 1kB */ -/** @} */ - #ifdef __cplusplus } #endif diff --git a/cpu/atmega328p/include/periph_cpu.h b/cpu/atmega328p/include/periph_cpu.h index 03ab92365fd9c6e1d5893a2f682e8d688df300ce..ac4be4cd09cea64cf5c0c8faaf25c42ffc1c9460 100644 --- a/cpu/atmega328p/include/periph_cpu.h +++ b/cpu/atmega328p/include/periph_cpu.h @@ -57,6 +57,13 @@ enum { #define I2C_PIN_MASK (1 << PORTC4) | (1 << PORTC5) /** @} */ +/** + * @name EEPROM configuration + * @{ + */ +#define EEPROM_SIZE (1024U) /* 1kB */ +/** @} */ + #ifdef __cplusplus } #endif