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

Add support to Colorlight 5a-75e #380

Open
roby2014 opened this issue Apr 3, 2024 · 0 comments
Open

Add support to Colorlight 5a-75e #380

roby2014 opened this issue Apr 3, 2024 · 0 comments

Comments

@roby2014
Copy link

roby2014 commented Apr 3, 2024

Hello. Could someone point me to the right direction when adding support for a new board :)
make.py:

class Colorlight_5a_75e(Board):
    def __init__(self):
        from litex_boards.targets import colorlight_5a_75x
        Board.__init__(self, colorlight_5a_75x.BaseSoC("5a-75e", "6.0"), soc_capabilities={
            # Communication
        })

./make.py --board=colorlight_5a_75e --cpu-count=1 --build:

Traceback (most recent call last):
  File "/home/roby/repos/linux-on-litex-vexriscv/./make.py", line 998, in <module>
    main()
  File "/home/roby/repos/linux-on-litex-vexriscv/./make.py", line 866, in main
    board = supported_boards[board_name]()
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/roby/repos/linux-on-litex-vexriscv/./make.py", line 538, in __init__
    Board.__init__(self, colorlight_5a_75x.BaseSoC("5a-75e", "6.0"), soc_capabilities={
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/roby/litex/litex-boards/litex_boards/targets/colorlight_5a_75x.py", line 145, in __init__
    with_rst     = kwargs["uart_name"] not in ["serial", "crossover"] # serial_rx shared with user_btn_n.
                   ~~~~~~^^^^^^^^^^^^^
KeyError: 'uart_name'
(.venv) [roby@thonkpad linux-on-litex-vexriscv]$ 
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