Skip to content
Snippets Groups Projects
Commit 8776df74 authored by Francisco Acosta's avatar Francisco Acosta
Browse files

cpu/atmega*: move EEPROM definitions to periph_cpu.h

parent 11b36a71
No related branches found
No related tags found
No related merge requests found
......@@ -43,13 +43,6 @@ extern "C" {
#endif
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (4096U) /* 4kB */
/** @} */
#ifdef __cplusplus
}
#endif
......
......@@ -64,6 +64,13 @@ enum {
#define I2C_PIN_MASK (1 << PORTD0) | (1 << PORTD1)
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (4096U) /* 4kB */
/** @} */
#ifdef __cplusplus
}
#endif
......
......@@ -44,13 +44,6 @@ extern "C" {
#define THREAD_STACKSIZE_IDLE (128)
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (4096U) /* 4kB */
/** @} */
#ifdef __cplusplus
}
#endif
......
......@@ -61,6 +61,13 @@ enum {
#define I2C_PIN_MASK (1 << PORTC0) | (1 << PORTC1)
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (4096U) /* 4kB */
/** @} */
#ifdef __cplusplus
}
#endif
......
......@@ -42,14 +42,6 @@ extern "C" {
#define THREAD_STACKSIZE_IDLE (128)
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (4096U) /* 4kB */
/** @} */
#ifdef __cplusplus
}
#endif
......
......@@ -66,6 +66,13 @@ enum {
#define I2C_PIN_MASK (1 << PORTD0) | (1 << PORTD1)
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (4096U) /* 4kB */
/** @} */
#ifdef __cplusplus
}
#endif
......
......@@ -48,12 +48,5 @@ extern "C" {
}
#endif
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (8192U) /* 8kB */
/** @} */
#endif /* CPU_CONF_H */
/** @} */
......@@ -77,6 +77,13 @@ enum {
#endif
/** @}*/
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (8192U) /* 8kB */
/** @} */
#ifdef __cplusplus
}
#endif
......
......@@ -42,13 +42,6 @@ extern "C" {
#define THREAD_STACKSIZE_IDLE (128)
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (1024U) /* 1kB */
/** @} */
#ifdef __cplusplus
}
#endif
......
......@@ -57,6 +57,13 @@ enum {
#define I2C_PIN_MASK (1 << PORTC4) | (1 << PORTC5)
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (1024U) /* 1kB */
/** @} */
#ifdef __cplusplus
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment