Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basys3 openocd config not found #637

Open
nickoe opened this issue Feb 1, 2021 · 0 comments
Open

basys3 openocd config not found #637

nickoe opened this issue Feb 1, 2021 · 0 comments

Comments

@nickoe
Copy link

nickoe commented Feb 1, 2021

When I try to build for the basys3 platform I get a mismatch with the openocd config used.

(LX P=basys3 C=picorv32) [nickoe@x280-arch litex-buildenv]$ make gateware-load
openocd -f board/digilent_basys3.cfg -c "init; pld load 0 build/basys3_base_picorv32/gateware/basys3.bit; exit"
Open On-Chip Debugger 0.10.0+dev-01012-ged8fa09cf-dirty (2020-01-15-04:14)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
embedded:startup.tcl:26: Error: Can't find board/digilent_basys3.cfg
in procedure 'script' 
at file "embedded:startup.tcl", line 26
make: *** [targets/basys3/Makefile.mk:21: gateware-load-basys3] Error 1

Specifying -f board/digilent_arty.cfg instead of -f board/digilent_$(PLATFORM).cfg in targets/basys3/Makefile.mk works ok. I just did this because that is what is currently used for the basys3 board on the symbiflow-examples repo and doc. https://symbiflow-examples.readthedocs.io/en/latest/building-examples.htm

What would be the correct way to fix this?

I am trying to run on the basys3. I am testing litex-buildenv 690901d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant