17.01.2015 Views

QDK PIC24/dsPIC-XC16 - Quantum Leaps

QDK PIC24/dsPIC-XC16 - Quantum Leaps

QDK PIC24/dsPIC-XC16 - Quantum Leaps

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>QDK</strong><br />

<strong>PIC24</strong>/<strong>dsPIC</strong>-<strong>XC16</strong><br />

www.state-machine.com/pic<br />

-b38400 specifies the baud rate (depends on the oscillator frequency of your board, see Section 7)<br />

-O2 specifies the size of an object pointer to 2 bytes<br />

-F2 specifies the size of a function pointer to 2 bytes.<br />

-E1 specifies the size of an event to 1 byte (an event may have up to 255 bytes).<br />

-Q1 specifies the size of a memory queue counter to 1 byte (a event queue can fit up to 255 events).<br />

-P1 specifies the size of a memory pool counter to 1 byte (a memory pool can manage up to 255 memory<br />

blocks).<br />

-B1 specifies the size of a memory block to 1 byte (a memory pool can manage block up to 255 bytes).<br />

Figure 7: QSpy output from the spy build configuration of the DPP example<br />

Copyright © <strong>Quantum</strong> <strong>Leaps</strong>, LLC. All Rights Reserved.<br />

11 of 35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!