mirror of
https://github.com/QuantumLeaps/qpc.git
synced 2025-01-28 07:03:10 +08:00
48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
About The QP-MSP430 Port
|
|
========================
|
|
This directory contains the QP/C port to the MSP430 processor family
|
|
with the cooperative QV kernel using the TI CCS-430 compiler.
|
|
|
|
|
|
Using the Port in CCS
|
|
=====================
|
|
To use this QP-MSP430 port in CCS, it is recommended that you build the QP
|
|
framework from sources as part of your CCS project.
|
|
|
|
The recommended procedure, as illustrated in the provided CCS example projects
|
|
in the qpc/examples/msp430/ directory, is to create a folder for QP source
|
|
and another for QP_port. To do so, right-click on your project and choose
|
|
the New->Folder option.
|
|
|
|
It is important to create the QP and QP_port folders as "Linked folders",
|
|
by expanding the "Advanced" folder option and selecting the "Linked to
|
|
alternate location (Linked Folder)" radio button.
|
|
|
|
The QP folder should be linked to qpc/source
|
|
|
|
The QP_port folder should be linked to qpc/ports/msp430/qv/ccs
|
|
|
|
Once the folders are added to your project, it is very important to exclude
|
|
several source files in the QP folder from the specific build configurations.
|
|
|
|
Here is the list of QP/C source files that need to be EXCLUDED from the
|
|
bulid configurations:
|
|
|
|
QV kernel, Debug/Release configuration excludes:
|
|
qs_*.c
|
|
qk_*.c
|
|
|
|
QV kernel, Spy configuration excludes:
|
|
qk_*.c
|
|
|
|
|
|
Finally, to build QP framework from sources, the following directories should
|
|
be present in the compiler "Include Options":
|
|
|
|
<qpc>\include
|
|
<qpc>\source
|
|
<qpc>\ports\msp430\qv\ccs
|
|
|
|
Where, <qpc> is either relative or absolute path to the QP/C framework folder
|
|
on your machine.
|