CI: allow failure for `pypy-3.11`.
by whitequark 1 month 3 days
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 1 week
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
[pre-commit.ci] pre-commit autoupdate
by pre-commit-ci[bot] 1 month 2 weeks
[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.8 → v0.14.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.8...v0.14.9)
be50d7db
software: update `pdm.min.lock`.
by github-merge-queue 1 month 2 weeks
62232bab
[pre-commit.ci] pre-commit autoupdate
by pre-commit-ci[bot] 1 month 3 weeks
[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.7 → v0.14.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.7...v0.14.8)
bd902f90
hardware.assembly: HardwareOutPipe fix buffer_size...
by sazzach 1 month 4 weeks
hardware.assembly: HardwareOutPipe fix buffer_size not working when > ~2000000

Previously, when buffer_size was set, send only checked the size of
inflight requests. This meant that if buffer_size was more than
~_max_packets_per_ep * 512 (2097152), send would never stall as the
size of inflight requests cannot exceed this value.

Changed to instead consider both the size of inflight requests and
the size of the contents of the buffer.
5cdb5925
applet.audio.dac: migrate to V2 API
by sazzach 5 months 1 day
58e69335
Report a bug