[pre-commit.ci] software: automatic code style fix...
by pre-commit-ci[bot] 2 weeks 6 days
[pre-commit.ci] software: automatic code style fixes.

For more information, see https://pre-commit.ci.
5d8876e4
protocol.bsdl: handle IDCODE values with don't-car...
by PoroCYon 2 weeks 6 days
protocol.bsdl: handle IDCODE values with don't-care bits
83056c21
[pre-commit.ci] pre-commit autoupdate
by pre-commit-ci[bot] 3 weeks 1 day
[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.10 → v0.14.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.10...v0.14.11)
a7e12be5
software: update `pdm.min.lock`.
by github-merge-queue 1 month 3 days
f1e5d532
protocol.bsdl: save optional IDCODE value in BSDLD...
by PoroCYon 1 month 1 week
protocol.bsdl: save optional IDCODE value in BSDLDevice
aa05b7f4
CI: allow failure for `pypy-3.11`.
by whitequark 1 month 1 week
CI: allow failure for `pypy-3.11`.

Caused by https://github.com/pdm-project/pdm/issues/3706.
b2710c19
software: update `pdm.min.lock`.
by github-merge-queue 1 month 1 week
ccee116d
[pre-commit.ci] pre-commit autoupdate
by pre-commit-ci[bot] 1 month 1 week
[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.9 → v0.14.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.9...v0.14.10)
69088016
software: update `pdm.min.lock`.
by github-merge-queue 1 month 1 week
53e01511
applet.interface.spi_flashrom: Allow empty reads
by Matt Johnston 1 month 2 weeks
applet.interface.spi_flashrom: Allow empty reads

Running flashrom with --layout can result in zero length reads, which
would otherwise hit an assertion. Just return an empty buffer.

flashrom -p serprog:ip=localhost:7788 -c MT25QU01G --read dump1.bin --layout /path/to/file.layout --include part3

| Traceback (most recent call last):
| File "glasgow/software/glasgow/cli.py", line 797, in applet_task
| await applet.run(applet_parsed_args)
| File "glasgow/software/glasgow/applet/bridge/spi_flashrom/__init__.py", line 158, in run
| await SerprogCommandHandler(self.logger, self.spi_iface, endpoint).handle_cmd()
| File "glasgow/software/glasgow/applet/bridge/spi_flashrom/__init__.py", line 91, in handle_cmd
| rdata = await self.spi_iface.read(rlen)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "glasgow/software/glasgow/applet/interface/spi_controller/__init__.py", line 215, in read
| octets = await self._pipe.recv(count)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "glasgow/software/glasgow/hardware/assembly.py", line 175, in recv
| assert length > 0
| ^^^^^^^^^^
| AssertionError
49973e45
Report a bug