1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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

This commit is contained in:
Francisco Acosta 2018-05-29 21:01:28 +02:00
parent 11b36a7184
commit 8776df7423
10 changed files with 35 additions and 36 deletions

View File

@ -43,13 +43,6 @@ extern "C" {
#endif
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (4096U) /* 4kB */
/** @} */
#ifdef __cplusplus
}
#endif

View File

@ -64,6 +64,13 @@ enum {
#define I2C_PIN_MASK (1 << PORTD0) | (1 << PORTD1)
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (4096U) /* 4kB */
/** @} */
#ifdef __cplusplus
}
#endif

View File

@ -44,13 +44,6 @@ extern "C" {
#define THREAD_STACKSIZE_IDLE (128)
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (4096U) /* 4kB */
/** @} */
#ifdef __cplusplus
}
#endif

View File

@ -61,6 +61,13 @@ enum {
#define I2C_PIN_MASK (1 << PORTC0) | (1 << PORTC1)
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (4096U) /* 4kB */
/** @} */
#ifdef __cplusplus
}
#endif

View File

@ -42,14 +42,6 @@ extern "C" {
#define THREAD_STACKSIZE_IDLE (128)
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (4096U) /* 4kB */
/** @} */
#ifdef __cplusplus
}
#endif

View File

@ -66,6 +66,13 @@ enum {
#define I2C_PIN_MASK (1 << PORTD0) | (1 << PORTD1)
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (4096U) /* 4kB */
/** @} */
#ifdef __cplusplus
}
#endif

View File

@ -48,12 +48,5 @@ extern "C" {
}
#endif
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (8192U) /* 8kB */
/** @} */
#endif /* CPU_CONF_H */
/** @} */

View File

@ -77,6 +77,13 @@ enum {
#endif
/** @}*/
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (8192U) /* 8kB */
/** @} */
#ifdef __cplusplus
}
#endif

View File

@ -42,13 +42,6 @@ extern "C" {
#define THREAD_STACKSIZE_IDLE (128)
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (1024U) /* 1kB */
/** @} */
#ifdef __cplusplus
}
#endif

View File

@ -57,6 +57,13 @@ enum {
#define I2C_PIN_MASK (1 << PORTC4) | (1 << PORTC5)
/** @} */
/**
* @name EEPROM configuration
* @{
*/
#define EEPROM_SIZE (1024U) /* 1kB */
/** @} */
#ifdef __cplusplus
}
#endif