This shows you the differences between two versions of the page.
|
start [2023/01/02 18:22] scott [Project Setup] |
start [2023/01/10 01:39] (current) scott [Project Setup] |
||
|---|---|---|---|
| Line 42: | Line 42: | ||
| ===== Project Setup ===== | ===== Project Setup ===== | ||
| - | Download this archive file and extract it into your home directory (or another project directory if you prefer). After extracting it, you will have a new directory called ecen390. The command to extract the archive is: | + | Download this archive file ({{:ecen390.tgz|ecen390.tgz}}) and extract it into your home directory (or another project directory if you prefer). After extracting it, you will have a new directory called ecen390. The command to extract the archive is: |
| <code> | <code> | ||
| Line 48: | Line 48: | ||
| </code> | </code> | ||
| - | The ecen390 project directory contains everything necessary to work on the lasertag system. <del>After extracting the project directory, make sure you run "make setup" from within the top-level directory. This will install the necessary programming tools for the ZYBO board.</del> | + | The ecen390 project directory contains everything necessary to work on the lasertag system. To setup the CMake build system, type the following commands: |
| + | |||
| + | <code> | ||
| + | cd ecen390/build | ||
| + | cmake .. | ||
| + | </code> | ||
| + | |||
| + | To build your project, type ''make'' from the ecen390/build directory: | ||
| + | |||
| + | <code> | ||
| + | make | ||
| + | </code> | ||
| + | |||
| + | To download and run your project on the ZYBO board, type the following from the ecen390/build directory: | ||
| + | |||
| + | <code> | ||
| + | make run | ||
| + | </code> | ||
| ---- | ---- | ||