OS  v7.3.3
Documentation
QuarkTS.h
1
9/*
10QuarkTS - An open-source OS for small embedded applications.
11MIT License
12C99 and MISRAC 2012 Compliant
13
14Copyright (C) 2012 Eng. Juan Camilo Gomez Cadavid MSc. All Rights Reserved.
15
16Permission is hereby granted, free of charge, to any person obtaining a copy of
17this software and associated documentation files (the "Software"), to deal in
18the Software without restriction, including without limitation the rights to
19use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
20the Software, and to permit persons to whom the Software is furnished to do so,
21subject to the following conditions:
22
23The above copyright notice and this permission notice shall be included in all
24copies or substantial portions of the Software.
25
26THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
28FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
29COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
30IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
31CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32
33VISIT https://github.com/kmilo17pet/QuarkTS TO ENSURE YOU ARE USING THE LATEST
34VERSION.
35
36
37This file is part of the QuarkTS OS distribution.
38*/
39
40/*
41Download the user manual here : https://github.com/kmilo17pet/quarkts-usermanual/raw/manual/QuarkTS_UserManual.pdf
42Read the API reference here ; https://kmilo17pet.github.io/QuarkTS/
43*/
44
45#ifndef QuarkTS_H
46 #define QuarkTS_H
47
48 #define QUARKTS_VERSION "7.3.3"
49 #define QUARKTS_VERNUM ( 733u )
50 #define QUARKTS_CAPTION "QuarkTS OS " QUARKTS_VERSION
51
52 #include "qtypes.h"
53 #include "qlists.h"
54 #include "qkernel.h"
55 #include "qtasks.h"
56 #include "qcoroutine.h"
57 #include "qioutils.h"
58 #include "qtrace.h"
59
60 #if ( Q_MEMORY_MANAGER == 1 )
61 #include "qmemmang.h"
62 #endif
63
64 #if ( Q_EDGE_CHECK_IOGROUPS == 1 )
65 #include "qedgecheck.h"
66 #endif
67
68 #if ( Q_RESPONSE_HANDLER == 1 )
69 #include "qresponse.h"
70 #endif
71
72 #if ( Q_BYTE_SIZED_BUFFERS ==1 )
73 #include "qbsbuffers.h"
74 #endif
75
76 #include "qflm.h"
77
78 #ifndef Q_PRIO_QUEUE_SIZE
79 #define Q_PRIO_QUEUE_SIZE ( 10 )
80 #endif
81
82 #if ( Q_PRIO_QUEUE_SIZE < 0 )
83 #error Q_PRIO_QUEUE_SIZE should be a value greater of equal than zero.
84 #endif
85
86 #if ( Q_PRIO_QUEUE_SIZE > 512 )
87 #error Q_PRIO_QUEUE_SIZE its too large.
88 #endif
89
90#endif
91