File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
targets/TARGET_Realtek/TARGET_AMEBA
sdk/soc/realtek/common/bsp Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 29
29
#define __romcall
30
30
#define __longcall
31
31
32
+ #elif defined(__ARMCC_VERSION ) && (__ARMCC_VERSION >= 6010050 )
33
+
34
+ #ifndef __longcall
35
+ #define __longcall
36
+ #endif
37
+
32
38
#elif defined(__CC_ARM )
33
39
34
40
#ifndef __longcall
Original file line number Diff line number Diff line change @@ -206,6 +206,23 @@ typedef __kernel_ssize_t SSIZE_T;
206
206
207
207
#define _LONG_CALL_ROM_ _LONG_CALL_
208
208
209
+ #elif defined(__ARMCC_VERSION ) && (__ARMCC_VERSION >= 6010050 )
210
+ #define SECTION (_name ) __attribute__ ((__section__(_name)))
211
+ #define ALIGNMTO (_bound ) __attribute__ ((aligned (_bound)))
212
+ #define _PACKED_ __attribute__ ((packed))
213
+ #ifdef CONFIG_RELEASE_BUILD_LIBRARIES
214
+ #define _LONG_CALL_
215
+ #define _LONG_CALL_ROM_
216
+ #ifdef E_CUT_ROM_DOMAIN
217
+ #undef _LONG_CALL_ROM_
218
+ #define _LONG_CALL_ROM_
219
+ #endif
220
+ #else
221
+ #define _LONG_CALL_
222
+ #define _LONG_CALL_ROM_ _LONG_CALL_
223
+ #endif
224
+ #define _WEAK __attribute__ ((weak))
225
+
209
226
#else
210
227
#define SECTION (_name ) __attribute__ ((__section__(_name)))
211
228
#define ALIGNMTO (_bound ) __attribute__ ((aligned (_bound)))
You can’t perform that action at this time.
0 commit comments