Simple "Blinky" example for the QP active object framework
Fork of qp_dpp by
qp_config.h@6:88e2e4d0b573, 2012-09-05 (annotated)
- Committer:
- QL
- Date:
- Wed Sep 05 14:03:05 2012 +0000
- Revision:
- 6:88e2e4d0b573
- Parent:
- 5:15aad9bccbbd
Added the new option QF_MAX_EPOOL to qp_config.h
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
QL | 6:88e2e4d0b573 | 1 | ////////////////////////////////////////////////////////////////////////////// |
QL | 6:88e2e4d0b573 | 2 | // Product: QP-mbed configuration file |
QL | 6:88e2e4d0b573 | 3 | // Last Updated for Version: 4.5.02 |
QL | 6:88e2e4d0b573 | 4 | // Date of the Last Update: Sep 04, 2012 |
QL | 6:88e2e4d0b573 | 5 | // |
QL | 6:88e2e4d0b573 | 6 | // Q u a n t u m L e a P s |
QL | 6:88e2e4d0b573 | 7 | // --------------------------- |
QL | 6:88e2e4d0b573 | 8 | // innovating embedded systems |
QL | 6:88e2e4d0b573 | 9 | // |
QL | 6:88e2e4d0b573 | 10 | // Copyright (C) 2002-2012 Quantum Leaps, LLC. All rights reserved. |
QL | 6:88e2e4d0b573 | 11 | // |
QL | 6:88e2e4d0b573 | 12 | // This program is open source software: you can redistribute it and/or |
QL | 6:88e2e4d0b573 | 13 | // modify it under the terms of the GNU General Public License as published |
QL | 6:88e2e4d0b573 | 14 | // by the Free Software Foundation, either version 2 of the License, or |
QL | 6:88e2e4d0b573 | 15 | // (at your option) any later version. |
QL | 6:88e2e4d0b573 | 16 | // |
QL | 6:88e2e4d0b573 | 17 | // Alternatively, this program may be distributed and modified under the |
QL | 6:88e2e4d0b573 | 18 | // terms of Quantum Leaps commercial licenses, which expressly supersede |
QL | 6:88e2e4d0b573 | 19 | // the GNU General Public License and are specifically designed for |
QL | 6:88e2e4d0b573 | 20 | // licensees interested in retaining the proprietary status of their code. |
QL | 6:88e2e4d0b573 | 21 | // |
QL | 6:88e2e4d0b573 | 22 | // This program is distributed in the hope that it will be useful, |
QL | 6:88e2e4d0b573 | 23 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
QL | 6:88e2e4d0b573 | 24 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
QL | 6:88e2e4d0b573 | 25 | // GNU General Public License for more details. |
QL | 6:88e2e4d0b573 | 26 | // |
QL | 6:88e2e4d0b573 | 27 | // You should have received a copy of the GNU General Public License |
QL | 6:88e2e4d0b573 | 28 | // along with this program. If not, see <http://www.gnu.org/licenses/>. |
QL | 6:88e2e4d0b573 | 29 | // |
QL | 6:88e2e4d0b573 | 30 | // Contact information: |
QL | 6:88e2e4d0b573 | 31 | // Quantum Leaps Web sites: http://www.quantum-leaps.com |
QL | 6:88e2e4d0b573 | 32 | // http://www.state-machine.com |
QL | 6:88e2e4d0b573 | 33 | // e-mail: info@quantum-leaps.com |
QL | 6:88e2e4d0b573 | 34 | ////////////////////////////////////////////////////////////////////////////// |
QL | 6:88e2e4d0b573 | 35 | #ifndef qp_config_h |
QL | 6:88e2e4d0b573 | 36 | #define qp_config_h |
QL | 6:88e2e4d0b573 | 37 | |
QL | 6:88e2e4d0b573 | 38 | // enable the Q-SPY software tracing instrumentation |
QL | 6:88e2e4d0b573 | 39 | //#define Q_SPY |
QL | 6:88e2e4d0b573 | 40 | |
QL | 6:88e2e4d0b573 | 41 | // enable preemptive QK kernel |
QL | 6:88e2e4d0b573 | 42 | #define QK_PREEMPTIVE |
QL | 6:88e2e4d0b573 | 43 | |
QL | 6:88e2e4d0b573 | 44 | // The maximum number of active objects in the application (could be up to 63) |
QL | 6:88e2e4d0b573 | 45 | #define QF_MAX_ACTIVE 16 |
QL | 6:88e2e4d0b573 | 46 | |
QL | 6:88e2e4d0b573 | 47 | // Uncomment the following macros only if you want to change the given default |
QL | 6:88e2e4d0b573 | 48 | //#define Q_EVT_CTOR 1 |
QL | 6:88e2e4d0b573 | 49 | //#define Q_SIGNAL_SIZE 2 |
QL | 6:88e2e4d0b573 | 50 | //#define QF_MAX_EPOOL 3 |
QL | 6:88e2e4d0b573 | 51 | //#define QF_MAX_EPOOL 3 |
QL | 6:88e2e4d0b573 | 52 | //#define QF_EVENT_SIZ_SIZE 2 |
QL | 6:88e2e4d0b573 | 53 | //#define QF_EQUEUE_CTR_SIZE 1 |
QL | 6:88e2e4d0b573 | 54 | //#define QF_MPOOL_SIZ_SIZE 2 |
QL | 6:88e2e4d0b573 | 55 | //#define QF_MPOOL_CTR_SIZE 2 |
QL | 6:88e2e4d0b573 | 56 | //#define QF_TIMEEVT_CTR_SIZE 2 |
QL | 6:88e2e4d0b573 | 57 | |
QL | 6:88e2e4d0b573 | 58 | #endif // qp_config_h |