Quantum Leaps / Mbed 2 deprecated qp_lwip

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers qp_config.h Source File

qp_config.h

00001 #ifndef qp_config_h
00002 #define qp_config_h
00003 
00004 // enable the Q-SPY software tracing instrumentation
00005 #define Q_SPY
00006 
00007 // enable preemptive QK kernel (cooperative kernel is used when not defined)
00008 #define QK_PREEMPTIVE
00009 
00010 // The maximum number of active objects in the application (could be up to 63)
00011 #define QF_MAX_ACTIVE         16
00012 
00013 // Uncomment the following macros only if you want to change the given default 
00014 #define Q_SIGNAL_SIZE         1
00015 //#define QF_EVENT_SIZ_SIZE     2
00016 //#define QF_EQUEUE_CTR_SIZE    1
00017 //#define QF_MPOOL_SIZ_SIZE     2
00018 //#define QF_MPOOL_CTR_SIZE     2
00019 //#define QF_TIMEEVT_CTR_SIZE   2 
00020 
00021 #if (Q_SIGNAL_SIZE == 1)
00022     #define DEV_DRIVER_SIG  (0xFF - 8)
00023 #elif (Q_SIGNAL_SIZE == 2)
00024     #define DEV_DRIVER_SIG  (0xFFFF - 8)
00025 #elif (Q_SIGNAL_SIZE == 4)
00026     #define DEV_DRIVER_SIG  (0xFFFFFFFF - 8)
00027 #else
00028     #error "Q_SIGNAL_SIZE not defined or incorrect"
00029 #endif
00030 
00031 #endif                                                          // qp_config_h