2017-08-29 16:01:46 -04:00
|
|
|
namespace DPP {
|
2022-04-19 19:23:30 -04:00
|
|
|
extern QP::QXThread * const XT_Thread1;
|
2017-08-21 18:21:15 -04:00
|
|
|
} // namespace DPP
|
2017-08-29 16:01:46 -04:00
|
|
|
|
2017-08-21 18:21:15 -04:00
|
|
|
int main() {
|
|
|
|
// stacks and queues for the extended test threads
|
2022-04-19 19:23:30 -04:00
|
|
|
static QP::QEvt const *thread1QueueSto[5];
|
|
|
|
static uint64_t thread1StackSto[64];
|
2017-08-29 16:01:46 -04:00
|
|
|
|
2017-08-21 18:21:15 -04:00
|
|
|
// start the extended Test1 thread
|
|
|
|
// start the extended Test1 thread
|
2022-04-19 19:23:30 -04:00
|
|
|
DPP::XT_Thread1->start(
|
2020-03-17 21:33:58 -04:00
|
|
|
1U, // QP prio of the thread
|
2022-04-19 19:23:30 -04:00
|
|
|
thread1QueueSto, // event queue storage
|
|
|
|
Q_DIM(thread1QueueSto), // queue length [events]
|
|
|
|
thread1StackSto, // stack storage
|
|
|
|
sizeof(thread1StackSto), // stack size [bytes]
|
|
|
|
nullptr); // initialization parameter
|
2017-08-21 18:21:15 -04:00
|
|
|
. . .
|
|
|
|
}
|