annotate examples/10-Instruments/d-box/config.h @ 553:e545ce04cf2c prerelease

Updated Makefile to take LDFLAGS=, LDLIBS=, CFLAGS=, CPPFLAGS=
author Giulio Moro <giuliomoro@yahoo.it>
date Fri, 24 Jun 2016 17:13:45 +0100
parents 8fcfbfb32aa0
children
rev   line source
robert@464 1 /*
robert@464 2 * config.h
robert@464 3 *
robert@464 4 * Global settings for D-Box project
robert@464 5 *
robert@464 6 * Andrew McPherson and Victor Zappi 2014
robert@464 7 */
robert@464 8
robert@464 9
robert@464 10 #ifndef DBOX_CONFIG_H_
robert@464 11 #define DBOX_CONFIG_H_
robert@464 12
robert@464 13
robert@464 14 /* Number of maximum touches used by the TouchKey sensors */
robert@464 15 #define MAX_TOUCHES 5
robert@464 16
robert@464 17 // for sensor 1 filter
robert@464 18 #define EXP_DENOM 53.5981500331 // exp(4)-1
robert@464 19
robert@464 20 /* Define this to use Xenomai real-time extensions */
robert@464 21 #define DBOX_USE_XENOMAI
robert@464 22 //#define OLD_OSCBANK
robert@464 23
robert@464 24 #ifdef DBOX_USE_XENOMAI
robert@464 25 // Xenomai-specific includes
robert@464 26 #include <sys/mman.h>
robert@464 27
robert@464 28 #include <native/task.h>
robert@464 29 #include <native/timer.h>
robert@464 30 #include <rtdk.h>
robert@464 31 #endif
robert@464 32
robert@464 33 #ifdef DBOX_USE_XENOMAI
robert@464 34
robert@464 35 #define dbox_printf rt_printf
robert@464 36
robert@464 37 #else
robert@464 38
robert@464 39 #define dbox_printf printf
robert@464 40
robert@464 41 #endif
robert@464 42
robert@464 43 #endif /* DBOX_CONFIG_H */