Revision db77e6cf
configurations/HelloWorld/modules/NUCLEO-F401RE/osconf.h | ||
---|---|---|
25 | 25 |
|
26 | 26 |
#define OS_CFG_SSSP_ENABLE false |
27 | 27 |
|
28 |
#define AMIROOS_CFG_MAIN_INIT_HOOK_4 { \
|
|
28 |
#define AMIROOS_CFG_MAIN_INIT_HOOK_4() { \
|
|
29 | 29 |
aosprintf("HELLO WORLD!\n"); \ |
30 | 30 |
urtCoreInit(); \ |
31 | 31 |
} |
middleware/apps_urtosal.h | ||
---|---|---|
90 | 90 |
typedef eventflags_t urt_osEventFlags_t; |
91 | 91 |
|
92 | 92 |
/** |
93 |
* @brief Event mask, which is handles with highest priority.
|
|
93 |
* @brief Event mask, which is handled with highest priority.
|
|
94 | 94 |
*/ |
95 | 95 |
#define URT_EVENTMASK_MAXPRIO EVENT_MASK(0) |
96 | 96 |
|
... | ... | |
108 | 108 |
|
109 | 109 |
#define urtEventUnregister(source, listener) chEvtUnregister(source, listener) |
110 | 110 |
|
111 |
/** |
|
112 |
* @brief Event flags |
|
113 |
*/ |
|
114 |
#define URT_EVENTFLAG_TERMINATE (urt_osEventFlags_t)1 |
|
115 |
|
|
116 |
#define URT_EVENTFLAG_PROCEED (urt_osEventFlags_t)2 |
|
117 |
|
|
111 | 118 |
/*============================================================================*/ |
112 | 119 |
/* STREAMS */ |
113 | 120 |
/*============================================================================*/ |
Also available in: Unified diff