Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
PolyORB-HI-C
Commits
ef211dc0
Commit
ef211dc0
authored
Apr 07, 2017
by
yoogx
Browse files
* Quickfixes for FreeRTOS
For issue
#21
parent
5a177771
Changes
3
Show whitespace changes
Inline
Side-by-side
include/po_hi_task.h
View file @
ef211dc0
...
...
@@ -5,7 +5,7 @@
*
* For more informations, please visit http://taste.tuxfamily.org/wiki
*
* Copyright (C) 2010-201
5
ESA & ISAE.
* Copyright (C) 2010-201
7
ESA & ISAE.
*/
#ifndef __PO_HI_TASK_H__
...
...
@@ -61,6 +61,13 @@
#define __PO_HI_MAIN_ARGS
#define __PO_HI_MAIN_RETURN 0
#define __ERRORMSG(s, args...) fprintf(stderr, s, ##args)
#elif defined (FREERTOS)
#define __PO_HI_MAIN_NAME main
#define __PO_HI_MAIN_TYPE int
#define __PO_HI_MAIN_ARGS int argc , char *argv[] , char **arge
#define __PO_HI_MAIN_RETURN 0
#define __ERRORMSG(s, args...) fprintf(stderr, s, ##args)
#endif
#if defined(POSIX) || defined (RTEMS_POSIX) || defined (XENO_POSIX)
...
...
@@ -98,8 +105,15 @@
#define __PO_HI_DEFAULT_PRIORITY 50
#define __PO_HI_MAX_PRIORITY 99
#define __PO_HI_MIN_PRIORITY 0
#elif defined(FREERTOS)
#include
<po_hi_time.h>
#define __PO_HI_DEFAULT_PRIORITY 50
#define __PO_HI_MAX_PRIORITY 99
#define __PO_HI_MIN_PRIORITY 0
#endif
#include
<stddef.h>
#include
<po_hi_types.h>
#include
<deployment.h>
...
...
src/po_hi_messages.c
View file @
ef211dc0
...
...
@@ -5,7 +5,7 @@
*
* For more informations, please visit http://taste.tuxfamily.org/wiki
*
* Copyright (C) 2007-2009 Telecom ParisTech, 2010-201
6
ESA & ISAE.
* Copyright (C) 2007-2009 Telecom ParisTech, 2010-201
7
ESA & ISAE.
*/
#include
<po_hi_config.h>
...
...
@@ -14,7 +14,7 @@
/* Headers from PolyORB-HI-C */
#if defined (__CYGWIN__) || defined (__MINGW32__) || defined (RTEMS_POSIX) || defined (RTEMS_PURE)
#if defined (__CYGWIN__) || defined (__MINGW32__) || defined (RTEMS_POSIX) || defined (RTEMS_PURE)
|| defined (FREERTOS)
#else
#include
<xlocale.h>
#endif
...
...
src/po_hi_storage.c
View file @
ef211dc0
...
...
@@ -8,7 +8,7 @@
* Copyright (C) 2011-2017 ESA & ISAE.
*/
#if defined (__CYGWIN__) || defined (__MINGW32__) || defined (RTEMS_POSIX) || defined (RTEMS_PURE)
#if defined (__CYGWIN__) || defined (__MINGW32__) || defined (RTEMS_POSIX) || defined (RTEMS_PURE)
|| defined (FREERTOS)
#else
#include
<xlocale.h>
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment