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

Resource not found: serial:None while building with picorv32 #42

Open
rhit-painteza opened this issue Sep 19, 2022 · 0 comments
Open

Resource not found: serial:None while building with picorv32 #42

rhit-painteza opened this issue Sep 19, 2022 · 0 comments
Labels
error Something isn't working

Comments

@rhit-painteza
Copy link

Switching from cpu=vexriscv to cpu=picorv32 causes the following issue while building:

Resource not found: serial:None

Trace:

Traceback (most recent call last):
  File "(Redacted)/caravel_mgmt_soc_litex/litex/caravel.py", line 334, in <module>
    main()
  File "(Redacted)/caravel_mgmt_soc_litex/litex/caravel.py", line 321, in main
    soc     = MGMTSoC()
  File "/(Redacted)/caravel_mgmt_soc_litex/litex/caravel.py", line 219, in __init__
    uart_ports = platform.request("serial")
  File "/home/(Redacted)/.local/lib/python3.10/site-packages/litex/build/generic_platform.py", line 342, in request
    return self.constraint_manager.request(*args, **kwargs)
  File "/home/(Redacted)/.local/lib/python3.10/site-packages/litex/build/generic_platform.py", line 209, in request
    resource = _lookup(self.available, name, number, loose)
  File "/home/(Redacted)/.local/lib/python3.10/site-packages/litex/build/generic_platform.py", line 99, in _lookup
    raise ConstraintError("Resource not found: {}:{}".format(name, number))
litex.build.generic_platform.ConstraintError: Resource not found: serial:None
make: *** [Makefile:20: mgmt_soc] Error 1
@RTimothyEdwards RTimothyEdwards added the error Something isn't working label Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants