File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change 20
20
21
21
#include "rtl8195a.h"
22
22
23
- #if defined(__CC_ARM ) || (defined(__ARMCC_VERSION ) || (__ARMCC_VERSION >= 6010050 ))
23
+ #if defined(__CC_ARM ) || (defined(__ARMCC_VERSION ) && (__ARMCC_VERSION >= 6010050 ))
24
24
extern uint32_t Image$$ARM_LIB_STACK$$ZI$$Base [];
25
25
extern uint32_t Image$$ARM_LIB_STACK$$ZI$$Length [];
26
26
#define ISR_STACK_START (unsigned char *)(Image$$ARM_LIB_STACK$$ZI$$Base)
33
33
#define INITIAL_SP (__StackTop)
34
34
#endif
35
35
36
-
37
- #if defined(__CC_ARM ) || defined(__GNUC__ )
36
+ #if defined(__GNUC__ )
38
37
#ifndef ISR_STACK_SIZE
39
38
#define ISR_STACK_SIZE (0x1000)
40
39
#endif
41
40
#endif
42
41
43
- #ifndef OS_TASKCNT
44
- #define OS_TASKCNT 14
45
- #endif
46
- #ifndef OS_MAINSTKSIZE
47
- #define OS_MAINSTKSIZE 256
48
- #endif
49
- #ifndef OS_CLOCK
50
- #define OS_CLOCK PLATFORM_CLK
51
- #endif
52
-
53
42
#endif
54
43
#endif
You can’t perform that action at this time.
0 commit comments