I tried to compile the gateware for the FPGA, but I got this error:
sudo apt-get install wget
sudo apt-get install python3-pip
wget
raw.githubusercontent.com/enjoy-digital/...aster/litex_setup.py
pip3 install --user meson ninja
python3 litex_setup.py --init --install --config=standard --gcc=riscv
wget
github.com/YosysHQ/oss-cad-suite-build/r...nux-x64-20220920.tgz
tar -xvf oss-cad-suite-linux-x64-20220920.tgz
mkdir -p ~/bin
ln -s ~/LiteX/oss-cad-suite/bin/* ~/bin/
#start a new bash, so ~/bin is added to the PATH
bash --login
echo $PATH
/home/cedric/.local/bin:/home/cedric/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
#return to the LiteX-CNC repository
cd ~/LiteX-CNC/
python -m firmware examples/5a-75e.json
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
mod_name, _Error)
File "/usr/lib/python2.7/runpy.py", line 111, in _get_module_details
__import__(mod_name) # Do not catch exceptions initializing package
File "firmware/__init__.py", line 20, in <module>
from .soc import LitexCNC_Firmware
File "firmware/soc.py", line 32
baseclass: Type = Field(
^
SyntaxError: invalid syntax