Skip to content

Commit 85cc9c8

Browse files
bulislaw0xc0170
authored andcommitted
Remove deprecated RTX4 config options
1 parent 0064df1 commit 85cc9c8

File tree

12 files changed

+1
-627
lines changed

12 files changed

+1
-627
lines changed

targets/TARGET_ARM_SSG/mbed_rtx.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@
2222
#ifndef INITIAL_SP
2323
#define INITIAL_SP (0x20020000UL)
2424
#endif
25-
#ifndef OS_MAINSTKSIZE
26-
#define OS_MAINSTKSIZE 112
27-
#endif
28-
#ifndef OS_CLOCK
29-
#define OS_CLOCK 24000000
30-
#endif
3125

3226
#endif
3327

targets/TARGET_Freescale/mbed_rtx.h

Lines changed: 0 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -22,209 +22,97 @@
2222
#ifndef INITIAL_SP
2323
#define INITIAL_SP (0x10008000UL)
2424
#endif
25-
#ifndef OS_MAINSTKSIZE
26-
#define OS_MAINSTKSIZE 256
27-
#endif
28-
#ifndef OS_CLOCK
29-
#define OS_CLOCK 96000000
30-
#endif
3125

3226
#elif defined(TARGET_TEENSY3_1)
3327

3428
#ifndef INITIAL_SP
3529
#define INITIAL_SP (0x20008000UL)
3630
#endif
37-
#ifndef OS_MAINSTKSIZE
38-
#define OS_MAINSTKSIZE 256
39-
#endif
40-
#ifndef OS_CLOCK
41-
#define OS_CLOCK 96000000
42-
#endif
4331

4432
#elif defined(TARGET_MCU_K22F)
4533

4634
#ifndef INITIAL_SP
4735
#define INITIAL_SP (0x20010000UL)
4836
#endif
49-
#ifndef OS_MAINSTKSIZE
50-
#define OS_MAINSTKSIZE 256
51-
#endif
52-
#ifndef OS_CLOCK
53-
#define OS_CLOCK 80000000
54-
#endif
5537

5638
#elif defined(TARGET_K66F)
5739

5840
#ifndef INITIAL_SP
5941
#define INITIAL_SP (0x20030000UL)
6042
#endif
61-
#ifndef OS_MAINSTKSIZE
62-
#define OS_MAINSTKSIZE 256
63-
#endif
64-
#ifndef OS_CLOCK
65-
#define OS_CLOCK 120000000
66-
#endif
6743

6844
#elif defined(TARGET_KL27Z)
6945

7046
#ifndef INITIAL_SP
7147
#define INITIAL_SP (0x20003000UL)
7248
#endif
73-
#ifndef OS_MAINSTKSIZE
74-
#define OS_MAINSTKSIZE 128
75-
#endif
76-
#ifndef OS_CLOCK
77-
#define OS_CLOCK 48000000
78-
#endif
7949

8050
#elif defined(TARGET_KL43Z)
8151

8252
#ifndef INITIAL_SP
8353
#define INITIAL_SP (0x20006000UL)
8454
#endif
85-
#ifndef OS_MAINSTKSIZE
86-
#define OS_MAINSTKSIZE 256
87-
#endif
88-
#ifndef OS_CLOCK
89-
#define OS_CLOCK 48000000
90-
#endif
9155

9256
#elif defined(TARGET_KL05Z)
9357

9458
#ifndef INITIAL_SP
9559
#define INITIAL_SP (0x20000C00UL)
9660
#endif
97-
#ifndef OS_MAINSTKSIZE
98-
#define OS_MAINSTKSIZE 128
99-
#endif
100-
#ifndef OS_CLOCK
101-
#define OS_CLOCK 48000000
102-
#endif
10361

10462
#elif defined(TARGET_KL25Z)
10563

10664
#ifndef INITIAL_SP
10765
#define INITIAL_SP (0x20003000UL)
10866
#endif
109-
#ifndef OS_MAINSTKSIZE
110-
#define OS_MAINSTKSIZE 128
111-
#endif
112-
#ifndef OS_CLOCK
113-
#define OS_CLOCK 48000000
114-
#endif
11567

11668
#elif defined(TARGET_KL26Z)
11769

11870
#ifndef INITIAL_SP
11971
#define INITIAL_SP (0x20003000UL)
12072
#endif
121-
#ifndef OS_MAINSTKSIZE
122-
#define OS_MAINSTKSIZE 128
123-
#endif
124-
#ifndef OS_CLOCK
125-
#define OS_CLOCK 48000000
126-
#endif
12773

12874
#elif defined(TARGET_KL46Z)
12975

13076
#ifndef INITIAL_SP
13177
#define INITIAL_SP (0x20006000UL)
13278
#endif
133-
#ifndef OS_MAINSTKSIZE
134-
#define OS_MAINSTKSIZE 256
135-
#endif
136-
#ifndef OS_CLOCK
137-
#define OS_CLOCK 48000000
138-
#endif
13979

14080
#elif defined(TARGET_KL82Z)
14181

14282
#ifndef INITIAL_SP
14383
#define INITIAL_SP (0x20012000UL)
14484
#endif
145-
#ifndef OS_MAINSTKSIZE
146-
#define OS_MAINSTKSIZE 256
147-
#endif
148-
#ifndef OS_CLOCK
149-
#define OS_CLOCK 72000000
150-
#endif
15185

15286
#elif defined(TARGET_K64F)
15387

15488
#ifndef INITIAL_SP
15589
#define INITIAL_SP (0x20030000UL)
15690
#endif
15791

158-
#if defined(__CC_ARM) || defined(__GNUC__)
159-
#define ISR_STACK_SIZE (0x1000)
160-
#endif
161-
162-
#ifndef OS_MAINSTKSIZE
163-
#define OS_MAINSTKSIZE 256
164-
#endif
165-
#ifndef OS_CLOCK
166-
#define OS_CLOCK 120000000
167-
#endif
168-
16992
#elif defined(TARGET_KW24D)
17093

17194
#ifndef INITIAL_SP
17295
#define INITIAL_SP (0x20008000UL)
17396
#endif
174-
#ifndef OS_MAINSTKSIZE
175-
#define OS_MAINSTKSIZE 256
176-
#endif
177-
#ifndef OS_CLOCK
178-
#define OS_CLOCK 48000000
179-
#endif
18097

18198
#elif defined(TARGET_KW41Z)
18299

183100
#ifndef INITIAL_SP
184101
#define INITIAL_SP (0x20018000UL)
185102
#endif
186-
#ifndef OS_TASKCNT
187-
#define OS_TASKCNT 14
188-
#endif
189-
#ifndef OS_MAINSTKSIZE
190-
#define OS_MAINSTKSIZE 256
191-
#endif
192-
#ifndef OS_CLOCK
193-
#define OS_CLOCK 40000000
194-
#endif
195103

196104
#elif defined(TARGET_K82F)
197105

198106
#ifndef INITIAL_SP
199107
#define INITIAL_SP (0x20030000UL)
200108
#endif
201-
#ifndef OS_MAINSTKSIZE
202-
#define OS_MAINSTKSIZE 256
203-
#endif
204-
#ifndef OS_CLOCK
205-
#define OS_CLOCK 120000000
206-
#endif
207109

208110
#elif defined(TARGET_RO359B)
209111

210112
#ifndef INITIAL_SP
211113
#define INITIAL_SP (0x20030000UL)
212114
#endif
213115

214-
#if defined(__CC_ARM) || defined(__GNUC__)
215-
#define ISR_STACK_SIZE (0x1000)
216-
#endif
217-
218-
#ifndef OS_TASKCNT
219-
#define OS_TASKCNT 14
220-
#endif
221-
#ifndef OS_MAINSTKSIZE
222-
#define OS_MAINSTKSIZE 256
223-
#endif
224-
#ifndef OS_CLOCK
225-
#define OS_CLOCK 96000000
226-
#endif
227-
228116
#endif
229117

230118
#endif // MBED_MBED_RTX_H

targets/TARGET_Maxim/mbed_rtx.h

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -22,57 +22,30 @@
2222
#ifndef INITIAL_SP
2323
#define INITIAL_SP (0x20008000UL)
2424
#endif
25-
#ifndef OS_MAINSTKSIZE
26-
#define OS_MAINSTKSIZE 256
27-
#endif
28-
#ifndef OS_CLOCK
29-
#define OS_CLOCK 24000000
30-
#endif
3125

3226
#elif defined(TARGET_MAX32610)
3327

3428
#ifndef INITIAL_SP
3529
#define INITIAL_SP (0x20008000UL)
3630
#endif
37-
#ifndef OS_MAINSTKSIZE
38-
#define OS_MAINSTKSIZE 256
39-
#endif
40-
#ifndef OS_CLOCK
41-
#define OS_CLOCK 24000000
42-
#endif
4331

4432
#elif defined(TARGET_MAX32620)
4533

4634
#ifndef INITIAL_SP
4735
#define INITIAL_SP (0x20040000UL)
4836
#endif
49-
#ifndef OS_CLOCK
50-
#define OS_CLOCK 48000000
51-
#endif
5237

5338
#elif defined(TARGET_MAX32625)
5439

5540
#ifndef INITIAL_SP
5641
#define INITIAL_SP (0x20028000UL)
5742
#endif
58-
#ifndef OS_CLOCK
59-
#define OS_CLOCK 96000000
60-
#endif
6143

6244
#elif defined(TARGET_MAX32630)
6345

6446
#ifndef INITIAL_SP
6547
#define INITIAL_SP (0x20080000UL)
6648
#endif
67-
#ifndef OS_TASKCNT
68-
#define OS_TASKCNT 14
69-
#endif
70-
#ifndef OS_MAINSTKSIZE
71-
#define OS_MAINSTKSIZE 256
72-
#endif
73-
#ifndef OS_CLOCK
74-
#define OS_CLOCK 96000000
75-
#endif
7649

7750
#endif
7851

targets/TARGET_NORDIC/mbed_rtx.h

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@
2727
# endif
2828
#endif
2929

30-
#ifndef OS_MAINSTKSIZE
31-
#define OS_MAINSTKSIZE 512
32-
#endif
33-
#ifndef OS_CLOCK
34-
#define OS_CLOCK 32768
35-
#endif
3630
#ifndef OS_SYSTICK
3731
#define OS_SYSTICK 0
3832
#endif
@@ -42,27 +36,12 @@
4236
#ifndef INITIAL_SP
4337
#define INITIAL_SP (0x20010000UL)
4438
#endif
45-
#ifndef OS_MAINSTKSIZE
46-
#define OS_MAINSTKSIZE 512
47-
#endif
48-
#ifndef OS_CLOCK
49-
#define OS_CLOCK 64000000
50-
#endif
5139

5240
#elif defined(TARGET_MCU_NRF52840)
5341

5442
#ifndef INITIAL_SP
5543
#define INITIAL_SP (0x20040000UL)
5644
#endif
57-
#ifndef OS_TASKCNT
58-
#define OS_TASKCNT 24
59-
#endif
60-
#ifndef OS_MAINSTKSIZE
61-
#define OS_MAINSTKSIZE 2048
62-
#endif
63-
#ifndef OS_CLOCK
64-
#define OS_CLOCK 64000000
65-
#endif
6645

6746
#endif // defined(TARGET_MCU_NRF51822)...
6847

targets/TARGET_NUVOTON/mbed_rtx.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,6 @@
2121

2222
#if defined(TARGET_NUMAKER_PFM_NUC472)
2323

24-
#ifndef OS_MAINSTKSIZE
25-
#define OS_MAINSTKSIZE 256
26-
#endif
27-
#ifndef OS_CLOCK
28-
#define OS_CLOCK 84000000
29-
#endif
30-
3124
#if defined(__CC_ARM)
3225
extern uint32_t Image$$ARM_LIB_HEAP$$ZI$$Base[];
3326
extern uint32_t Image$$ARM_LIB_HEAP$$ZI$$Length[];
@@ -54,13 +47,6 @@
5447

5548
#elif defined(TARGET_NUMAKER_PFM_M453)
5649

57-
#ifndef OS_MAINSTKSIZE
58-
#define OS_MAINSTKSIZE 256
59-
#endif
60-
#ifndef OS_CLOCK
61-
#define OS_CLOCK 72000000
62-
#endif
63-
6450
#if defined(__CC_ARM)
6551
extern uint32_t Image$$ARM_LIB_HEAP$$ZI$$Base[];
6652
extern uint32_t Image$$ARM_LIB_HEAP$$ZI$$Length[];

0 commit comments

Comments
 (0)