QDK PIC24/dsPIC-C30 - Quantum Leaps
QDK PIC24/dsPIC-C30 - Quantum Leaps
QDK PIC24/dsPIC-C30 - Quantum Leaps
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>QDK</strong><br />
<strong>PIC24</strong>/<strong>dsPIC</strong>-<strong>C30</strong><br />
www.state-machine.com/pic<br />
2 Getting Started<br />
This section describes how to install, build, and use <strong>QDK</strong>-<strong>PIC24</strong>/<strong>dsPIC</strong>-<strong>C30</strong>.<br />
2.1 Software Installation<br />
The <strong>QDK</strong> code is distributed in a ZIP archive (qdk_pic24_dspic-c30_.zip, where stands<br />
for a specific <strong>QDK</strong> version, such as 4.0.04). You can uncompress the archive into any directory. The<br />
installation directory you choose will be referred henceforth as . The following Listing 1 shows the<br />
directory structure and selected files included in the QP distribution. (Please note that the QP directory<br />
structure is described in detail in a separate <strong>Quantum</strong> <strong>Leaps</strong> Application Note: “QP Directory Structure”).<br />
NOTE: Every <strong>QDK</strong> contains only the QP port and example(s) pertaining to the specific MCU and<br />
compiler, but does not include the platform-independent baseline code of QP, which is available for a<br />
separate download from www.state-machine.com/downloads/.<br />
Listing 1: Selected QP directories and files after installing <strong>QDK</strong>-<strong>PIC24</strong>-<strong>dsPIC</strong>-<strong>C30</strong><br />
/<br />
- QP Root Directory<br />
+-doc\<br />
| +-AN_DPP.pdf - Application Note “Dining Philosopher Problem Example”<br />
| +-<strong>QDK</strong>_<strong>PIC24</strong>-<strong>dsPIC</strong>.pdf – This <strong>QDK</strong> Manual “<strong>QDK</strong> <strong>PIC24</strong>-<strong>dsPIC</strong>-<strong>C30</strong>”<br />
|<br />
+-ports/<br />
- QP ports<br />
| +-pic24-dspic\ - Pic24-dspic ports<br />
| | +-vanilla\ - Ports to the non-preemptive “vanilla” kernel<br />
| | | +-mplab-c30\ - Microchip MPLAB <strong>C30</strong> compiler<br />
| | | | +-dbg\ – Debug build<br />
| | | | | +-libqp_24FJ128GA010.a – QP library for <strong>PIC24</strong>FJ128GA010<br />
| | | | | +-libqp_33FJ256GP710.a – QP library for <strong>dsPIC</strong>33FJ256GP710<br />
| | | | +-rel\ – Release build<br />
| | | | | +-libqp_24FJ128GA010.a – QP library for <strong>PIC24</strong>FJ128GA010<br />
| | | | | +-libqp_33FJ256GP710.a – QP library for <strong>dsPIC</strong>33FJ256GP710<br />
| | | | +-spy\ – Spy build<br />
| | | | | +-libqp_24FJ128GA010.a – QP library for <strong>PIC24</strong>FJ128GA010<br />
| | | | | +-libqp_33FJ256GP710.a – QP library for <strong>dsPIC</strong>33FJ256GP710<br />
| | | | +-make_24FJ128GA010.bat – Batch to build QP for <strong>PIC24</strong>FJ128GA010<br />
| | | | +-make_33FJ256GP710.bat – Batch to build QP for <strong>dsPIC</strong>33FJ256GP710<br />
| | | | +-qep_port.h – QEP platform-dependent public include<br />
| | | | +-qf_port.h – QF platform-dependent public include<br />
| | | | +-qs_port.h – QS platform-dependent public include<br />
| | |<br />
| | +-qk\ - QK (<strong>Quantum</strong> Kernel) ports<br />
| | | +-mplab-c30\ - Microchip MPLAB <strong>C30</strong> compiler<br />
| | | | +-dbg\ – Debug build<br />
| | | | | +-libqp_24FJ128GA010.a – QP library for <strong>PIC24</strong>FJ128GA010<br />
| | | | | +-libqp_33FJ256GP710.a – QP library for <strong>dsPIC</strong>33FJ256GP710<br />
| | | | +-rel\ – Release build<br />
| | | | | +-libqp_24FJ128GA010.a – QP library for <strong>PIC24</strong>FJ128GA010<br />
| | | | | +-libqp_33FJ256GP710.a – QP library for <strong>dsPIC</strong>33FJ256GP710<br />
| | | | +-spy\ – Spy build<br />
| | | | | +-libqp_24FJ128GA010.a – QP library for <strong>PIC24</strong>FJ128GA010<br />
Copyright © <strong>Quantum</strong> <strong>Leaps</strong>, LLC. All Rights Reserved.<br />
5 of 35