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