QDK PIC24/dsPIC-XC16 - Quantum Leaps
QDK PIC24/dsPIC-XC16 - Quantum Leaps
QDK PIC24/dsPIC-XC16 - 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>XC16</strong><br />
www.state-machine.com/pic<br />
2 Getting Started<br />
The <strong>QDK</strong> code is distributed in a ZIP archive (qdk_pic24_dspic-xc16_.zip, where stands<br />
for a specific <strong>QDK</strong> version, such as 4.5.02). 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>XC16</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>-<strong>XC16</strong>.pdf – This <strong>QDK</strong> Manual “<strong>QDK</strong> <strong>PIC24</strong>-<strong>dsPIC</strong>-<strong>XC16</strong>”<br />
|<br />
+-ports/<br />
- QP ports<br />
| +-pic24-dspic\ - Pic24-dspic ports<br />
| | +-vanilla\ - Ports to the non-preemptive “vanilla” kernel<br />
| | | +-xc16\ - Microchip MPLABX <strong>XC16</strong> compiler<br />
| | | | +-dbg\ – Debug build<br />
| | | | | +-libqp_24FJ64GB002.a – QP library for <strong>PIC24</strong>FJ64GB002<br />
| | | | | +-libqp_33FJ128MC802.a – QP library for <strong>dsPIC</strong>33FJ128MC802<br />
| | | | +-rel\ – Release build<br />
| | | | | +-libqp_24FJ64GB002.a – QP library for <strong>PIC24</strong>FJ64GB002<br />
| | | | | +-libqp_33FJ128MC802.a – QP library for <strong>dsPIC</strong>33FJ128MC802<br />
| | | | +-spy\ – Spy build<br />
| | | | | +-libqp_24FJ64GB002.a – QP library for <strong>PIC24</strong>FJ64GB002<br />
| | | | | +-libqp_33FJ128MC802.a – QP library for <strong>dsPIC</strong>33FJ128MC802<br />
| | | | +-make_24FJ64GB002.bat – Batch to build QP for <strong>PIC24</strong>FJ64GB002<br />
| | | | +-make_33FJ128MC802.bat – Batch to build QP for <strong>dsPIC</strong>33FJ128MC802<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 />
| | | +-xc16\ - Microchip MPLABX <strong>XC16</strong> compiler<br />
| | | | +-dbg\ – Debug build<br />
| | | | | +-libqp_24FJ64GB002.a – QP library for <strong>PIC24</strong>FJ64GB002<br />
| | | | | +-libqp_33FJ128MC802.a – QP library for <strong>dsPIC</strong>33FJ128MC802<br />
| | | | +-rel\ – Release build<br />
| | | | | +-libqp_24FJ64GB002.a – QP library for <strong>PIC24</strong>FJ64GB002<br />
| | | | | +-libqp_33FJ128MC802.a – QP library for <strong>dsPIC</strong>33FJ128MC802<br />
| | | | +-spy\ – Spy build<br />
| | | | | +-libqp_24FJ64GB002.a – QP library for <strong>PIC24</strong>FJ64GB002<br />
| | | | | +-libqp_33FJ128MC802.a – QP library for <strong>dsPIC</strong>33FJ128MC802<br />
| | | | +-make_24FJ64GB002.bat – Batch to build QP for <strong>PIC24</strong>FJ64GB002<br />
| | | | +-make_33FJ128MC802.bat – Batch to build QP for <strong>dsPIC</strong>33FJ128MC802<br />
| | | | +-qep_port.h – QEP platform-dependent public include<br />
| | | | +-qf_port.h – QF platform-dependent public include<br />
Copyright © <strong>Quantum</strong> <strong>Leaps</strong>, LLC. All Rights Reserved.<br />
6 of 35