cpu_conf_common.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2019 Gunar Schorcht
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
22 #ifndef CPU_CONF_COMMON_H
23 #define CPU_CONF_COMMON_H
24 
31 #ifdef MODULE_ESP_IDF_HEAP
32 #define HAVE_HEAP_STATS
33 #endif
34 
39 #define BACKUP_RAM __attribute__((section(".rtc.bss")))
40 
45 #define BACKUP_RAM_DATA __attribute__((section(".rtc.data")))
46 
47 #ifdef __cplusplus
48 extern "C" {
49 #endif
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif /* CPU_CONF_COMMON_H */
56