mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
build/gowin/apicula: only append _packer_opts with known use_xxx (drop options only required by Gowin's software)
This commit is contained in:
parent
3da470048a
commit
babe233407
1 changed files with 3 additions and 1 deletions
|
@ -60,7 +60,9 @@ class GowinApiculaToolchain(YosysNextPNRToolchain):
|
||||||
# use_mspi_as_gpio and friends
|
# use_mspi_as_gpio and friends
|
||||||
for option, value in self.options.items():
|
for option, value in self.options.items():
|
||||||
if option.startswith("use_") and value:
|
if option.startswith("use_") and value:
|
||||||
self._packer_opts += " --" + option[4:]
|
# Not all options are supported and may be just Gowin's software check
|
||||||
|
if option not in ["use_mode_as_gpio"]:
|
||||||
|
self._packer_opts += " --" + option[4:]
|
||||||
|
|
||||||
YosysNextPNRToolchain.finalize(self)
|
YosysNextPNRToolchain.finalize(self)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue