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
|
@ -60,6 +60,8 @@ class GowinApiculaToolchain(YosysNextPNRToolchain):
|
|||
# use_mspi_as_gpio and friends
|
||||
for option, value in self.options.items():
|
||||
if option.startswith("use_") and value:
|
||||
# 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)
|
||||
|
|
Loading…
Reference in New Issue