mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/esp: move BACKUP* attributes to esp_common
This commit is contained in:
parent
a0b77de3dc
commit
6cd9896ac0
@ -51,21 +51,9 @@ extern "C" {
|
||||
*/
|
||||
#define PRINTF_BUFSIZ 256
|
||||
|
||||
/**
|
||||
* @brief Memory marked with this attribute is retained during deep sleep
|
||||
* and initialized with 0 on cold boot.
|
||||
*/
|
||||
#define BACKUP_RAM __attribute__((section(".rtc.bss")))
|
||||
|
||||
/**
|
||||
* @brief Memory marked with this attribute is retained during deep sleep
|
||||
* and initialized with user provided data on cold boot.
|
||||
*/
|
||||
#define BACKUP_RAM_DATA __attribute__((section(".rtc.data")))
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* CPU_CONF_H */
|
||||
#endif
|
||||
|
||||
#endif /* CPU_CONF_H */
|
||||
/** @} */
|
||||
|
@ -27,12 +27,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Memory marked with this attribute is retained during deep sleep
|
||||
*/
|
||||
#define BACKUP_RAM __attribute__((section(".rtc.bss")))
|
||||
#define BACKUP_RAM_DATA __attribute__((section(".rtc.data")))
|
||||
|
||||
/**
|
||||
* @brief Length of the CPU_ID in octets
|
||||
*/
|
||||
|
@ -32,6 +32,18 @@
|
||||
#define HAVE_HEAP_STATS
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Memory marked with this attribute is retained during deep sleep
|
||||
* and initialized with 0 on cold boot.
|
||||
*/
|
||||
#define BACKUP_RAM __attribute__((section(".rtc.bss")))
|
||||
|
||||
/**
|
||||
* @brief Memory marked with this attribute is retained during deep sleep
|
||||
* and initialized with user provided data on cold boot.
|
||||
*/
|
||||
#define BACKUP_RAM_DATA __attribute__((section(".rtc.data")))
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user