seperated pwm and timer from other designs
Signed-off-by: Joshua Fife <jpfife17@gmail.com>
This commit is contained in:
parent
df33f9122d
commit
a827cf28d8
|
@ -47,7 +47,7 @@ shift
|
|||
|
||||
examples="$@"
|
||||
if [ "$fpga_family" == "xc7" -a -z "$examples" ]; then
|
||||
examples="counter picosoc litex litex_linux button_controller"
|
||||
examples="counter picosoc litex litex_linux button_controller timer pulse_width_led"
|
||||
elif [ "$fpga_family" == "eos-s3" -a -z "$examples" ]; then
|
||||
examples="counter"
|
||||
fi
|
||||
|
@ -55,7 +55,6 @@ fi
|
|||
# activate conda and enter example dir
|
||||
|
||||
snippets="docs/building-examples.rst:export-install-dir,fpga-fam-$fpga_family,conda-prep-env-$fpga_family,conda-act-env,enter-dir-$fpga_family"
|
||||
additionalDesigns="docs/building-examples.rst:export-install-dir,fpga-fam-$fpga_family,conda-prep-env-$fpga_family,conda-act-env,enter-dir-$fpga_family,additional_examples"
|
||||
|
||||
# Xilinx 7-Series examples
|
||||
if [ "$fpga_family" = "xc7" ]; then
|
||||
|
@ -78,6 +77,12 @@ if [ "$fpga_family" = "xc7" ]; then
|
|||
"button_controller")
|
||||
snippets="${additionalDesigns} xc7/additional_examples/button_controller/README.rst:example-debouncer-basys3"
|
||||
;;
|
||||
"pulse_width_led")
|
||||
snippets="${snippets} xc7/pulse_width_led/README.rst:example-pulse-arty-35t"
|
||||
;;
|
||||
"timer")
|
||||
snippets="${snippets} xc7/timer/README.rst:example-watch-basys3"
|
||||
;;
|
||||
*)
|
||||
echo "ERROR: Unknown example name: $example" >&2
|
||||
exit 1
|
||||
|
|
|
@ -91,6 +91,14 @@ Enter the directory that contains examples for Xilinx 7-Series FPGAs:
|
|||
.. jinja:: xc7_linux_litex_demo
|
||||
:file: templates/example.jinja
|
||||
|
||||
.. jinja:: xc7_timer
|
||||
:file: templates/example.jinja
|
||||
|
||||
.. jinja:: xc7_pulse_width_led
|
||||
:file: templates/example.jinja
|
||||
|
||||
|
||||
|
||||
Additional Examples
|
||||
-------------------
|
||||
|
||||
|
@ -102,6 +110,7 @@ for the basys3 board in the additional_examples directory:
|
|||
|
||||
cd additional_examples
|
||||
|
||||
|
||||
QuickLogic EOS S3
|
||||
-----------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue