Getting Started PTB: Difference between revisions
(Created page with "== Getting Started == 1. Fetch changes from [https://git.app.uib.no/pct/wp3|wp3 upstream repo] 2. Checkout tag of your select release. See [https://git.app.uib.no/pct/wp3/-...") |
No edit summary |
||
Line 32: | Line 32: | ||
8. Generate bootloader and program flash | 8. Generate bootloader and program flash | ||
<syntaxhighlight lang="bash"> | |||
$ make gen_bootimage | |||
$ make program_flash | |||
</syntaxhighlight> | |||
9. [[Media:restart_ptb.jpg | Restart PTB]] | 9. [[Media:restart_ptb.jpg | Restart PTB]] |
Revision as of 07:56, 13 September 2019
Getting Started
1. Fetch changes from upstream repo
2. Checkout tag of your select release. See releases. This guide assumesPTB-v2.0.
$ git checkout PTB-v2.0
3. Make sure repo is clean
4. Get pre-built bitstream.
$ make get_latest_bitstream TAG=PTB-v2.0
5. Build embedded software
$ make sdk_gen_projects PRJ=PTB
6. (Optional) Open a new terminal window and start debugging stream. Shows messages from embedded system once programmed.
$ make serial
8. Generate bootloader and program flash
$ make gen_bootimage
$ make program_flash
9. Restart PTB
The serial debug window should have something like the following output: