Hi,
I'd like to try your implementation on real hardware.
Maybe I lost something but I'm having difficulty to build the firmware.
I have latest Litex on my machine (Ubuntu 20.04 python 3.8.10).
once cloned the branch "envoders" from your repository in my home directory
then
Code:
cd LiteX-CNC/
python3 -m firmware examples/5a-75e-hello-gpio.json
It fails with this message:
Code:
File "/home/fabio/LiteX-CNC/firmware/soc.py", line 86, in __init__
super().__init__(config)
File "/home/fabio/LiteX-CNC/firmware/boards/colorlight.py", line 66, in __init__
super().__init__("5a-75b", "6.0", config, sys_clk_freq)
File "/home/fabio/litex/litex/litex/soc/integration/soc_core.py", line 386, in __init__
SoCCore.__init__(self, *args, **kwargs)
File "/home/fabio/litex/litex/litex/soc/integration/soc_core.py", line 121, in __init__
LiteXSoC.__init__(self, platform, clk_freq,
File "/home/fabio/litex/litex/litex/soc/integration/soc.py", line 747, in __init__
self.logger.info("FPGA device : {}.".format(platform.device))
AttributeError: 'str' object has no attribute 'device'
So I'm making some mistake, what is the supposed way to build the firmware?
Thanks.