From bfdeafec7a7ab09985fd9d2010b449386d0717b8 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Tue, 28 Jun 2022 14:50:59 +0200 Subject: [PATCH] xc7: use openFPGALoader instead of openocd Signed-off-by: Unai Martinez-Corral --- xc7/additional_examples/button_controller/README.rst | 2 +- xc7/environment.yml | 2 +- xc7/litex_demo/README.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xc7/additional_examples/button_controller/README.rst b/xc7/additional_examples/button_controller/README.rst index 92ede59..5948ae5 100644 --- a/xc7/additional_examples/button_controller/README.rst +++ b/xc7/additional_examples/button_controller/README.rst @@ -30,7 +30,7 @@ Now, you can upload the design with: .. code-block:: bash - openocd -f ${F4PGA_INSTALL_DIR}/${FPGA_FAM}/conda/envs/${FPGA_FAM}/share/openocd/scripts/board/digilent_arty.cfg -c "init; pld load 0 top.bit; exit" + openFPGALoader -b basys3 top.bit The following is an example of the debouncer in action: diff --git a/xc7/environment.yml b/xc7/environment.yml index 4f63dda..8409c84 100644 --- a/xc7/environment.yml +++ b/xc7/environment.yml @@ -2,7 +2,7 @@ name: xc7 channels: - litex-hub dependencies: - - litex-hub::openocd=0.10.0_1514_ga8edbd020=20201119_154304 + - litex-hub::openfpgaloader==0.7.0_5_g796483f=20220104_201921 - litex-hub::prjxray-tools=0.1_2986_g5937733d=20220512_085338 - litex-hub::gcc-riscv64-elf-newlib=9.2.0=20201119_154229 - litex-hub::prjxray-db=0.0_257_g0a0adde=20220512_085338 diff --git a/xc7/litex_demo/README.rst b/xc7/litex_demo/README.rst index 92ec3a4..c7ea8a1 100644 --- a/xc7/litex_demo/README.rst +++ b/xc7/litex_demo/README.rst @@ -52,7 +52,7 @@ Now you can upload the design with: .. code-block:: bash - openocd -f ${F4PGA_INSTALL_DIR}/${FPGA_FAM}/conda/envs/${FPGA_FAM}/share/openocd/scripts/board/digilent_arty.cfg -c "init; pld load 0 top.bit; exit" + openFPGALoader -b arty_a7_100t top.bit .. note::