Revision a33cec74 configurations/HelloWorld/modules/NUCLEO-F401RE/mainincludes.hpp

View differences:

configurations/HelloWorld/modules/NUCLEO-F401RE/mainincludes.hpp
23 23
#include <helloworld.h>
24 24

  
25 25
static URT_THREAD_MEMORY(hellosvenja_thread, 512);
26
//static URT_THREAD_MEMORY(hellothomas_thread, 256);
26
static URT_THREAD_MEMORY(hellothomas_thread, 256);
27 27
static urt_node_t hellosvenja_node;
28
//static urt_node_t hellothomas_node;
28
static urt_node_t hellothomas_node;
29 29

  
30
#define AMIROOS_CFG_MAIN_INIT_HOOK_3() {                                                \
31
    urtCoreInit();                                                                      \
32
    helloWorldInit(&hellosvenja_node, (urt_osThread_t*)hellosvenja_thread);             \
30
#define AMIROOS_CFG_MAIN_INIT_HOOK_3() {                                              \
31
    urtCoreInit();                                                                    \
32
    helloWorldInit(&hellosvenja_node, (urt_osThread_t*)hellosvenja_thread, NULL);     \
33
    helloWorldInit(&hellothomas_node, (urt_osThread_t*)hellothomas_thread, NULL);     \
34
}
35

  
36
#define AMIROOS_CFG_MAIN_INIT_HOOK_4() {                                                \
33 37
    urtCoreStartNodes();                                                                \
34 38
}
35 39

  
36 40

  
41

  
42

  
37 43
#endif /* MAININCLUDES_HPP */

Also available in: Unified diff