Revision 5d321afa configurations/HelloWorld/modules/NUCLEO-F401RE/osconf.h

View differences:

configurations/HelloWorld/modules/NUCLEO-F401RE/osconf.h
20 20
#define OSCONF_H
21 21

  
22 22
#include <HelloWorld_osconf.h>
23
#include <helloworld.h>
24 23

  
25 24
#define OS_CFG_TESTS_ENABLE                     false
26 25

  
27 26
#define OS_CFG_SSSP_ENABLE                      false
28 27

  
29
#define AMIROOS_CFG_MAIN_INIT_HOOK_4() {                        \
30
    aosprintf("HELLO WORLD!\n");                                \
31
    urtCoreInit();                                              \
32
    urt_node_t* node;                                           \
33
    urt_osThread_t* thread;                                     \
34
    urt_nodeSetupCallback_t* setupcallback;                     \
35
    void* setupparams;                                          \
36
    urt_nodeLoopCallback_t* loopcallback;                       \
37
    void* loopparams;                                           \
38
    urt_nodeShutdownCallback_t* shutdowncallback;               \
39
    void* shutdownparams;                                       \
40
    urtNodeInit(node, thread, setupcallback, setupparams, loopcallback, loopparams, shutdowncallback, shutdownparams);     \
41
}
42

  
43 28
#endif /* OSCONF_H */

Also available in: Unified diff