File tree 1 file changed +13
-5
lines changed
1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 32
32
#define _attribute_ram_code_sec_noinline_ __attribute__((section(".ram_code"))) __attribute__((noinline))
33
33
#define _attribute_ram_code_ _attribute_ram_code_sec_noinline_
34
34
#define _attribute_text_sec_ __attribute__((section(".text")))
35
- #define _attribute_aes_data_sec_ __attribute__((section(".aes_data")))
36
- #define _attribute_data_retention_sec_ __attribute__((section(".retention_data")))
37
- #define _attribute_data_retention_ __attribute__((section(".retention_data")))
38
- #define _attribute_ble_data_retention_ __attribute__((section(".retention_data")))
35
+ #if defined(CONFIG_TELINK_B91_RETENTION )
36
+ #define _attribute_aes_data_sec_ __attribute__((section(".data")))
37
+ #define _attribute_data_retention_sec_ __attribute__((section(".data")))
38
+ #define _attribute_data_retention_ __attribute__((section(".data")))
39
+ #define _attribute_ble_data_retention_ __attribute__((section(".data")))
40
+ #define _attribute_data_dlm_ __attribute__((section(".data")))
41
+ #else
42
+ #define _attribute_aes_data_sec_ __attribute__((section(".aes_data")))
43
+ #define _attribute_data_retention_sec_ __attribute__((section(".retention_data")))
44
+ #define _attribute_data_retention_ __attribute__((section(".retention_data")))
45
+ #define _attribute_ble_data_retention_ __attribute__((section(".retention_data")))
46
+ #define _attribute_data_dlm_ __attribute__((section(".dlm_data")))
47
+ #endif
39
48
#define _attribute_aligned_ (s ) __attribute__((aligned(s)))
40
49
#define _attribute_no_inline_ __attribute__((noinline))
41
- #define _attribute_data_dlm_ __attribute__((section(".dlm_data")))
42
50
#define _attribute_session_ (s ) __attribute__((section(s)))
43
51
44
52
#endif
You can’t perform that action at this time.
0 commit comments