[rtt] 02/06: Added patch to build in xenomai platform
Leopold Palomo-Avellaneda
leo at alaxarxa.net
Wed Oct 14 11:27:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
lepalom-guest pushed a commit to branch master
in repository rtt.
commit 9acf0bf2fa5f0fc7537722e3ed79b740ea73a317
Author: Leopold Palomo-Avellaneda <leopold.palomo at upc.edu>
Date: Tue Jun 30 13:26:05 2015 +0200
Added patch to build in xenomai platform
---
...1-Added-missing-defines-in-xenomai-target.patch | 24 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 25 insertions(+)
diff --git a/debian/patches/0001-Added-missing-defines-in-xenomai-target.patch b/debian/patches/0001-Added-missing-defines-in-xenomai-target.patch
new file mode 100644
index 0000000..33eb3fe
--- /dev/null
+++ b/debian/patches/0001-Added-missing-defines-in-xenomai-target.patch
@@ -0,0 +1,24 @@
+From: Leopold Palomo-Avellaneda <leopold.palomo at upc.edu>
+Date: Tue, 30 Jun 2015 13:23:24 +0200
+Subject: Added missing defines in xenomai target
+
+---
+ rtt/os/xenomai/fosi.h | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/rtt/os/xenomai/fosi.h b/rtt/os/xenomai/fosi.h
+index 61fd919..c5cd947 100644
+--- a/rtt/os/xenomai/fosi.h
++++ b/rtt/os/xenomai/fosi.h
+@@ -119,6 +119,11 @@ extern "C" {
+ #define ORO_SCHED_RT 0 /** Hard real-time */
+ #define ORO_SCHED_OTHER 1 /** Soft real-time */
+
++#define ORO_WAIT_ABS 0 /** rtos_task_wait_period may wait less than the duration required to pad the period to
++ catch-up with overrun timesteps (wait according to an absolute timeline) */
++#define ORO_WAIT_REL 1 /** rtos_task_wait_period will always pad the current timestep to the desired period,
++ regardless of previous overruns (wait according to a relative timeline) */
++
+ // hrt is in ticks
+ static inline TIME_SPEC ticks2timespec(TICK_TIME hrt)
+ {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..deeec37
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Added-missing-defines-in-xenomai-target.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/orocos/rtt.git
More information about the debian-science-commits
mailing list