Skip to content

Commit

Permalink
build/gowin/apicula: only append _packer_opts with known use_xxx (dro…
Browse files Browse the repository at this point in the history
…p options only required by Gowin's software)
  • Loading branch information
trabucayre committed Sep 1, 2024
1 parent 3da4700 commit babe233
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion litex/build/gowin/apicula.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def finalize(self):
# use_mspi_as_gpio and friends
for option, value in self.options.items():
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)

Expand Down

0 comments on commit babe233

Please sign in to comment.