Revision 29f22fdb
| apps/HelloWorld/helloworld.c | ||
|---|---|---|
| 23 | 23 |
void helloShutdown(urt_node_t* node, urt_status_t cause, void* arg) |
| 24 | 24 |
{
|
| 25 | 25 |
urtPrintf("Hello %c shutdown!\n", arg);
|
| 26 |
urtThreadSleep(10); |
|
| 26 | 27 |
return; |
| 27 | 28 |
} |
| 28 | 29 |
|
| configurations/HelloWorld/modules/NUCLEO-F401RE/mainincludes.hpp | ||
|---|---|---|
| 40 | 40 |
} |
| 41 | 41 |
|
| 42 | 42 |
#define AMIROOS_CFG_MAIN_SHUTDOWN_HOOK_1() { \
|
| 43 |
urtCoreStopNodes(URT_STATUS_OK); \
|
|
| 43 |
urtCoreStopNodes(URT_STATUS_OK); \ |
|
| 44 | 44 |
} |
| 45 | 45 |
|
| 46 | 46 |
|
| configurations/HelloWorld/modules/NUCLEO-F401RE/osconf.h | ||
|---|---|---|
| 21 | 21 |
|
| 22 | 22 |
#include <HelloWorld_osconf.h> |
| 23 | 23 |
|
| 24 |
#define OS_CFG_TESTS_ENABLE false
|
|
| 24 |
#define OS_CFG_TESTS_ENABLE true
|
|
| 25 | 25 |
|
| 26 | 26 |
#define OS_CFG_SSSP_ENABLE false |
| 27 | 27 |
|
| 28 |
#define CH_CFG_USE_REGISTRY true |
|
| 29 |
|
|
| 28 | 30 |
#endif /* OSCONF_H */ |
| middleware/uRtWare | ||
|---|---|---|
| 1 |
Subproject commit e7056e1b13def49946ac6b7c30cffcdd3a1fccaa |
|
| 1 |
Subproject commit 33aa05c5588c4f3d049704965ec0b2fe799ee2d0 |
|
Also available in: Unified diff