1 #include "tx_api.h"
2 
3 
4 /* Define the prototypes for the test entry points.  */
5 
6 void    tm_main(void);
7 
8 
9 /* Define main entry point.  */
main()10 int main()
11 {
12 
13     /* Initialize the platform if required. */
14     /* Custom code goes here. */
15 
16     /* Enter the ThreadX kernel.  */
17     tx_kernel_enter();
18 }
19 
20 
21 /* Define what the initial system looks like.  */
22 
tx_application_define(void * first_unused_memory)23 void    tx_application_define(void *first_unused_memory)
24 {
25 
26      /* Enter the Thread-Metric test main function for initialization and to start the test.  */
27      tm_main();
28 }
29 
30