This commit splits the old messages.h file into two, one private (messages.h) and one public (pdb_msg.h). This new arrangement keeps the old model of one message pool for all the PD Buddy firmware library, but moves the macro for the number of objects it contains into a new file, pdb_conf.h, placed at the project root. The pool itself is kept in the new pdb_msg.h file, since the DPM may need to access it. The new configuration file also contains the stack sizes for the PD Buddy threads (some will be moved back to secrecy in the future once the needed sizes are known, but the PE's stack size should be kept in pdb_conf.h since user code needs that stack).
|
|
||
23 |
|
23 |
|
24 |
|
24 |
|
25 |
|
25 |
|
26 |
|
|
|
|
26 |
|
|
27 |
|
27 |
|
28 |
|
28 |
|
29 |
|
29 |
|
|
|
||
24 |
|
24 |
|
25 |
|
25 |
|
26 |
|
26 |
|
|
27 |
|
|
27 |
|
28 |
|
28 |
|
29 |
|
29 |
|
30 |
|
|
|
||
21 |
|
21 |
|
22 |
|
22 |
|
23 |
|
23 |
|
24 |
|
|
|
|
24 |
|
|
|
25 |
|
|
25 |
|
26 |
|
26 |
|
|
|
27 |
|
27 |
|
28 |
|
28 |
|
29 |
|
29 |
|
|
|
||
21 |
|
21 |
|
22 |
|
22 |
|
23 |
|
23 |
|
|
24 |
|
|
|
25 |
|
|
24 |
|
26 |
|
25 |
|
27 |
|
26 |
|
|
|
|
28 |
|
|
27 |
|
29 |
|
28 |
|
30 |
|
29 |
|
31 |
|
|
|
||
16 |
|
16 |
|
17 |
|
17 |
|
18 |
|
18 |
|
19 |
|
|
|
20 |
|
|
|
|
19 |
|
|
|
20 |
|
|
21 |
|
21 |
|
22 |
|
22 |
|
23 |
|
23 |
|
|
|
||
46 |
|
46 |
|
47 |
|
47 |
|
48 |
|
48 |
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
49 |
|
55 |
|
|
|
|
50 |
|
|
56 |
|
51 |
|
57 |
|
|
|
|
52 |
|
|
58 |
|
53 |
|
59 |
|
54 |
|
60 |
|
|
|
|
55 |
|
|
|
||
24 |
|
24 |
|
25 |
|
25 |
|
26 |
|
26 |
|
|
27 |
|
|
|
28 |
|
|
27 |
|
29 |
|
28 |
|
30 |
|
29 |
|
31 |
|
|
|
||
37 |
|
39 |
|
38 |
|
40 |
|
39 |
|
41 |
|
40 |
|
|
|
|
42 |
|
|
41 |
|
43 |
|
42 |
|
44 |
|
43 |
|
45 |
|
|
|
||
23 |
|
23 |
|
24 |
|
24 |
|
25 |
|
25 |
|
|
26 |
|
|
|
27 |
|
|
26 |
|
28 |
|
27 |
|
29 |
|
28 |
|
|
|
|
30 |
|
|
29 |
|
31 |
|
30 |
|
|
|
|
32 |
|
|
31 |
|
33 |
|
32 |
|
|
|
|
34 |
|
|
33 |
|
35 |
|
34 |
|
36 |
|
35 |
|
37 |
|
|
|
||
18 |
|
18 |
|
19 |
|
19 |
|
20 |
|
20 |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
21 |
|
25 |
|
22 |
|
26 |
|
23 |
|
27 |
|
|
|
||
|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
||
29 |
|
29 |
|
30 |
|
30 |
|
31 |
|
31 |
|
32 |
|
|
|
|
32 |
|
|
33 |
|
33 |
|
34 |
|
34 |
|
35 |
|
35 |
|
|
|
||
20 |
|
20 |
|
21 |
|
21 |
|
22 |
|
22 |
|
23 |
|
|
|
24 |
|
23 |
|
25 |
|
24 |
|
26 |
|
25 |
|
|
|
||
24 |
|
24 |
|
25 |
|
25 |
|
26 |
|
26 |
|
27 |
|
|
|
28 |
|
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