|
|
3 years ago | |
|---|---|---|
| .. | ||
| src | 2 years ago | |
| CMakeLists.txt | 2 years ago | |
| README.md | 2 years ago | |
| dpp.qm | 2 years ago | |
| prj.conf | 2 years ago | |
Dining Philosophers Problem (DPP) example with multiple active objects.
Open a terminal in the directory of this example (qpc/examples/zephry/dpp).
Depending on your Zephyr installation, you might need to shell the script to configure Zephyr environment:
source ~/zephyrproject/zephyr/zephyr-env.sh
To build the example, type:
west build -b <board>
where <board> is one of the
boards supported by Zephyr.
The dpp example has been tested with the following boards.
Specific example for the nucleo_h743zi board:
west build -b nucleo_h743zi
The QP/Spy software tracing
is supported in this example and can be enabled by providing the command-line
option -DQSPY=ON to the build process:
Specific example
west build -b nucleo_h743zi -- -DQSPY=ON
NOTE: The QP/Spy software tracing uses the Zephyr's console UART. This means that the Zephyr
printk()facility cannot be used while QP/Spy is configured.
To flush the board, type:
west flush