2015-04-28 13:45:35 -04:00
|
|
|
About this Example
|
|
|
|
==================
|
|
|
|
This directory contains the "DPP" (Dining Philosopher Problem) QP example
|
|
|
|
application for the EK-TM4C123GXL board (TivaC LauchPad). This directory
|
|
|
|
contains portable code that should compile with any C compiler for ARM
|
|
|
|
Cortex-M.
|
|
|
|
|
|
|
|
The sub-directories contain code and project files, which are
|
|
|
|
specific to the particular ARM toolchains, such as ARM (MDK-ARM),
|
|
|
|
GCC, and IAR.
|
|
|
|
|
|
|
|
Please refer to the README files in the sub-directories for specific
|
|
|
|
instructions how to use and customize the example to your needs.
|
|
|
|
|
|
|
|
|
|
|
|
Support Code for EK-TM4C123GXL Board
|
|
|
|
====================================
|
|
|
|
The directory qpc\3rd_party\ek-tm4c123gxl contains the CMSIS-
|
|
|
|
compliant device code for the TM4C123GH6PM MCU. Please see the README
|
|
|
|
file in this folder for more details.
|
|
|
|
|
|
|
|
|
|
|
|
QS Software Tracing Instrumentation
|
|
|
|
===================================
|
|
|
|
This example provides the "Spy" build configuration, which outputs
|
|
|
|
the QS (Quantum Spy) software tracing data through UART0, which is
|
|
|
|
connected to the virtual COM port of the TI Stellaris debugger.
|
|
|
|
|
|
|
|
The output is generated at 115200 baud rate.
|
|
|
|
|
|
|
|
Here is an example invocation of the QSPY host application to receive
|
|
|
|
the QS data from EK-TM4C123GXL:
|
|
|
|
|
|
|
|
qspy -cCOM1
|
|
|
|
|
|
|
|
The actual COM port number might be different on your Windows machine.
|
|
|
|
Please check the Device Manager to find the COM port number.
|
2015-06-04 22:47:13 -04:00
|
|
|
|
|
|
|
|
|
|
|
Win32 Emulations
|
|
|
|
================
|
|
|
|
The sub-directorie win32 and win32-qv provide the emulations of the example
|
|
|
|
on Windows GUI (with regular Win32 threads and with cooperative QV scheduler,
|
|
|
|
respectively. These sub-directories contain the Makefiles for the MinGW
|
|
|
|
toolset and Visual Studio solution files (game-gui.sln) for Visual C++.
|
|
|
|
|
|
|
|
The Win32 emulations use exactly the same code as the embedded board and
|
|
|
|
differ only in the Board Support Package (bsp.c). This example demonstrates
|
|
|
|
the "dual targeting" development approach, where most of the embedded code
|
|
|
|
is developed on the desktop machine (Windows), but is intended for a deeply
|
|
|
|
embedded target (EK-TM4C123GXL here).
|